b14f4c1796
New licensed lake, picnic, dining, server, burger, and food photography. Rebuilt homepage gallery, logo, colors, copy, menu, specials, and exports. Added dashboard-configurable branding in [settings.php (line 18)](/Users/tyemeclifford/Documents/GH/fatbottomgrille/views/admin/settings.php:18). Added a public attribution page and full [image credits](/Users/tyemeclifford/Documents/GH/fatbottomgrille/public/assets/images/CREDITS.md). Migrated existing SQLite menu data and admin email to admin@lakesideorders.test. Verified 51 PHP files, JSON/JavaScript, storefront pages, database migration, admin settings, and menu PDF. All passed.
52 lines
2.1 KiB
PHP
52 lines
2.1 KiB
PHP
<section class="page-hero">
|
|
<div class="container page-hero-inner">
|
|
<div>
|
|
<span class="eyebrow">From the grill to the shoreline</span>
|
|
<h1>Order Online</h1>
|
|
<p>Choose a dockside favorite and we will get your lakeside pickup moving.</p>
|
|
</div>
|
|
<form class="menu-search" action="<?= e(url('/menu')) ?>" method="get">
|
|
<label for="menu-query">Search the menu</label>
|
|
<div class="search-row">
|
|
<input id="menu-query" type="search" name="q" value="<?= e($query) ?>" placeholder="Burger, chicken, fries...">
|
|
<button class="button" type="submit">Search</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="category-jump">
|
|
<div class="container">
|
|
<?php foreach ($categories as $category): ?>
|
|
<a href="#<?= e($category['slug']) ?>"><?= e($category['name']) ?></a>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container menu-page section">
|
|
<?php if (!$categories): ?>
|
|
<div class="empty-state">
|
|
<span class="eyebrow">No match yet</span>
|
|
<h2>We could not find “<?= e($query) ?>”</h2>
|
|
<p>Try another search or browse the full menu.</p>
|
|
<a class="button" href="<?= e(url('/menu')) ?>">Clear Search</a>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php foreach ($categories as $category): ?>
|
|
<section class="menu-category" id="<?= e($category['slug']) ?>">
|
|
<div class="menu-category-heading">
|
|
<div>
|
|
<span class="category-index"><?= str_pad((string) $category['display_order'], 2, '0', STR_PAD_LEFT) ?></span>
|
|
<h2><?= e($category['name']) ?></h2>
|
|
</div>
|
|
<p><?= e($category['description']) ?></p>
|
|
</div>
|
|
<div class="menu-grid">
|
|
<?php foreach ($category['items'] as $item): ?>
|
|
<?php \FatBottom\Core\View::partial('partials/menu-card', compact('item')); ?>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</section>
|
|
<?php endforeach; ?>
|
|
</div>
|