No description
Find a file
2025-09-06 14:23:58 -04:00
assets docs(spec): add website revamp specification, data, and update contributor guide 2025-09-05 11:11:34 -04:00
data change directories names 2023-06-29 20:47:44 +02:00
dist refactor(i18n): replace hrefFor usages with astro:i18n getRelativeLocaleUrl; update config and docs 2025-09-06 14:23:58 -04:00
docs/spec docs(spec): add website revamp specification, data, and update contributor guide 2025-09-05 11:11:34 -04:00
lib use rich 2023-07-05 21:00:22 +02:00
pages refactor(html): reformat and modernize HTML structure 2025-05-13 01:02:07 +02:00
public feat(i18n): add route manifest and use it for language toggle + hreflang; add alias redirects to avoid 404s on mismatched slugs 2025-09-05 11:59:18 -04:00
src refactor(i18n): replace hrefFor usages with astro:i18n getRelativeLocaleUrl; update config and docs 2025-09-06 14:23:58 -04:00
template docs(spec): add website revamp specification, data, and update contributor guide 2025-09-05 11:11:34 -04:00
.gitignore build: switch to pnpm@10.15.1 and scaffold Astro Phase 1 stubs (FR) 2025-09-05 11:29:51 -04:00
AGENTS.md refactor(i18n): replace hrefFor usages with astro:i18n getRelativeLocaleUrl; update config and docs 2025-09-06 14:23:58 -04:00
astro.config.mjs refactor(i18n): replace hrefFor usages with astro:i18n getRelativeLocaleUrl; update config and docs 2025-09-06 14:23:58 -04:00
config.toml return exit code 1 if config file is missing 2023-07-05 15:52:05 +02:00
Makefile use rich 2023-07-05 21:00:22 +02:00
package.json feat(icons): use brand color for facility icons and restore 'Crib on demand' in FR/EN 2025-09-05 13:13:15 -04:00
Pipfile use rich 2023-07-05 21:00:22 +02:00
Pipfile.lock Bump jinja2 from 3.1.4 to 3.1.5 2025-01-08 20:46:23 +00:00
pnpm-lock.yaml feat(icons): use brand color for facility icons and restore 'Crib on demand' in FR/EN 2025-09-05 13:13:15 -04:00
pnpm-workspace.yaml build: switch to pnpm@10.15.1 and scaffold Astro Phase 1 stubs (FR) 2025-09-05 11:29:51 -04:00
pyproject.toml success page 2023-05-28 14:03:49 +02:00
README.md docs: update project structure and usage in docs 2025-09-05 14:35:35 -04:00
tsconfig.json build: switch to pnpm@10.15.1 and scaffold Astro Phase 1 stubs (FR) 2025-09-05 11:29:51 -04:00

VillaFleurie Website (Astro + Tailwind)

This site is built with Astro and Tailwind, with FR/EN locales. The legacy Python generator remains for reference but is deprecated — new work happens in src/.

Quick Start

  • Requirements: Node 18+, Corepack enabled (pnpm). Then:
    • corepack enable
    • pnpm install
  • Dev server: pnpm dev → open http://localhost:4321/fr/ (root redirects to /fr/).
  • Build: pnpm build → static output in dist/. 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 (hrefFor, siblingPath, navFor).
  • 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 ↔ EN reviews).
  • Always use the route helpers for links and the language toggle; dont hardcode crosslocale paths.

Forms & Analytics

  • Netlify Forms on /fr/contact/ and /en/contact/, with localized thankyou 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.md for contributor guidelines and the current phase plan.

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.