mirror of
https://github.com/Alee14/personal-website.git
synced 2025-01-22 10:51:50 -05:00
Compare commits
4 commits
96beb87b16
...
c63a04e148
Author | SHA1 | Date | |
---|---|---|---|
c63a04e148 | |||
c71f383021 | |||
b2ed99705f | |||
aefcde2c39 |
7 changed files with 31 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
import { defineConfig, passthroughImageService } from 'astro/config';
|
||||
import icon from "astro-icon";
|
||||
import vercel from "@astrojs/vercel/serverless";
|
||||
import vercel from "@astrojs/vercel";
|
||||
import preact from "@astrojs/preact";
|
||||
import svelte from "@astrojs/svelte";
|
||||
|
||||
|
@ -13,7 +13,7 @@ export default defineConfig({
|
|||
output: "server",
|
||||
adapter: vercel({
|
||||
webAnalytics: {
|
||||
enabled: true
|
||||
enabled: false
|
||||
}
|
||||
}),
|
||||
image: {
|
||||
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -10,13 +10,13 @@
|
|||
"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",
|
||||
"@astrojs/vercel": "^8.0.1",
|
||||
"@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",
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
"url": "https://youtube.alee14.me",
|
||||
"mouseover": "YouTube"
|
||||
},
|
||||
{
|
||||
"platform": "Bluesky",
|
||||
"icon": "bluesky",
|
||||
"username": "alee14.me",
|
||||
"url": "https://bsky.app/profile/alee14.me",
|
||||
"mouseover": "Bluesky"
|
||||
},
|
||||
{
|
||||
"platform": "Mastodon",
|
||||
"icon": "mastodon",
|
||||
|
|
|
@ -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" data-api="/plausible/api/event" src="/plausible/js/script.js"/>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||
|
||||
<ClientRouter fallback="animate" />
|
||||
<title>{title}</title>
|
||||
</head>
|
||||
|
|
|
@ -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 {
|
||||
|
|
12
vercel.json
Normal file
12
vercel.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/plausible/js/script.js",
|
||||
"destination": "https://stats.alee14.me/js/script.file-downloads.outbound-links.js"
|
||||
},
|
||||
{
|
||||
"source": "/plausible/api/event",
|
||||
"destination": "https://stats.alee14.me/api/event"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue