From 97308b33c2fc65af1d2960c2ee8a7f449ddbf920 Mon Sep 17 00:00:00 2001 From: Wildan Nursahidan <> Date: Mon, 26 May 2025 18:41:47 +0700 Subject: [PATCH] edit komponen leftbar & footer --- components/footer.tsx | 42 ++++++++++++------------------------------ components/leftbar.tsx | 3 --- 2 files changed, 12 insertions(+), 33 deletions(-) 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 ( -