"use client"; import styles from "./logo.module.scss"; import { usePathname } from "next/navigation"; export const Logo = ({ christmas }: { christmas: boolean }) => { // Check if the current page is the index page const isIndexPage = usePathname() === "/"; return (
{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 (
); };