🎉 initial commit

This commit is contained in:
2026-08-17 00:22:30 +02:00
parent cd04ebe254
commit 55a51a521d
19 changed files with 1645 additions and 35 deletions
+1 -5
View File
@@ -3,6 +3,7 @@ import { createFileRoute, useRouter } from '@tanstack/react-router'
import { SiteFooter } from '#/components/site-footer'
import { SiteHeader } from '#/components/site-header'
import { formatDateTimeLocal } from '#/lib/datetime'
import { createReservation, getTables } from '#/lib/reservations'
export const Route = createFileRoute('/')({
@@ -23,11 +24,6 @@ const OPENING_HOURS = [
{ day: 'Sonntag', hours: ['11:30 – 13:30', '17:00 – 22:00'] },
]
function formatDateTimeLocal(date: Date) {
const pad = (n: number) => String(n).padStart(2, '0')
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}T${pad(date.getHours())}:${pad(date.getMinutes())}`
}
function FlameIcon() {
return (
<svg className="hero-flame" viewBox="0 0 24 24" fill="none" aria-hidden="true">