Source code for the home Oblic Parallels website
https://oblic-parallels.fr
| public | ||
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
Oblic Parallels Home Website
About
Contains the source code of the Home OP website. Now uses Astro instead of the old static website !
Structure
Project
src/*- Source code (components, pages, styles, images, etc.)public/*- Non-code, unprocessed assets (fonts, icons, etc.)package.json- Project manifestastro.config.mjs- Astro configuration filetsconfig.json- TypeScript configuration file
src/
assets/components/layouts/pages/data/- Contains the configs to generate the website, each as a JSON file (contains cards, site name, etc.)styles- default CSS style sheets and custom themes
Build
This project is meant to be used with pnpm, but you can use whatever package manager you want (at your own risk).
Commands
| Command | Action |
|---|---|
pnpm install |
Installs dependencies |
pnpm dev |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm astro ... |
Run CLI commands like astro add, astro check |
pnpm astro -- --help |
Get help using the Astro CLI |