Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from "astro/config";
import prefetch from "@astrojs/prefetch";
import tailwindcss from "@tailwindcss/vite";

// https://astro.build/config
Expand All @@ -8,7 +7,7 @@ export default defineConfig({
plugins: [tailwindcss()],
},
plugins: [],
integrations: [prefetch()],
prefetch: true,
redirects: {
"/links": "/",
"/faq": "/",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"tailwindcss-safe-area": "^1.3.0"
},
"dependencies": {
"@astrojs/prefetch": "^0.4.1",
"date-fns": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion src/pages/old.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const BaseLayoutClassNames = {

<div class="py-4">If you're here, you're probably looking for...</div>
<h4 class="text-theo-blue text-center text-xl">
<a href="/links" rel="prefetch">Theo (CEO @ Ping Labs)</a>
<a href="/links" data-astro-prefetch>Theo (CEO @ Ping Labs)</a>
</h4>
<div class="text-center text-xl font-bold">OR</div>
<h4 class="text-theo-blue mb-2 text-center text-xl">
Expand Down