From 86450b3dd8bec3b76e2b2a03b8cdc8a708c5f3bc Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+joeacarstairs@users.noreply.github.com> Date: Sun, 5 May 2024 21:00:40 +0100 Subject: Infrastructure as code (#3) * Moves website to website/ * Adds terraform gitignores * Terraform with AWS provider * Initialises Terraform * Locals and variables for provider * Fetches SSL certificate from ACM * S3 static website bucket * CloudFront distribution * Route53 records * Deployment workflow uses secret S3 bucket suffix * Adds README --------- Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> --- src/components/BaseHead.astro | 44 ---- src/components/BlogFeed.astro | 76 ------ src/components/FormattedDate.astro | 21 -- src/components/Me.astro | 43 ---- src/consts.ts | 2 - src/content/blog/2024/01/14/sapiens_on_religion.md | 77 ------ .../2024/01/29/euhwc_toast_to_the_lasses_2024.md | 261 --------------------- src/content/blog/2024/03/30/easter.md | 98 -------- src/content/blog/2024/04/10/tracking_pixels.md | 35 --- src/content/config.ts | 19 -- src/env.d.ts | 2 - src/layouts/BlogPost.astro | 50 ---- src/layouts/Page.astro | 17 -- src/pages/blog/[...slug].astro | 20 -- src/pages/blog/index.astro | 17 -- src/pages/error.astro | 14 -- src/pages/index.astro | 11 - src/pages/rss.xml.js | 17 -- 18 files changed, 824 deletions(-) delete mode 100644 src/components/BaseHead.astro delete mode 100644 src/components/BlogFeed.astro delete mode 100644 src/components/FormattedDate.astro delete mode 100644 src/components/Me.astro delete mode 100644 src/consts.ts delete mode 100644 src/content/blog/2024/01/14/sapiens_on_religion.md delete mode 100644 src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md delete mode 100644 src/content/blog/2024/03/30/easter.md delete mode 100644 src/content/blog/2024/04/10/tracking_pixels.md delete mode 100644 src/content/config.ts delete mode 100644 src/env.d.ts delete mode 100644 src/layouts/BlogPost.astro delete mode 100644 src/layouts/Page.astro delete mode 100644 src/pages/blog/[...slug].astro delete mode 100644 src/pages/blog/index.astro delete mode 100644 src/pages/error.astro delete mode 100644 src/pages/index.astro delete mode 100644 src/pages/rss.xml.js (limited to 'src') diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro deleted file mode 100644 index e8e44ab..0000000 --- a/src/components/BaseHead.astro +++ /dev/null @@ -1,44 +0,0 @@ ---- -interface Props { - title: string; - description: string; - image?: string; -} - -const canonicalURL = new URL(Astro.url.pathname, Astro.site); - -const { title, description, image = '/images/headshot.jpg' } = Astro.props; ---- - - - - - - - - - - - - - - - - -
-
- - Hi! 👋 My name is Joe - Carstairs. I’m a - software developer at - Scott Logic, a - graduate of Philosophy and Mathematics at the University of Edinburgh, - a committed Christian and a pretty rubbish poet. -
- -- I’m also the secretary of the - Scots Language Society. - Help me maintain our website! -
- -- Email me at - joeacarstairs@gmail.com - with your thoughts on metaethics, Scots verse and eschatology. -
- -- Or get me on - Facebook, - Mastodon, - LinkedIn, - or GitHub. -
-- If you’re on this page, something’s probably gone wrong. Try going to - my homepage instead. -
-