Skip to content

Commit aaabe1e

Browse files
committed
Add CodeHart component.
1 parent b65daf4 commit aaabe1e

File tree

11 files changed

+508
-29
lines changed

11 files changed

+508
-29
lines changed

astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { execSync } from "node:child_process";
1414

1515
import compress from "astro-compress";
1616

17+
import svelte from "@astrojs/svelte";
18+
1719
let gitVersion = String(process.env.GIT_VERSION ?? "").slice(0, 7);
1820

1921
if (!gitVersion) {
@@ -89,6 +91,7 @@ export default defineConfig({
8991
metaTags(),
9092
pagefind(),
9193
deleteUnusedImages(),
94+
svelte(),
9295
compress(),
9396
],
9497
output: "static",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@astrojs/check": "^0.9.4",
1616
"@astrojs/mdx": "^4.2.6",
1717
"@astrojs/sitemap": "^3.3.1",
18+
"@astrojs/svelte": "^7.0.13",
1819
"@astrojs/tailwind": "^5.1.5",
1920
"@fontsource-variable/inter": "^5.2.5",
2021
"@fortawesome/fontawesome-free": "^6.7.2",
@@ -36,6 +37,7 @@
3637
"rehype-slug": "^6.0.0",
3738
"remark-toc": "^9.0.0",
3839
"sharp": "^0.34.1",
40+
"svelte": "^5.30.2",
3941
"tailwindcss": "^3.4.17",
4042
"typescript": "^5.8.3"
4143
},

pnpm-lock.yaml

Lines changed: 165 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)