mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 19:51:17 +00:00
66 lines
4.7 KiB
TypeScript
66 lines
4.7 KiB
TypeScript
import { defineTemplate, describeSections, unsplash } from "../../lib/content"
|
|
|
|
const defaults = {
|
|
brand: {
|
|
name: "Trattoria Sole",
|
|
table: "Tisch 12",
|
|
note: "Bestellung bitte beim Service · Allergene auf Nachfrage",
|
|
wifi: "WLAN: Sole-Gast · Passwort: pasta2026",
|
|
},
|
|
special: {
|
|
title: "Empfehlung des Tages",
|
|
name: "Risotto al Tartufo",
|
|
text: "Carnaroli-Reis, frischer schwarzer Trüffel, gereifter Parmesan",
|
|
price: "24,50",
|
|
image: unsplash("1476224203421-9ac39bcb3327", 1000),
|
|
},
|
|
menu: {
|
|
items: [
|
|
{ category: "Antipasti", name: "Bruschetta della Casa", description: "Geröstetes Brot, Tomaten, Basilikum, Knoblauch", price: "7,50", tags: "vegan", allergens: "A", image: unsplash("1504674900247-0877df9cc836", 400) },
|
|
{ category: "Antipasti", name: "Burrata", description: "Burrata, Erbstomaten, Basilikumöl", price: "12,90", tags: "vegetarisch, glutenfrei", allergens: "G", image: "" },
|
|
{ category: "Antipasti", name: "Insalata Sole", description: "Blattsalate, Avocado, Granatapfel, Zitronendressing", price: "9,50", tags: "vegan, glutenfrei", allergens: "", image: unsplash("1540189549336-e6e99c3679fe", 400) },
|
|
{ category: "Pasta", name: "Spaghetti Aglio e Olio", description: "Knoblauch, Chili, Petersilie, Olivenöl", price: "12,50", tags: "vegan, scharf", allergens: "A", image: "" },
|
|
{ category: "Pasta", name: "Tagliatelle al Ragù", description: "Hausgemachte Tagliatelle, sechs Stunden geschmortes Ragù", price: "16,90", tags: "", allergens: "A, C, I", image: unsplash("1476224203421-9ac39bcb3327", 400) },
|
|
{ category: "Pasta", name: "Ravioli Ricotta e Spinaci", description: "Salbeibutter, Parmesan", price: "15,50", tags: "vegetarisch", allergens: "A, C, G", image: "" },
|
|
{ category: "Pizza", name: "Margherita", description: "Tomate, Fior di Latte, Basilikum", price: "10,50", tags: "vegetarisch", allergens: "A, G", image: unsplash("1565299624946-b28f40a0ae38", 400) },
|
|
{ category: "Pizza", name: "Diavola", description: "Tomate, Mozzarella, scharfe Salami, Chili", price: "13,50", tags: "scharf", allergens: "A, G", image: "" },
|
|
{ category: "Secondi", name: "Tagliata di Manzo", description: "Rinderhüfte, Rucola, Parmesan, Rosmarinkartoffeln", price: "26,90", tags: "glutenfrei", allergens: "G", image: unsplash("1600891964092-4316c288032e", 400) },
|
|
{ category: "Dolci", name: "Tiramisù", description: "Nach dem Rezept der Nonna", price: "7,50", tags: "vegetarisch", allergens: "A, C, G", image: unsplash("1578985545062-69928b1d9587", 400) },
|
|
{ category: "Getränke", name: "Hauswein, 0,2 l", description: "Montepulciano d'Abruzzo oder Pinot Grigio", price: "6,50", tags: "vegan", allergens: "O", image: unsplash("1510812431401-41d2bd2722f3", 400) },
|
|
{ category: "Getränke", name: "Espresso", description: "Aus unserer Siebträgermaschine", price: "2,60", tags: "vegan", allergens: "", image: "" },
|
|
],
|
|
},
|
|
legend: {
|
|
text: "A Gluten · C Eier · G Milch · H Schalenfrüchte · I Sellerie · O Sulfite",
|
|
},
|
|
}
|
|
|
|
export const speisekarte = defineTemplate({
|
|
key: "speisekarte",
|
|
name: "QR-Karte",
|
|
industry: "Digitale Speisekarte (QR-Code)",
|
|
description: "Für den QR-Code auf dem Tisch: mitlaufende Kategorien, Suche, Filter für vegan, vegetarisch und glutenfrei, Allergene zum Aufklappen und „Service rufen“.",
|
|
cover: unsplash("1565299624946-b28f40a0ae38", 1200),
|
|
samples: {
|
|
inquiry: "Hallo, wir möchten am Freitag mit 14 Personen zum Geburtstag kommen, drei davon essen vegan und eine Person glutenfrei. Können Sie uns einen Tisch reservieren und vorab sagen, was wir bestellen können? Danke, Laura",
|
|
topic: "Neu auf der Karte: Risotto al Tartufo",
|
|
},
|
|
palettes: [
|
|
{ key: "creme", label: "Creme", bg: "#fbf7f0", fg: "#2b2118", muted: "#7a6a5a", surface: "#f1e9dc", accent: "#b5562b" },
|
|
{ key: "schiefer", label: "Schiefer", dark: true, bg: "#121417", fg: "#f1ece4", muted: "#9a958c", surface: "#1c1f23", accent: "#e0a458" },
|
|
{ key: "olive", label: "Olive", bg: "#f5f6ef", fg: "#26301f", muted: "#6c7563", surface: "#e6e9da", accent: "#6b7f2a" },
|
|
],
|
|
fonts: [
|
|
{ key: "trattoria", label: "Lora & Inter" },
|
|
{ key: "bistro", label: "Zilla Slab & Mulish" },
|
|
],
|
|
sections: describeSections(defaults, {
|
|
brand: "Restaurant & Tisch",
|
|
special: { label: "Empfehlung", optional: true },
|
|
menu: { label: "Speisen & Getränke", items: { items: "Gericht" } },
|
|
legend: { label: "Allergene", optional: true },
|
|
}),
|
|
defaults,
|
|
})
|
|
|
|
export type SpeisekarteData = typeof speisekarte.defaults
|