diff --git a/astro.config.mjs b/astro.config.mjs index 90f04ba..76ea6b6 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,11 +1,12 @@ import { defineConfig } from "astro/config"; import mdx from "@astrojs/mdx"; import sitemap from "@astrojs/sitemap"; - import tailwind from "@astrojs/tailwind"; +import svelte from "@astrojs/svelte"; + // https://astro.build/config export default defineConfig({ site: "https://skyfall.dev", - integrations: [mdx(), sitemap(), tailwind()], -}); + integrations: [mdx(), sitemap(), tailwind(), svelte()] +}); \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index 918ac17..dfd9739 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 2bef714..7197abd 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,10 @@ "astro": "astro" }, "dependencies": { + "@astrojs/svelte": "^5.6.0", + "activity-calendar-widget": "^0.0.14", + "octokit": "^4.0.2", + "svelte": "^4.2.18", "tailwind-merge": "^2.3.0" }, "devDependencies": { diff --git a/src/components/homepage/GitHubHeatmap.svelte b/src/components/homepage/GitHubHeatmap.svelte new file mode 100644 index 0000000..be2374e --- /dev/null +++ b/src/components/homepage/GitHubHeatmap.svelte @@ -0,0 +1,48 @@ + + +
Give us a mo...
+ {:then data} +