-
-
+
+
{SITE_NAME}
diff --git a/components/layout/navbar/index.tsx b/components/layout/navbar/index.tsx
index f7d2f6af9..50c87917c 100644
--- a/components/layout/navbar/index.tsx
+++ b/components/layout/navbar/index.tsx
@@ -10,7 +10,7 @@ import Search, { SearchSkeleton } from './search';
const { SITE_NAME } = process.env;
export default async function Navbar() {
- const menu = await getMenu('next-js-frontend-header-menu');
+ const menu = await getMenu('main-menu');
return (
-
-
-
-
-
- {SITE_NAME}
-
-
- {menu.length ? (
-
+
+
+
+
+
+
+ {SITE_NAME}
+
+
+
+
+ }>
+
+
+
+
+ }>
+
+
+
+
+
+ {menu.length ? (
+
+
{menu.map((item: Menu) => (
-
{item.title}
))}
- ) : null}
-
-
- }>
-
-
-
-
- }>
-
-
-
+
+ ) : null}
);
diff --git a/components/logo-square.tsx b/components/logo-square.tsx
index eccf5cba7..c57aa9141 100644
--- a/components/logo-square.tsx
+++ b/components/logo-square.tsx
@@ -1,23 +1,10 @@
import clsx from 'clsx';
import LogoIcon from './icons/logo';
-export default function LogoSquare({ size }: { size?: 'sm' | undefined }) {
+export default function LogoSquare() {
return (
-