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> --- website/src/components/BaseHead.astro | 44 +++++++++++++++++ website/src/components/BlogFeed.astro | 76 ++++++++++++++++++++++++++++++ website/src/components/FormattedDate.astro | 21 +++++++++ website/src/components/Me.astro | 43 +++++++++++++++++ 4 files changed, 184 insertions(+) create mode 100644 website/src/components/BaseHead.astro create mode 100644 website/src/components/BlogFeed.astro create mode 100644 website/src/components/FormattedDate.astro create mode 100644 website/src/components/Me.astro (limited to 'website/src/components') diff --git a/website/src/components/BaseHead.astro b/website/src/components/BaseHead.astro new file mode 100644 index 0000000..e8e44ab --- /dev/null +++ b/website/src/components/BaseHead.astro @@ -0,0 +1,44 @@ +--- +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. +
+