--- import { ClientRouter } from "astro:transitions"; import "../styles/global.css"; import { SEO } from "astro-seo"; import SmoothScroll from "../components/SmoothScroll.astro"; import Header from "../components/Header.astro"; import Footer from "../components/Footer.astro"; import "@fontsource-variable/instrument-sans"; import instrumentSansWoff2 from "@fontsource-variable/instrument-sans/files/instrument-sans-latin-wght-normal.woff2"; type Props = { title: string; description?: string; }; const { title, description = "Players Club Concept" } = Astro.props; // Current page value (/home, /about, /404 ...) const currentPage = Astro.url.pathname.replace(/\/$/, "").split("/").pop() || "home"; ---