From b16d8ce36ce5c603a4444979c30998416c416929 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 12 Sep 2024 22:42:08 +0000 Subject: Add Analytics component to BaseLayout --- src/components/Analytics.astro | 5 +++++ src/layouts/BaseLayout.astro | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 src/components/Analytics.astro diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro new file mode 100644 index 0000000..8c4303a --- /dev/null +++ b/src/components/Analytics.astro @@ -0,0 +1,5 @@ +--- +const id = "T5X0z12SoASBV8Dv"; +--- + + diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index f867900..6a253a8 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,4 +1,5 @@ --- +import Analytics from "../components/Analytics.astro"; import Head from "../components/Head.astro"; import Header from "../components/Header.astro"; import "../scss/global.scss"; @@ -19,5 +20,6 @@ const { title, description } = Astro.props;
+ -- cgit v1.2.3