From 77e65cb92c258752f57b37fc4e57424debe06744 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Jun 2025 00:12:57 +0400 Subject: refactor: simplify Analytics component and update BaseLayout * style: enhance Header component and update SCSS imports - Improved the Header component by adding a site title with styling. - Wrapped navigation links in a div for better structure. - Updated SCSS imports across multiple components for consistency. * refactor: simplify Analytics component and update BaseLayout - Removed props from the Analytics component to streamline its usage. - Updated BaseLayout to call Analytics without passing the title prop, ensuring default values are used. --- src/components/Analytics.astro | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/components') diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro index 428ad4f..8235dea 100644 --- a/src/components/Analytics.astro +++ b/src/components/Analytics.astro @@ -1,17 +1,2 @@ ---- -type Props = { - readonly title: string; -}; - -const path = Astro.url.pathname; -const { title } = Astro.props; ---- - - - - - -- cgit v1.2.3