custom logo styling on index page + adjustments to venue styling and leads

This commit is contained in:
elisejakob
2024-05-10 20:11:04 +02:00
parent ce2de49295
commit d235d3548a
6 changed files with 49 additions and 6 deletions

View File

@ -1,8 +1,13 @@
"use client";
import styles from "./logo.module.scss";
import { usePathname } from "next/navigation";
export const Logo = () => {
// Check if the current page is the index page
const isIndexPage = usePathname() === "/";
return (
<div className={styles.logo}>
<div className={`${styles.logo} ${isIndexPage && styles.index}`}>
<svg viewBox="0 0 297 112" fill="none" xmlns="http://www.w3.org/2000/svg">
<title>Chateau Neuf</title>
<path