chore(deps): upgrade tailwind to v4 via vite plugin
Replace @astrojs/tailwind with @tailwindcss/vite in the Astro config and lockfile to adopt Tailwind CSS v4 and simplify the build setup. Also update Markdown site content with current SpaghetAI/MarvinBlade infrastructure details.
This commit is contained in:
1 parent
ac545c4668
commit
3fef5d378e
26 files changed
+1822
-3548
No files matched your search
@@ -5,20 +5,23 @@ import TopLayout from "@layouts/TopLayout.astro"
|
||||
import BottomLayout from "@layouts/BottomLayout.astro"
|
||||
import Projects from "@components/Projects"
|
||||
import { PROJECTS } from "@consts"
|
||||
import { byDateDesc } from "@lib/content"
|
||||
|
||||
const entries = await getCollection("projects", ({ data }) => !data.draft)
|
||||
const posts = entries.map((entry) => ({
|
||||
id: entry.id,
|
||||
slug: entry.id,
|
||||
title: entry.data.title,
|
||||
summary: entry.data.summary,
|
||||
date: entry.data.date.toISOString(),
|
||||
tags: entry.data.tags,
|
||||
draft: entry.data.draft,
|
||||
content: entry.body ?? "",
|
||||
demoUrl: entry.data.demoUrl,
|
||||
repoUrl: entry.data.repoUrl,
|
||||
}))
|
||||
const posts = entries
|
||||
.sort(byDateDesc)
|
||||
.map((entry) => ({
|
||||
id: entry.id,
|
||||
slug: entry.id,
|
||||
title: entry.data.title,
|
||||
summary: entry.data.summary,
|
||||
date: entry.data.date.toISOString(),
|
||||
tags: entry.data.tags,
|
||||
draft: entry.data.draft,
|
||||
content: entry.body ?? "",
|
||||
demoUrl: entry.data.demoUrl,
|
||||
repoUrl: entry.data.repoUrl,
|
||||
}))
|
||||
const tags = Array.from(new Set(posts.flatMap((p) => p.tags)))
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user