"use client"; import styles from "./logo.module.scss"; import { usePathname } from "next/navigation"; export const Logo = ({ christmas, studentHat, }: { christmas: boolean; studentHat: boolean; }) => { // Check if the current page is the index page const isIndexPage = usePathname() === "/"; return (
{/* Start letters */} {/* End letters */} {/* Start pig without hat */} {!studentHat && ( <> )} {/* End pig without hat */} {/* Start pig with hat (DNS-ikon-svart) */} {/* original viewBox="0 0 613.2 730.27", scaled to 271px height */} {studentHat && ( )} {/* End pig with hat */} {christmas && ( )}
); }; export const LogoText = () => { // Check if the current page is the index page const isIndexPage = usePathname() === "/"; return (
Chateau Neuf
); }; export const LogoIcon = ({ face, christmas, }: { face?: "left" | "right"; christmas: boolean; }) => { return (
{christmas && ( )}
); }; export const LogoNeuf = () => { return (
); };