diff --git a/components/footer.tsx b/components/footer.tsx index fb4cc21..4986754 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -15,44 +15,26 @@ interface FooterConfig { social?: SocialItem[]; } -interface MetaConfig { - title: string; - description: string; - baseURL: string; - favicon: string; -} - -interface DocuConfig { - footer: FooterConfig; - meta: MetaConfig; - navbar: any; - repository: any; - routes: any[]; -} - // Type assertion for docu.json -const docuConfig = docuData as DocuConfig; +const docuConfig = docuData as { + footer: FooterConfig; +}; export function Footer() { const { footer } = docuConfig; - const { meta } = docuConfig; return ( -