Tasteful — Astro + Sanity Restaurant & Trattoria Template (CMS-Powered)
A fast, accessible Astro 7 restaurant template with a reservation form, blog, and full theming, backed by a Sanity Studio — edit every page, menu item, and blog post from a real content dashboard.
Tasteful — Astro + Sanity Restaurant & Trattoria Template (CMS-Powered)
Tasteful — Astro + Sanity Restaurant & Trattoria Template (CMS-Powered)
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
Licensing note: This template is licensed for personal use or delivery to a single client as one deployed website — not for repackaging or resale as a downloadable template, theme, or boilerplate. Every product photo included in the demo (hero, menu, about, and blog images) is premium stock imagery provided for preview purposes only; you'll need to replace these with your own licensed photography before launching your live site. Full terms in the included LICENSE file.