summaryrefslogtreecommitdiff
path: root/www/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'www/src/components')
-rw-r--r--www/src/components/BlogHead.astro7
-rw-r--r--www/src/components/GoogleAnalytics.astro9
2 files changed, 16 insertions, 0 deletions
diff --git a/www/src/components/BlogHead.astro b/www/src/components/BlogHead.astro
new file mode 100644
index 000000000..866929725
--- /dev/null
+++ b/www/src/components/BlogHead.astro
@@ -0,0 +1,7 @@
+---
+import BaseHead from './BaseHead.astro';
+
+const { title, description, permalink } = Astro.props;
+---
+<BaseHead title={title} description={description} permalink={permalink} />
+<link rel="stylesheet" href="/blog.css" /> \ No newline at end of file
diff --git a/www/src/components/GoogleAnalytics.astro b/www/src/components/GoogleAnalytics.astro
new file mode 100644
index 000000000..bdc8fedda
--- /dev/null
+++ b/www/src/components/GoogleAnalytics.astro
@@ -0,0 +1,9 @@
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=G-TEL60V1WM9"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'G-TEL60V1WM9');
+</script> \ No newline at end of file