diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..9b360aa --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@RPDeshaies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b95edfc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: + - "**" + +jobs: + build: + runs-on: ubuntu-latest + steps: + # Checkout + - name: Checkout + uses: actions/checkout@v4 + # Use Bun + - name: Use Bun + uses: oven-sh/setup-bun@v2 + # with: + # bun-version: 1.1.38 + # Install + - name: Install + run: bun install + # Build + - name: Build + run: bun run build diff --git a/astro.config.mjs b/astro.config.mjs index f65f21f..5898212 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,12 +1,11 @@ import mdx from "@astrojs/mdx"; +import netlify from "@astrojs/netlify"; import react from "@astrojs/react"; import sitemap from "@astrojs/sitemap"; import tailwind from "@astrojs/tailwind"; import { defineConfig } from "astro/config"; import { constants } from "./src/domains/utils/constants"; -import netlify from "@astrojs/netlify"; - import partytown from "@astrojs/partytown"; // https://astro.build/config @@ -29,27 +28,28 @@ export default defineConfig({ forward: ["dataLayer.push"], }, }), - // starlight({ - // title: "Keeper Documentation", - // disable404Route: true, - // logo: { - // src: "./public/keeper/name.svg", - // replacesTitle: true, - // }, - // sidebar: [ - // { - // label: "Documentation", - // autogenerate: { - // directory: "docs", + // + // starlight({ + // title: "Keeper Documentation", + // disable404Route: true, + // logo: { + // src: "./public/keeper/name.svg", + // replacesTitle: true, + // }, + // sidebar: [ + // { + // label: "Documentation", + // autogenerate: { + // directory: "docs", + // }, // }, + // ], + // customCss: ["./src/styles/docs.css"], + // social: { + // discord: "https://farirpgs.com/discord", + // github: "https://github.com/farirpgs/keeper", // }, - // ], - // customCss: ["./src/styles/docs.css"], - // social: { - // discord: "https://farirpgs.com/discord", - // github: "https://github.com/farirpgs/keeper", - // }, - // }), + // }), ], experimental: { contentIntellisense: true, diff --git a/bun.lockb b/bun.lockb index 2ae21b7..2d2c226 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index c5fad9d..6b35732 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@astrojs/mdx": "4.0.1", "@astrojs/netlify": "6.0.0", "@astrojs/partytown": "^2.1.2", + "@astrojs/starlight": "^0.29.2", "@astrojs/react": "4.0.0", "@astrojs/sitemap": "^3.2.1", "@astrojs/tailwind": "5.1.3", @@ -41,7 +42,7 @@ "github-slugger": "^2.0.0", "lodash": "^4.17.21", "lucide-react": "^0.454.0", - "prettier": "^3.4.1", + "prettier": "^3.4.2", "prettier-plugin-astro": "^0.14.1", "prettier-plugin-tailwindcss": "^0.6.9", "prompts": "^2.4.2", @@ -49,12 +50,12 @@ "react-dom": "^18.3.1", "rehype-slug": "^6.0.0", "remark-gfm": "^4.0.0", - "tailwindcss": "^3.4.15", + "tailwindcss": "^3.4.16", "typescript": "^5.7.2", "zod": "^3.23.8" }, "devDependencies": { "@types/node": "^22.10.1", - "knip": "^5.38.2" + "knip": "^5.39.1" } } diff --git a/src/components/server/Footer/Footer.astro b/src/components/server/Footer/Footer.astro index c8b9560..6357e45 100644 --- a/src/components/server/Footer/Footer.astro +++ b/src/components/server/Footer/Footer.astro @@ -11,7 +11,7 @@ const links: Record> = { Discord: "https://farirpgs.com/discord", Bluesky: "https://farirpgs.com/bluesky", Threads: "https://farirpgs.com/threads", - GitHub: "https://github.com/farirpgs", + GitHub: "https://github.com/farirpgs/keeper", }, Miscellaneous: { Contact: "https://farirpgs.com/contact", diff --git a/src/components/server/Header/Header.tsx b/src/components/server/Header/Header.tsx index 5fe5480..cadcaf7 100644 --- a/src/components/server/Header/Header.tsx +++ b/src/components/server/Header/Header.tsx @@ -108,22 +108,24 @@ export function Header(props: { theme?: ThemeType }) { - - - + {false && ( + + + + )}