No description
Find a file
Ruidy 3bd2b294a6 chore(deps): update astro and sitemap packages
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.
2025-11-02 21:50:38 +01:00
docs/spec chore: clean legacy files 2025-09-06 14:49:53 -04:00
public fix(seo): correct hreflang alternates by stripping locale prefix; set x-default to default locale page 2025-09-06 18:44:43 -04:00
src feat(home): add T3 Airbnb CTA in hero (FR/EN) 2025-09-08 09:44:39 -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 feat(home): add T3 Airbnb CTA in hero (FR/EN) 2025-09-08 09:44:39 -04:00
astro.config.mjs fix(seo): correct hreflang alternates by stripping locale prefix; set x-default to default locale page 2025-09-06 18:44:43 -04:00
Makefile use rich 2023-07-05 21:00:22 +02:00
netlify.toml fix(location): update Google Maps coordinates to 16.206971,-61.487159 2025-09-06 18:26:46 -04:00
package.json chore(deps): update astro and sitemap packages 2025-11-02 21:50:38 +01:00
pnpm-lock.yaml chore(deps): update astro and sitemap packages 2025-11-02 21:50:38 +01:00
pnpm-workspace.yaml chore: clean legacy files 2025-09-06 14:49:53 -04:00
README.md feat(home): add T3 Airbnb CTA in hero (FR/EN) 2025-09-08 09:44:39 -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

This site is built with Astro and Tailwind, with FR/EN locales.

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 (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 ↔ 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.