Initial commit

This commit is contained in:
olivermrbl
2023-05-01 14:46:17 +02:00
parent 86dca04eec
commit 0f4f5a79df
7 changed files with 68 additions and 304 deletions

View File

@@ -4,13 +4,13 @@ import { Suspense } from 'react';
import Cart from 'components/cart';
import CartIcon from 'components/icons/cart';
import LogoIcon from 'components/icons/logo';
import { getMenu } from 'lib/shopify';
import { Menu } from 'lib/shopify/types';
import MobileMenu from './mobile-menu';
import Search from './search';
export default async function Navbar() {
const menu = await getMenu('next-js-frontend-header-menu');
const menu: any[] = [];
// const menu = await getMenu('next-js-frontend-header-menu');
return (
<nav className="relative flex items-center justify-between bg-white p-4 dark:bg-black lg:px-6">