fix(new-design): Migrate Link to NextJS 13
This commit is contained in:
parent
20e0b8a675
commit
dfd404108d
2 changed files with 10 additions and 9 deletions
|
@ -103,10 +103,13 @@ const Footer = ({ app }) => {
|
||||||
{/* Social icons */}
|
{/* Social icons */}
|
||||||
<div className="w-full sm:w-auto flex flex-row flex-wrap gap-4 lg:gap-8 items-center justify-center">
|
<div className="w-full sm:w-auto flex flex-row flex-wrap gap-4 lg:gap-8 items-center justify-center">
|
||||||
{Object.keys(social).map((item) => (
|
{Object.keys(social).map((item) => (
|
||||||
<Link key={item} href={social[item].href}>
|
<Link
|
||||||
<a className="hover:text-secondary hover:-mt-2 transition-all" title={item}>
|
key={item}
|
||||||
{social[item].icon}
|
href={social[item].href}
|
||||||
</a>
|
className="hover:text-secondary hover:-mt-2 transition-all"
|
||||||
|
title={item}
|
||||||
|
>
|
||||||
|
{social[item].icon}
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -66,11 +66,9 @@ const Header = ({ app }) => {
|
||||||
<DocsIcon />
|
<DocsIcon />
|
||||||
<span className="ml-2">{t('docs')}</span>
|
<span className="ml-2">{t('docs')}</span>
|
||||||
</a>
|
</a>
|
||||||
<Link href="/support">
|
<Link href="/support" role="button" className={btnClasses}>
|
||||||
<a role="button" className={btnClasses}>
|
<HelpIcon />
|
||||||
<HelpIcon />
|
<span className="ml-2">{t('support')}</span>
|
||||||
<span className="ml-2">{t('support')}</span>
|
|
||||||
</a>
|
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue