Tasteful is a production-ready Astro 7 + Sanity template for restaurants and trattorias: home, menu, about, contact, reservation, and blog pages,
statically generated for speed and low hosting cost, with content managed in a full Sanity Studio — no code required to update copy, images, menu items, or publish a blog post.
What's included:
- Astro 7, strict TypeScript, Tailwind CSS v4
- Sanity Studio (schema-driven CMS) with typed queries — regenerate sanity.types.ts from your schema and every query is checked against your real content model
- Working reservation form — server-validated (Zod), emails the restaurant via SMTP
- OKLCH-based theming: swap one accent color and a background texture to rebrand
- Light/dark mode with OS-preference detection
- Accessibility audited with axe-core — 0 violations (WCAG 2.0/2.1, A + AA) across every page, both themes
- Portable Text rich-text editing for blog posts and long-form copy, with Sanity's CDN feeding the same responsive, auto-optimized image pipeline
- Self-hosted Google Fonts, View Transitions, sitemap generation, Prettier formatting
- Dockerfile included for a standalone, self-hosted deploy behind any reverse proxy
Prefer to skip the CMS and edit content as local files instead? See the file-based edition of this template in the catalogue.










