Skip to content

Commit

Permalink
Rewrite Website using Astro+Starlight
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Aug 7, 2024
1 parent 5fb9b8f commit 34ea809
Show file tree
Hide file tree
Showing 101 changed files with 5,669 additions and 11,448 deletions.
8 changes: 0 additions & 8 deletions .eslintrc.cjs

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
Expand Down Expand Up @@ -55,8 +55,8 @@ jobs:
${{ runner.os }}-nuxt-build-
- name: Install dependencies
run: pnpm install
- name: Static HTML export with Nuxt
run: pnpm run generate
- name: Static HTML export with Astro
run: pnpm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
51 changes: 21 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,24 @@
node_modules
*.iml
.idea
*.log*
.nuxt
.vscode
.DS_Store
coverage
dist
sw.*
.env
.output
.AppleDouble
.LSOverride
Icon
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.vscode/
.cache/
# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# Local Netlify folder
.netlify
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion .nuxtrc

This file was deleted.

4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
50 changes: 0 additions & 50 deletions LICENSE

This file was deleted.

18 changes: 1 addition & 17 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,4 @@ The official ChefKiss site. The guide is currently a WIP.

The Source Code of this Original Work is licensed under the `Thou Shalt Not Profit License version 1.5`. See [`LICENSE`](https://github.com/ChefKissInc/ChefKissInc.github.io/blob/master/LICENSE).

To install dependencies, run

```sh
pnpm i
```

To run a dev server, run

```sh
pnpm dev
```

To build the site statically, run

```sh
pnpm generate
```
[![Built with Starlight](https://astro.badg.es/v2/built-with-starlight/tiny.svg)](https://starlight.astro.build)
85 changes: 0 additions & 85 deletions app.config.ts

This file was deleted.

13 changes: 0 additions & 13 deletions assets/css/Fixup.css

This file was deleted.

4 changes: 0 additions & 4 deletions assets/css/MediumZoom.css

This file was deleted.

98 changes: 98 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
import { defineConfig } from "astro/config";
import embeds from "astro-embed/integration";
import starlight from "@astrojs/starlight";
import starlightImageZoom from "starlight-image-zoom";
import starlightBlog from "starlight-blog";
import starlightLinksValidator from "starlight-links-validator";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";

export default defineConfig({
site: "https://chefkissinc.github.io",
integrations: [
embeds({
services: {
LinkPreview: false,
},
}),
starlight({
plugins: [
starlightImageZoom(),
starlightBlog({
title: "Newsroom",
prefix: "newsroom",
authors: {
visual: {
name: "Visual Ehrmanntraut",
title: "CEO",
picture: "/Avatars/Visual.png",
url: "https://github.com/VisualEhrmanntraut",
},
},
}),
starlightLinksValidator(),
],
title: "ChefKiss",
logo: {
src: "~/assets/Logo.svg",
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4,
},
customCss: ["~/base.css"],
components: {
Head: "~/components/starlight/Head.astro",
MarkdownContent: "~/components/starlight/MarkdownContent.astro",
},
social: {
github: "https://github.com/ChefKissInc",
telegram: "https://t.me/+Bx3MO9Hq8whhNzk9",
},
sidebar: [
{
label: "Installation",
items: [
"guides/hackintosh",
"guides/hackintosh/compatibility",
{
label: "Gathering Files",
items: [
"guides/hackintosh/gathering-files",
"guides/hackintosh/gathering-files/opencore",
{
label: "Installer",
items: [
"guides/hackintosh/gathering-files/installer",
"guides/hackintosh/gathering-files/installer/online",
],
},
"guides/hackintosh/gathering-files/acpi",
"guides/hackintosh/gathering-files/kexts",
],
},
{
label: "Configuration",
badge: "TODO",
items: [
{
label: "Dortania guide (temporary)",
link: "https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html",
},
],
},
],
},
{
label: "Troubleshooting",
badge: "TODO",
items: [],
},
],
}),
tailwind({
applyBaseStyles: false,
}),
icon(),
],
});
Loading

0 comments on commit 34ea809

Please sign in to comment.