RC-7: update layout2

This commit is contained in:
2023-08-06 15:27:51 +01:00
parent 3c3ec7da11
commit 120ad1b4f7
5 changed files with 45 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import { Link } from 'react-router-dom';
import linksConfigLayout2 from './linksLayout2Config';
import NavLinks from './NavLinks';
function FooterLayout2() {
const { t } = useTranslation('layout2');
@@ -35,14 +35,8 @@ function FooterLayout2() {
</a>
</li>
</ul>
<ul className="flex flex-col gap-16 mt-96">
{linksConfigLayout2.map((path) => (
<li key={path}>
<Link className="text-lg leading-5 text-white no-underline" to={`/${path}`}>
{t(path)}
</Link>
</li>
))}
<ul className="flex flex-col gap-16 mt-[61px]">
<NavLinks className="text-lg leading-5 text-white no-underline" />
</ul>
</div>
</footer>