Skip to content

Commit

Permalink
Add blog page
Browse files Browse the repository at this point in the history
  • Loading branch information
mciszczon committed Oct 24, 2024
1 parent bfa6ac6 commit 64d7862
Show file tree
Hide file tree
Showing 7 changed files with 534 additions and 1 deletion.
20 changes: 20 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: "https://onhive.io",
experimental: {
contentLayer: true
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler"
}
}
}
},
integrations: [
starlight({
title: "OnHive.io",
Expand All @@ -23,6 +35,10 @@ export default defineConfig({
label: "[rocket] Get Started",
link: "/get-started/"
},
{
label: "[list] Blog",
link: "/blog/"
},
{
label: "[hive] Hive Coding School",
autogenerate: {
Expand All @@ -40,6 +56,10 @@ export default defineConfig({
autogenerate: {
directory: "community"
}
},
{
label: "leadingNavLinks",
items: [{ label: "Blog", link: "/blog" }]
}
],
components: {
Expand Down
299 changes: 299 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@fontsource-variable/space-grotesk": "^5.0.18",
"@fontsource/space-mono": "^5.0.20",
"astro": "^4.16.5",
"sass": "^1.80.4",
"sharp": "^0.33.3",
"typescript": "^5.6.3"
},
Expand Down
Loading

0 comments on commit 64d7862

Please sign in to comment.