refactor(footer, header): remove unused components and clean up code

This commit is contained in:
Danel Kungla
2025-08-21 21:30:29 +03:00
parent 8dfa0e5f4a
commit 6f67a21cc1
3 changed files with 3 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ export function SiteFooter() {
return (
<Footer
logo={<AppLogo className="w-[85px] md:w-[95px]" />}
description={<Trans i18nKey="marketing:footerDescription" />}
description=""
copyright={
<Trans
i18nKey="marketing:copyright"
@@ -19,22 +19,6 @@ export function SiteFooter() {
/>
}
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" />,
links: [

View File

@@ -5,7 +5,6 @@ import { Header } from '@kit/ui/marketing';
import { AppLogo } from '~/components/app-logo';
import { SiteHeaderAccountSection } from './site-header-account-section';
import { SiteNavigation } from './site-navigation';
export function SiteHeader({
accounts,
@@ -15,7 +14,6 @@ export function SiteHeader({
return (
<Header
logo={<AppLogo />}
navigation={<SiteNavigation />}
actions={<SiteHeaderAccountSection accounts={accounts} />}
/>
);

View File

@@ -49,8 +49,8 @@ function MainCallToActionButton() {
</CtaButton>
<CtaButton variant={'link'}>
<Link href={'/company-offer'}>
<Trans i18nKey={'account:createCompanyAccount'} />
<Link href="/company-offer">
<Trans i18nKey="account:createCompanyAccount" />
</Link>
</CtaButton>
</div>