1
0
Fork
You've already forked homepage
0
Homepage of Christoph Klassen
  • Astro 81.4%
  • MDX 11.3%
  • CSS 6.1%
  • JavaScript 0.7%
  • TypeScript 0.5%
2026年05月29日 18:49:28 +02:00
.vscode Initial commit 2025年04月18日 14:17:48 +02:00
public Rework start page 2026年05月15日 15:06:37 +02:00
src Use dvh instead of vh 2026年05月29日 18:49:28 +02:00
.gitignore Initial commit 2025年04月18日 14:17:48 +02:00
astro.config.mjs Initial commit 2025年04月18日 14:17:48 +02:00
package.json Update dependencies 2026年05月15日 19:57:52 +02:00
pnpm-lock.yaml Update dependencies 2026年05月15日 19:57:52 +02:00
README.md Remove paragraph containing link to Discord 2026年04月09日 20:35:39 +02:00
tsconfig.json Initial commit 2025年04月18日 14:17:48 +02:00

Source code for website of Christoph Klassen

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

├── public/
├── src/
│  ├── components/
│  ├── content/
│  ├── layouts/
│  └── pages/
├── astro.config.mjs
├── README.md
├── package.json
└── tsconfig.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

The src/content/ directory contains "collections" of related Markdown and MDX documents. Use getCollection() to retrieve posts from src/content/blog/, and type-check your frontmatter using an optional schema. See Astro's Content Collections docs to learn more.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI