mirror of
https://github.com/rjNemo/vf-site
synced 2026-06-06 01:16:38 +00:00
No description
Upgraded astro to v5.15.3 and @astrojs/sitemap to v3.6.0 for improved features and bug fixes. This ensures compatibility and keeps dependencies up to date. |
||
|---|---|---|
| docs/spec | ||
| public | ||
| src | ||
| .gitignore | ||
| AGENTS.md | ||
| astro.config.mjs | ||
| Makefile | ||
| netlify.toml | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.json | ||
VillaFleurie Website
This site is built with Astro and Tailwind, with FR/EN locales.
Quick Start
- Requirements: Node 18+, Corepack enabled (
pnpm). Then:corepack enablepnpm install
- Dev server:
pnpm dev→ openhttp://localhost:4321/fr/(root redirects to/fr/). - Build:
pnpm build→ static output indist/. Preview:pnpm preview.
Structure
src/pages/fr|en/: localized pages (Home, Apartments, Reviews, Rates, Contact, Policies).src/layouts/: shared layout with sticky header, language toggle, footer.src/styles/global.css: Tailwind v4 with brand tokens (--color-brand,--color-brand-600).src/i18n/routes.ts: route manifest (siblingPath, CTA label helper).public/: static assets +_redirects(root →/fr/).- Spec:
docs/spec/website-revamp-spec.md(goals, sitemap, copy, release plan).
i18n & Navigation
- Folder-based locales with different slugs (e.g., FR
avis↔ ENreviews). - Always use the route helpers for links and the language toggle; don’t hardcode cross‑locale paths.
Forms & Analytics
- Netlify Forms on
/fr/contact/and/en/contact/, with localized thank‑you pages. - Plausible events:
booking_request_submitted(primary),click_airbnb,click_booking, etc.
Contributing
- Use Conventional Commits. Include screenshots (FR/EN) for UI changes.
- Keep the spec updated when requirements change.
- See
AGENTS.mdfor contributor guidelines and the current phase plan.