aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro.config.mjs6
-rwxr-xr-xbun.lockbbin294457 -> 303064 bytes
-rw-r--r--package.json7
-rw-r--r--src/data/contacts.json7
-rw-r--r--src/layouts/Default.astro5
-rw-r--r--src/pages/404.astro1
6 files changed, 16 insertions, 10 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index fd2a541..d2ade25 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,6 +1,5 @@
import { defineConfig, passthroughImageService } from 'astro/config';
import icon from "astro-icon";
-import vercel from "@astrojs/vercel/serverless";
import preact from "@astrojs/preact";
import svelte from "@astrojs/svelte";
@@ -11,11 +10,6 @@ export default defineConfig({
compat: true
}), svelte()],
output: "server",
- adapter: vercel({
- webAnalytics: {
- enabled: true
- }
- }),
image: {
service: passthroughImageService()
},
diff --git a/bun.lockb b/bun.lockb
index 85cd2c5..e31eb90 100755
--- a/bun.lockb
+++ b/bun.lockb
Binary files differ
diff --git a/package.json b/package.json
index 4161c5d..02c057a 100644
--- a/package.json
+++ b/package.json
@@ -10,13 +10,12 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "4.0.0",
+ "@astrojs/preact": "4.0.1",
"@astrojs/rss": "4.0.10",
- "@astrojs/svelte": "7.0.1",
- "@astrojs/vercel": "8.0.0",
+ "@astrojs/svelte": "7.0.2",
"@iconify-json/fa6-brands": "^1.1.19",
"@iconify-json/fa6-solid": "^1.1.21",
- "astro": "^5.0.3",
+ "astro": "5.1.1",
"astro-icon": "^1.1.0",
"dompurify": "^3.1.6",
"markdown-it": "^14.1.0",
diff --git a/src/data/contacts.json b/src/data/contacts.json
index 80c7cc3..739a145 100644
--- a/src/data/contacts.json
+++ b/src/data/contacts.json
@@ -21,6 +21,13 @@
"mouseover": "YouTube"
},
{
+ "platform": "Bluesky",
+ "icon": "bluesky",
+ "username": "alee14.me",
+ "url": "https://bsky.app/profile/alee14.me",
+ "mouseover": "Bluesky"
+ },
+ {
"platform": "Mastodon",
"icon": "mastodon",
"username": "alee@mstdn.ca",
diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro
index 9762816..e9017c6 100644
--- a/src/layouts/Default.astro
+++ b/src/layouts/Default.astro
@@ -36,6 +36,11 @@ const date = new Date();
<meta name="theme-color" content="#1B291F"/>
<meta name="generator" content={Astro.generator} />
+ <!-- Plausible Analytics -->
+
+ <script defer data-domain="alee14.me" src="https://stats.alee14.me/js/script.file-downloads.outbound-links.js"></script>
+ <script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
+
<ClientRouter fallback="animate" />
<title>{title}</title>
</head>
diff --git a/src/pages/404.astro b/src/pages/404.astro
index 09701a2..38ecfb8 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -7,6 +7,7 @@ import Layout from '../layouts/Default.astro'
<h2>Page not found</h2>
<h2>Whoops! You blew up the website!</h2>
</div>
+ <script>document.addEventListener('DOMContentLoaded', function () { plausible('404', { props: { path: document.location.pathname } }); });</script>
</Layout>
<style>
.error {