add favicon and logo component

This commit is contained in:
elisejakob
2024-05-09 02:34:03 +02:00
parent cde39da1fd
commit 8245da4553
4 changed files with 69 additions and 1 deletions

View File

@ -2,6 +2,7 @@
import { useState } from "react";
import Link from "next/link";
import styles from "./header.module.scss";
import { Logo } from "../general/Logo";
export const Header = () => {
const [showMenu, setShowMenu] = useState(false);
@ -12,7 +13,7 @@ export const Header = () => {
return (
<header className={styles.header}>
<Link href="/" aria-label="Hjem">
<h1 className={styles.logo}>Chateau Neuf</h1>
<Logo />
</Link>
<nav className={styles.siteMenu} data-show={showMenu}>
<ul>