diff --git a/src/Footer/Component.tsx b/src/Footer/Component.tsx index ea9e725..0dcab5f 100644 --- a/src/Footer/Component.tsx +++ b/src/Footer/Component.tsx @@ -1,29 +1,29 @@ import { getCachedGlobal } from '@/utilities/getGlobals' -import Link from 'next/link' import React from 'react' import { CMSLink } from '@/components/Link' export async function Footer() { const footerData = await getCachedGlobal('footer', 1)() - const navItems = footerData?.navItems || [] return ( - ) -} \ No newline at end of file +} diff --git a/src/Header/Component.client.tsx b/src/Header/Component.client.tsx index 6a3403d..7c0e16c 100644 --- a/src/Header/Component.client.tsx +++ b/src/Header/Component.client.tsx @@ -19,15 +19,14 @@ function ToggleButton() { return ( - {isDark ? '☀ Light' : '☾ Dark'} + {isDark ? ( + + ) : ( + + )} ) } @@ -48,15 +47,22 @@ export const HeaderClient: React.FC = ({ data }) => { }, [headerTheme]) return ( - - - - + + + + - - - - + + + + + + + + )