blocks
## Accessibility
- [ ] All interactable elements have labels
@@ -31,10 +33,16 @@
## ~/projects
- [ ] Translate projects
+- [ ] NixOS on desktop
+- [ ] RSS Feed
+
+## ~/projects/[project]
+- [ ] Only use Gitea icon for Gitea links
- [ ] Bachelor project
- [ ] Sparebank1 ActualBudget service
- [ ] More about this website
-- [ ] RSS Feed
+- [ ] Copy link to h tag and scroll to h tag on load
+- [x] External links should open in new tab
## ~/slashes
- [ ] List of all slashes
diff --git a/astro.config.mjs b/astro.config.mjs
index c11c5ff..de004ed 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -38,6 +38,11 @@ export default defineConfig({
vite: {
plugins: [tailwindcss()],
},
+ markdown: {
+ shikiConfig: {
+ theme: "catppuccin-mocha",
+ },
+ },
env: {
schema: {
DOMAIN: envField.string({ context: "client", access: "public" }),
diff --git a/src/components/projects/MyProjectsPage.astro b/src/components/projects/MyProjectsPage.astro
index 92d16ad..9701290 100644
--- a/src/components/projects/MyProjectsPage.astro
+++ b/src/components/projects/MyProjectsPage.astro
@@ -1,12 +1,8 @@
---
+import { getCollection } from "astro:content"
import ProjectGrid from "./ProjectGrid.astro"
-import { type CollectionEntry } from "astro:content"
-interface Props {
- projects: CollectionEntry<"projects">[]
-}
-
-const { projects } = Astro.props
+const projects = await getCollection("projects")
---
{description}
-