Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.41 KB

File metadata and controls

56 lines (38 loc) · 2.41 KB

Contributing

This project is built with Astro. Below is the usual Astro blog-template orientation and command reference.

Project structure

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

Astro treats files under src/pages/ as routes (.astro, .md, etc.).

src/components/ holds Astro (and optional framework) components.

src/content/ holds content collections—for example blog posts under src/content/blog/. Use getCollection() to query them and optional schemas to type-check frontmatter. See Content collections.

Static assets such as images can go in public/ or be imported from src/assets/ as needed.

Styling (Tailwind CSS + daisyUI)

This matches the open-source app at podcodar/webapp: Tailwind CSS v4 via @tailwindcss/vite and daisyUI (@import "tailwindcss"; + @plugin "daisyui"; in src/styles/global.css).

Semantic colors (primary, secondary, accent, base-*, etc.) come from daisyUI’s default light/dark themes—the same OKLCH tokens as podcodar.org. The document theme follows system preference (prefers-color-scheme).

For a quick visual check, open /design-system after bun dev.

Commands

Run these from the repository root:

Command Action
bun install Install dependencies
bun dev Start dev server at localhost:4321
bun run build Production build to ./dist/
bun run preview Preview the production build locally
bun astro ... Astro CLI (astro add, astro check, etc.)
bun astro -- --help Astro CLI help

Learn more

Credit

This starter theme is based on Bear Blog.