small changes 86dd0bf6
Steve · 2023-05-09 20:18 4 file(s) · +12 −19
astro.config.ts +1 −7
6 6
import prefetch from "@astrojs/prefetch";
7 7
import catppuccinTheme from "./catppuccin.json";
8 8
9 -
import partytown from "@astrojs/partytown";
10 -
11 9
// https://astro.build/config
12 10
13 11
// https://astro.build/config
28 26
    }
29 27
  }), image({
30 28
    serviceEntryPoint: "@astrojs/image/sharp"
31 -
  }), sitemap(), prefetch(), partytown({
32 -
    config: {
33 -
      forward: ["dataLayer.push"]
34 -
    }
35 -
  })],
29 +
  }), sitemap(), prefetch()],
36 30
  vite: {
37 31
    optimizeDeps: {
38 32
      exclude: ["@resvg/resvg-js"]
src/layouts/Base.astro +0 −11
18 18
<html lang={siteConfig.lang}>
19 19
	<head>
20 20
		<!-- Google tag (gtag.js) -->
21 -
		<script type="text/partytown" src="https://www.googletagmanager.com/gtag/js?id=G-QT67QEFLTG"
22 -
		></script>
23 -
		<script type="text/partytown">
24 -
			window.dataLayer = window.dataLayer || [];
25 -
			function gtag() {
26 -
				dataLayer.push(arguments);
27 -
			}
28 -
			gtag("js", new Date());
29 -
30 -
			gtag("config", "G-QT67QEFLTG");
31 -
		</script>
32 21
		<BaseHead title={title} description={description} ogImage={ogImage} articleDate={articleDate} />
33 22
		<script define:vars={{ siteConfig }}>
34 23
			const root = document.documentElement;
src/pages/about.astro +1 −1
38 38
				tinkering with mechanical keyboards
39 39
			</li>
40 40
			<li>
41 -
				Taught myself frontend web development which led to being hooked on blockchain technology
41 +
        Taught myself web development which has led to a love and appreciation for developer tools
42 42
			</li>
43 43
			<li>I have a killer waffle recipe handed down through my family</li>
44 44
		</ul>
src/pages/index.astro +10 −0
65 65
				</a>:
66 66
				<p class="inline-block sm:mt-2">Technical blog posts I've written for Pinata</p>
67 67
			</li>
68 +
			<li>
69 +
				<a
70 +
					href="https://substack.com/profile/92321712-steve"
71 +
					target="_blank"
72 +
					rel="noopener noreferrer"
73 +
					class="cactus-link inline-block"
74 +
					>Substack
75 +
				</a>:
76 +
				<p class="inline-block sm:mt-2">A place where I write a little bit of everthing</p>
77 +
			</li>
68 78
		</ul>
69 79
	</section>
70 80
</PageLayout>