refactor(footer, header): remove unused components and clean up code
This commit is contained in:
@@ -8,7 +8,7 @@ export function SiteFooter() {
|
|||||||
return (
|
return (
|
||||||
<Footer
|
<Footer
|
||||||
logo={<AppLogo className="w-[85px] md:w-[95px]" />}
|
logo={<AppLogo className="w-[85px] md:w-[95px]" />}
|
||||||
description={<Trans i18nKey="marketing:footerDescription" />}
|
description=""
|
||||||
copyright={
|
copyright={
|
||||||
<Trans
|
<Trans
|
||||||
i18nKey="marketing:copyright"
|
i18nKey="marketing:copyright"
|
||||||
@@ -19,22 +19,6 @@ export function SiteFooter() {
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
sections={[
|
sections={[
|
||||||
{
|
|
||||||
heading: <Trans i18nKey="marketing:about" />,
|
|
||||||
links: [
|
|
||||||
{ href: '/blog', label: <Trans i18nKey="marketing:blog" /> },
|
|
||||||
{ href: '/contact', label: <Trans i18nKey="marketing:contact" /> },
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
heading: <Trans i18nKey="marketing:product" />,
|
|
||||||
links: [
|
|
||||||
{
|
|
||||||
href: '/docs',
|
|
||||||
label: <Trans i18nKey="marketing:documentation" />,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
heading: <Trans i18nKey="marketing:legal" />,
|
heading: <Trans i18nKey="marketing:legal" />,
|
||||||
links: [
|
links: [
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { Header } from '@kit/ui/marketing';
|
|||||||
import { AppLogo } from '~/components/app-logo';
|
import { AppLogo } from '~/components/app-logo';
|
||||||
|
|
||||||
import { SiteHeaderAccountSection } from './site-header-account-section';
|
import { SiteHeaderAccountSection } from './site-header-account-section';
|
||||||
import { SiteNavigation } from './site-navigation';
|
|
||||||
|
|
||||||
export function SiteHeader({
|
export function SiteHeader({
|
||||||
accounts,
|
accounts,
|
||||||
@@ -15,7 +14,6 @@ export function SiteHeader({
|
|||||||
return (
|
return (
|
||||||
<Header
|
<Header
|
||||||
logo={<AppLogo />}
|
logo={<AppLogo />}
|
||||||
navigation={<SiteNavigation />}
|
|
||||||
actions={<SiteHeaderAccountSection accounts={accounts} />}
|
actions={<SiteHeaderAccountSection accounts={accounts} />}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ function MainCallToActionButton() {
|
|||||||
</CtaButton>
|
</CtaButton>
|
||||||
|
|
||||||
<CtaButton variant={'link'}>
|
<CtaButton variant={'link'}>
|
||||||
<Link href={'/company-offer'}>
|
<Link href="/company-offer">
|
||||||
<Trans i18nKey={'account:createCompanyAccount'} />
|
<Trans i18nKey="account:createCompanyAccount" />
|
||||||
</Link>
|
</Link>
|
||||||
</CtaButton>
|
</CtaButton>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user