📦️ Updated Tailwind to v4, updated hardware to uses

This commit is contained in:
2025-02-15 13:29:01 +01:00
parent cfd11a98ec
commit 7c5b228e59
24 changed files with 611 additions and 869 deletions

View File

@ -1,6 +1,7 @@
---
import OnePager from "../../components/Greeting.astro"
import Layout from "../../layouts/Layout.astro"
import "@/styles/global.css"
---
<Layout title="Welcome">

View File

@ -1,6 +1,7 @@
---
import Layout from "@/layouts/Layout.astro"
import LinksPage from "@/components/myLinks/LinksPage.astro"
import "@/styles/global.css"
---
<Layout title="My links">
<LinksPage />

View File

@ -1,6 +1,7 @@
---
import ProjectPage from "@/components/projects/ProjectPage.astro"
import { type GetStaticPathsResult } from "astro"
import "@/styles/global.css"
// Prerender the page as static HTML during build
export const prerender = true

View File

@ -2,6 +2,7 @@
import { getCollection } from "astro:content"
import Layout from "@/layouts/Layout.astro"
import MyProjectsPage from "@/components/projects/MyProjectsPage.astro"
import "@/styles/global.css"
const projects = await getCollection("projects")
---

View File

@ -1,12 +1,12 @@
---
import Layout from "@/layouts/Layout.astro"
import HardwarePage from "@/components/HardwarePage.svelte"
import UsesPage from "@/components/UsesPage.svelte"
import "@/styles/global.css"
import { getCollection } from "astro:content"
const hardware = await getCollection("hardware")
const uses = await getCollection("uses")
---
<Layout title="Hardware" class="mx-auto max-w-[750px]">
<HardwarePage server:defer hardware={hardware} />
<UsesPage server:defer uses={uses} />
</Layout>