diff --git a/README.md b/README.md index e09bf55..4366193 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,54 @@ All commands are run from the root of the project, from a terminal: ## 👀 Want to learn more? Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat). + +## Todo + +Offer a way to collate all pages into one for PDF/printing. + +- https://github.com/withastro/starlight/discussions/964 + +Additional links in navbar: + +- https://starlight-utils.pages.dev/utilities/nav-links/ + +Colors: + +- https://github.com/withastro/starlight/blob/a1926ce87b43aaa25b9063f9776e8e4ffabed88d/packages/starlight/style/props.css#L2 + +Quiz: + + + + +## Test your knowledge + +Which of the following is a code editor, for making changes to your files and their content? + + + + + + + +Which of the following is a code editor, for making changes to your files and their content? + + + + + + + + diff --git a/astro.config.mjs b/astro.config.mjs index 8e8b3d8..db08fe7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -17,29 +17,8 @@ export default defineConfig({ sidebar: [ { label: "ISPmail for Debian 12", - items: [ - // Each item here is one entry in the navigation menu. - { - label: "Start Here", - slug: "ispmail-bookworm", - }, - { - label: "Whats' new", - slug: "ispmail-bookworm/whats-new", - }, - { - label: "Migrating your old server", - slug: "ispmail-bookworm/migrating-from-a-bullseye-to-a-bookworm-server", - }, - { - label: "The big picture", - slug: "ispmail-bookworm/big-picture", - }, - { - label: "Types of email domains", - slug: "ispmail-bookworm/types-of-email-domains", - }, - ], + // slug: "ispmail-bookworm", + autogenerate: { directory: "ispmail-debian-12" }, }, // { // label: "Reference", diff --git a/src/components/Box.astro b/src/components/Box.astro new file mode 100644 index 0000000..79ac393 --- /dev/null +++ b/src/components/Box.astro @@ -0,0 +1,79 @@ +--- +import { getImage } from "astro:assets"; +import HoustonGrad from "~/assets/houston_grad.png"; + +export interface Props { + icon?: "puzzle-piece" | "question-mark" | "check-list"; +} + +const { icon } = Astro.props; +--- + +
+
+ +
+
+ + + + diff --git a/src/components/Checklist.astro b/src/components/Checklist.astro new file mode 100644 index 0000000..82c85c7 --- /dev/null +++ b/src/components/Checklist.astro @@ -0,0 +1,108 @@ +
+{ + Astro.slots.has('alternative') && ( + <> +

+ foo +

+
+ +
+ + ) +} + + diff --git a/src/components/Footer.astro b/src/components/Footer.astro index f2b1f60..cf9e51e 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -6,7 +6,7 @@ import Default from "@astrojs/starlight/components/Footer.astro";