- Implemented the Lakeside Orders demo rebrand:
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.
@@ -1,9 +1,9 @@
|
||||
# Order
|
||||
# Lakeside Orders
|
||||
|
||||
_Fat Bottom Grille declined to review the website or proposal. Open sourced for all. The menu is not real. Orders do not work._
|
||||
_Demo restaurant website. The location and menu are fictional._
|
||||
|
||||
A dependency-light online food ordering system for Fat Bottom Grille at
|
||||
410 W Piedmont St in Keyser, West Virginia.
|
||||
A dependency-light online ordering and customer-management demo for Lakeside
|
||||
Orders, a fictional restaurant near the water.
|
||||
|
||||
## Included
|
||||
|
||||
@@ -22,6 +22,7 @@ A dependency-light online food ordering system for Fat Bottom Grille at
|
||||
- Automatic newsletter unsubscribe links
|
||||
- SQLite by default with an optional MySQL/MariaDB copy-and-switch tool
|
||||
- JSON-backed business, ordering, Square, Mailgun, and database settings
|
||||
- Public-domain and Creative Commons storefront photography with attribution
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -72,7 +73,7 @@ and assets automatically include that subdirectory.
|
||||
|
||||
## Initial Administrator
|
||||
|
||||
- Email: `admin@fatbottomgrille.com`
|
||||
- Email: `admin@lakesideorders.test`
|
||||
- Password: `ChangeMe123!`
|
||||
|
||||
Email 2FA is disabled by default for every account. It can be enabled from
|
||||
|
||||
@@ -567,6 +567,21 @@ final class AdminController extends BaseController
|
||||
'business.postal_code',
|
||||
'business.hours',
|
||||
'business.announcement',
|
||||
'branding.location_label',
|
||||
'branding.meta_description',
|
||||
'branding.hero_eyebrow',
|
||||
'branding.hero_heading',
|
||||
'branding.hero_emphasis',
|
||||
'branding.hero_intro',
|
||||
'branding.hero_image',
|
||||
'branding.gallery_picnic_image',
|
||||
'branding.gallery_patio_image',
|
||||
'branding.gallery_service_image',
|
||||
'branding.story_image',
|
||||
'branding.story_eyebrow',
|
||||
'branding.story_heading',
|
||||
'branding.story_text',
|
||||
'branding.footer_tagline',
|
||||
'square.environment',
|
||||
'square.application_id',
|
||||
'square.location_id',
|
||||
@@ -687,7 +702,9 @@ final class AdminController extends BaseController
|
||||
. '/unsubscribe?user=' . $recipient['id'] . '&signature=' . $signature;
|
||||
$html = '<p>Hi ' . htmlspecialchars((string) $recipient['full_name'], ENT_QUOTES, 'UTF-8') . ',</p>'
|
||||
. '<div>' . nl2br(htmlspecialchars($content, ENT_QUOTES, 'UTF-8')) . '</div>'
|
||||
. '<hr><p style="font-size:12px">You received this because you joined the Fat Bottom Grille news list. '
|
||||
. '<hr><p style="font-size:12px">You received this because you joined the '
|
||||
. htmlspecialchars((string) $this->config->get('business.name'), ENT_QUOTES, 'UTF-8')
|
||||
. ' news list. '
|
||||
. '<a href="' . htmlspecialchars($unsubscribe, ENT_QUOTES, 'UTF-8') . '">Unsubscribe</a></p>';
|
||||
try {
|
||||
$this->mailer->send((string) $recipient['email'], $subject, $html);
|
||||
@@ -724,7 +741,7 @@ final class AdminController extends BaseController
|
||||
$this->auth->requireStaff();
|
||||
$orders = $this->db->fetchAll('SELECT * FROM orders ORDER BY placed_at DESC');
|
||||
header('Content-Type: text/csv');
|
||||
header('Content-Disposition: attachment; filename="fat-bottom-orders-' . date('Y-m-d') . '.csv"');
|
||||
header('Content-Disposition: attachment; filename="lakeside-orders-' . date('Y-m-d') . '.csv"');
|
||||
$output = fopen('php://output', 'wb');
|
||||
fputcsv($output, [
|
||||
'Order', 'Placed', 'Customer', 'Email', 'Phone', 'Status', 'Payment',
|
||||
|
||||
@@ -48,7 +48,7 @@ final class StoreController extends BaseController
|
||||
);
|
||||
|
||||
View::render('store/home', $this->shared([
|
||||
'title' => 'Keyser comfort food, ready when you are',
|
||||
'title' => 'Lakeside food, ready when you are',
|
||||
'categories' => $categories,
|
||||
'specials' => $specials,
|
||||
'featured' => $featured,
|
||||
@@ -66,6 +66,13 @@ final class StoreController extends BaseController
|
||||
]));
|
||||
}
|
||||
|
||||
public function credits(): void
|
||||
{
|
||||
View::render('store/credits', $this->shared([
|
||||
'title' => 'Image Credits',
|
||||
]));
|
||||
}
|
||||
|
||||
public function addToCart(): void
|
||||
{
|
||||
Security::verifyCsrf();
|
||||
|
||||
@@ -306,6 +306,9 @@ SQL;
|
||||
$this->normalizeLegacyOrderStatuses();
|
||||
$this->syncCustomersFromOrders();
|
||||
});
|
||||
$this->runMigration('20260614_lakeside_orders_demo', function (): void {
|
||||
$this->applyLakesideDemoBranding();
|
||||
});
|
||||
$this->pdo->exec('CREATE UNIQUE INDEX IF NOT EXISTS idx_orders_tracking_token ON orders(tracking_token)');
|
||||
$this->pdo->exec('CREATE INDEX IF NOT EXISTS idx_orders_customer ON orders(customer_id, placed_at)');
|
||||
$this->pdo->exec('CREATE INDEX IF NOT EXISTS idx_customers_active ON customers(active, last_order_at)');
|
||||
@@ -420,6 +423,92 @@ SQL;
|
||||
}
|
||||
}
|
||||
|
||||
private function applyLakesideDemoBranding(): void
|
||||
{
|
||||
$categories = [
|
||||
[1, 'Dockside Burgers', 'dockside-burgers', 'Flame-grilled favorites stacked for hungry lake days.'],
|
||||
[2, 'Picnic Baskets', 'picnic-baskets', 'Wraps, bowls, and handhelds made to travel well.'],
|
||||
[3, 'Lakehouse Plates', 'lakehouse-plates', 'Relaxed comfort food for a proper table by the water.'],
|
||||
[4, 'Boardwalk Sides', 'boardwalk-sides', 'Shareable extras for the dock, blanket, or patio.'],
|
||||
[5, 'Cold Drinks', 'cold-drinks', 'Fresh pours for sunny afternoons.'],
|
||||
];
|
||||
$categoryStatement = $this->pdo->prepare(
|
||||
'UPDATE menu_categories
|
||||
SET name = ?, slug = ?, description = ?, updated_at = CURRENT_TIMESTAMP
|
||||
WHERE id = ?'
|
||||
);
|
||||
foreach ($categories as [$id, $name, $slug, $description]) {
|
||||
$categoryStatement->execute([$name, $slug, $description, $id]);
|
||||
}
|
||||
|
||||
$items = [
|
||||
[1, 1, 'Lakeside Double', 'lakeside-double', 'Two grilled patties, cheddar, lettuce, tomato, pickles, and dock sauce.', 1299, '/assets/images/lakeside-burger.jpg', '["House favorite"]', 1],
|
||||
[2, 1, 'Dockmaster Bacon Burger', 'dockmaster-bacon-burger', 'Two patties, smoked bacon, cheddar, crisp lettuce, tomato, and onion.', 1399, '/assets/images/lakeside-burger.jpg', '[]', 1],
|
||||
[3, 1, 'Sunset Mushroom Melt', 'sunset-mushroom-melt', 'Grilled beef, Swiss, mushrooms, caramelized onions, and peppercorn mayo.', 1299, '/assets/images/lakeside-burger.jpg', '[]', 0],
|
||||
[4, 2, 'Marina Chicken Wrap', 'marina-chicken-wrap', 'Chicken, spinach, tomato, cucumber, and creamy herb dressing in a soft wrap.', 1199, '/assets/images/picnic-wrap.jpg', '["Picnic pick"]', 1],
|
||||
[5, 2, 'Shoreline Falafel Bowl', 'shoreline-falafel-bowl', 'Falafel, seasoned rice, bright slaw, peppers, herbs, lemon, and green tahini.', 1249, '/assets/images/shoreline-bowl.jpg', '["Vegetarian"]', 1],
|
||||
[6, 3, 'Lakehouse Chicken Plate', 'lakehouse-chicken-plate', 'Seasoned chicken legs with a creamy picnic side and rotating vegetables.', 1499, '/assets/images/lakehouse-chicken.jpg', '[]', 1],
|
||||
[7, 3, 'Picnic Club Wrap', 'picnic-club-wrap', 'Sliced chicken, greens, tomato, smoky bacon, and herb dressing.', 1299, '/assets/images/picnic-wrap.jpg', '[]', 0],
|
||||
[8, 4, 'Boardwalk Fries', 'boardwalk-fries', 'Golden fries finished with flaky salt and your choice of dipping sauce.', 599, '/assets/images/boardwalk-fries.jpg', '["Vegetarian"]', 1],
|
||||
[9, 4, 'Garden Side Bowl', 'garden-side-bowl', 'Rice, chopped vegetables, herbs, lemon, and creamy green dressing.', 649, '/assets/images/shoreline-bowl.jpg', '["Vegetarian"]', 0],
|
||||
[10, 5, 'Lemon Iced Tea', 'lemon-iced-tea', 'Fresh-brewed iced tea served with lemon.', 299, '/assets/images/lemon-iced-tea.jpg', '[]', 0],
|
||||
[11, 5, 'Lakeside Lemonade', 'lakeside-lemonade', 'Bright house lemonade poured over ice.', 329, '/assets/images/lemon-iced-tea.jpg', '[]', 0],
|
||||
];
|
||||
$itemStatement = $this->pdo->prepare(
|
||||
'UPDATE menu_items
|
||||
SET category_id = ?, name = ?, slug = ?, description = ?, price_cents = ?,
|
||||
image_url = ?, dietary_tags = ?, featured = ?, updated_at = CURRENT_TIMESTAMP
|
||||
WHERE id = ?'
|
||||
);
|
||||
foreach ($items as [$id, $categoryId, $name, $slug, $description, $price, $image, $tags, $featured]) {
|
||||
$itemStatement->execute([
|
||||
$categoryId,
|
||||
$name,
|
||||
$slug,
|
||||
$description,
|
||||
$price,
|
||||
$image,
|
||||
$tags,
|
||||
$featured,
|
||||
$id,
|
||||
]);
|
||||
}
|
||||
|
||||
$specialStatement = $this->pdo->prepare(
|
||||
'UPDATE specials
|
||||
SET menu_item_id = ?, title = ?, description = ?, badge = ?, price_cents = ?,
|
||||
updated_at = CURRENT_TIMESTAMP
|
||||
WHERE id = ?'
|
||||
);
|
||||
$specialStatement->execute([
|
||||
1,
|
||||
'Sunset Burger Pick',
|
||||
'The Lakeside Double at its easygoing online demo price.',
|
||||
'Dock Deal',
|
||||
1299,
|
||||
1,
|
||||
]);
|
||||
$specialStatement->execute([
|
||||
8,
|
||||
'Boardwalk Break',
|
||||
'A hot order of Boardwalk Fries for the table or picnic blanket.',
|
||||
'Picnic Pick',
|
||||
599,
|
||||
2,
|
||||
]);
|
||||
|
||||
$this->pdo->exec("UPDATE tax_rates SET name = 'Demo State Sales Tax' WHERE id = 1");
|
||||
$this->pdo->exec("UPDATE tax_rates SET name = 'Lakeview Demo Tax' WHERE id = 2");
|
||||
$this->pdo->exec(
|
||||
"UPDATE users SET email = 'admin@lakesideorders.test'
|
||||
WHERE email = 'admin@fatbottomgrille.com'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1 FROM users AS existing
|
||||
WHERE existing.email = 'admin@lakesideorders.test'
|
||||
)"
|
||||
);
|
||||
}
|
||||
|
||||
private function seed(): void
|
||||
{
|
||||
$categoryCount = (int) $this->pdo->query('SELECT COUNT(*) FROM menu_categories')->fetchColumn();
|
||||
@@ -430,11 +519,11 @@ SQL;
|
||||
$this->pdo->beginTransaction();
|
||||
try {
|
||||
$categories = [
|
||||
['Smash Burgers', 'smash-burgers', 'Hand-pressed beef, crisp edges, and the good stuff.', 10],
|
||||
['Burritos & Bowls', 'burritos-bowls', 'Big, packed, and built your way.', 20],
|
||||
['Dinner Plates', 'dinner-plates', 'Comfort-food plates made for a proper supper.', 30],
|
||||
['Sides', 'sides', 'The supporting cast that tends to steal the show.', 40],
|
||||
['Drinks', 'drinks', 'Cold drinks for hot food.', 50],
|
||||
['Dockside Burgers', 'dockside-burgers', 'Flame-grilled favorites stacked for hungry lake days.', 10],
|
||||
['Picnic Baskets', 'picnic-baskets', 'Wraps, bowls, and handhelds made to travel well.', 20],
|
||||
['Lakehouse Plates', 'lakehouse-plates', 'Relaxed comfort food for a proper table by the water.', 30],
|
||||
['Boardwalk Sides', 'boardwalk-sides', 'Shareable extras for the dock, blanket, or patio.', 40],
|
||||
['Cold Drinks', 'cold-drinks', 'Fresh pours for sunny afternoons.', 50],
|
||||
];
|
||||
$categoryStatement = $this->pdo->prepare(
|
||||
'INSERT INTO menu_categories (name, slug, description, display_order) VALUES (?, ?, ?, ?)'
|
||||
@@ -449,22 +538,22 @@ SQL;
|
||||
}
|
||||
|
||||
$items = [
|
||||
['smash-burgers', 'The Fat Bottom', 'the-fat-bottom', 'Two smashed patties, American cheese, grilled onion, pickles, and house sauce.', 1199, 1, '["House favorite"]'],
|
||||
['smash-burgers', 'Piedmont Bacon Burger', 'piedmont-bacon-burger', 'Two patties, smoked bacon, cheddar, lettuce, tomato, onion, and burger sauce.', 1349, 1, '[]'],
|
||||
['smash-burgers', 'Allegheny Melt', 'allegheny-melt', 'Smashed beef, Swiss, caramelized onions, and peppercorn mayo on toasted sourdough.', 1299, 0, '[]'],
|
||||
['burritos-bowls', 'Mountaineer Burrito', 'mountaineer-burrito', 'Seasoned beef, rice, black beans, queso, pico, lettuce, and crema.', 1249, 1, '["Big appetite"]'],
|
||||
['burritos-bowls', 'Chicken Fajita Bowl', 'chicken-fajita-bowl', 'Grilled chicken, peppers, onions, rice, corn salsa, avocado crema.', 1199, 0, '["Gluten conscious"]'],
|
||||
['dinner-plates', 'Country Fried Chicken', 'country-fried-chicken', 'Crispy chicken, peppered gravy, mashed potatoes, and green beans.', 1499, 1, '[]'],
|
||||
['dinner-plates', 'Keyser Meatloaf', 'keyser-meatloaf', 'House meatloaf with brown gravy, mashed potatoes, and seasonal vegetables.', 1449, 0, '[]'],
|
||||
['sides', 'Loaded Fries', 'loaded-fries', 'Crispy fries, queso, bacon, scallions, and ranch drizzle.', 699, 1, '[]'],
|
||||
['sides', 'Mac & Cheese', 'mac-cheese', 'Creamy, baked, and unapologetically cheesy.', 449, 0, '["Vegetarian"]'],
|
||||
['drinks', 'Sweet Tea', 'sweet-tea', 'Fresh-brewed southern sweet tea.', 299, 0, '[]'],
|
||||
['drinks', 'Fountain Drink', 'fountain-drink', 'Your choice of fountain soda.', 299, 0, '[]'],
|
||||
['dockside-burgers', 'Lakeside Double', 'lakeside-double', 'Two grilled patties, cheddar, lettuce, tomato, pickles, and dock sauce.', 1299, '/assets/images/lakeside-burger.jpg', 1, '["House favorite"]'],
|
||||
['dockside-burgers', 'Dockmaster Bacon Burger', 'dockmaster-bacon-burger', 'Two patties, smoked bacon, cheddar, crisp lettuce, tomato, and onion.', 1399, '/assets/images/lakeside-burger.jpg', 1, '[]'],
|
||||
['dockside-burgers', 'Sunset Mushroom Melt', 'sunset-mushroom-melt', 'Grilled beef, Swiss, mushrooms, caramelized onions, and peppercorn mayo.', 1299, '/assets/images/lakeside-burger.jpg', 0, '[]'],
|
||||
['picnic-baskets', 'Marina Chicken Wrap', 'marina-chicken-wrap', 'Chicken, spinach, tomato, cucumber, and creamy herb dressing in a soft wrap.', 1199, '/assets/images/picnic-wrap.jpg', 1, '["Picnic pick"]'],
|
||||
['picnic-baskets', 'Shoreline Falafel Bowl', 'shoreline-falafel-bowl', 'Falafel, seasoned rice, bright slaw, peppers, herbs, lemon, and green tahini.', 1249, '/assets/images/shoreline-bowl.jpg', 1, '["Vegetarian"]'],
|
||||
['lakehouse-plates', 'Lakehouse Chicken Plate', 'lakehouse-chicken-plate', 'Seasoned chicken legs with a creamy picnic side and rotating vegetables.', 1499, '/assets/images/lakehouse-chicken.jpg', 1, '[]'],
|
||||
['lakehouse-plates', 'Picnic Club Wrap', 'picnic-club-wrap', 'Sliced chicken, greens, tomato, smoky bacon, and herb dressing.', 1299, '/assets/images/picnic-wrap.jpg', 0, '[]'],
|
||||
['boardwalk-sides', 'Boardwalk Fries', 'boardwalk-fries', 'Golden fries finished with flaky salt and your choice of dipping sauce.', 599, '/assets/images/boardwalk-fries.jpg', 1, '["Vegetarian"]'],
|
||||
['boardwalk-sides', 'Garden Side Bowl', 'garden-side-bowl', 'Rice, chopped vegetables, herbs, lemon, and creamy green dressing.', 649, '/assets/images/shoreline-bowl.jpg', 0, '["Vegetarian"]'],
|
||||
['cold-drinks', 'Lemon Iced Tea', 'lemon-iced-tea', 'Fresh-brewed iced tea served with lemon.', 299, '/assets/images/lemon-iced-tea.jpg', 0, '[]'],
|
||||
['cold-drinks', 'Lakeside Lemonade', 'lakeside-lemonade', 'Bright house lemonade poured over ice.', 329, '/assets/images/lemon-iced-tea.jpg', 0, '[]'],
|
||||
];
|
||||
$itemStatement = $this->pdo->prepare(
|
||||
'INSERT INTO menu_items
|
||||
(category_id, name, slug, description, price_cents, featured, dietary_tags)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?)'
|
||||
(category_id, name, slug, description, price_cents, image_url, featured, dietary_tags)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?)'
|
||||
);
|
||||
foreach ($items as $item) {
|
||||
$itemStatement->execute([
|
||||
@@ -475,32 +564,33 @@ SQL;
|
||||
$item[4],
|
||||
$item[5],
|
||||
$item[6],
|
||||
$item[7],
|
||||
]);
|
||||
}
|
||||
|
||||
$fatBottomId = (int) $this->pdo->query(
|
||||
"SELECT id FROM menu_items WHERE slug = 'the-fat-bottom'"
|
||||
$lakesideDoubleId = (int) $this->pdo->query(
|
||||
"SELECT id FROM menu_items WHERE slug = 'lakeside-double'"
|
||||
)->fetchColumn();
|
||||
$loadedFriesId = (int) $this->pdo->query(
|
||||
"SELECT id FROM menu_items WHERE slug = 'loaded-fries'"
|
||||
$boardwalkFriesId = (int) $this->pdo->query(
|
||||
"SELECT id FROM menu_items WHERE slug = 'boardwalk-fries'"
|
||||
)->fetchColumn();
|
||||
$specialStatement = $this->pdo->prepare(
|
||||
'INSERT INTO specials (menu_item_id, title, description, badge, price_cents, display_order)
|
||||
VALUES (?, ?, ?, ?, ?, ?)'
|
||||
);
|
||||
$specialStatement->execute([
|
||||
$fatBottomId,
|
||||
'The Fat Bottom Deal',
|
||||
'Our signature burger at a special online price.',
|
||||
'Online Special',
|
||||
1099,
|
||||
$lakesideDoubleId,
|
||||
'Sunset Burger Pick',
|
||||
'The Lakeside Double at its easygoing online demo price.',
|
||||
'Dock Deal',
|
||||
1299,
|
||||
10,
|
||||
]);
|
||||
$specialStatement->execute([
|
||||
$loadedFriesId,
|
||||
'Loaded-Up Lunch',
|
||||
'Loaded fries are $1 off weekdays from 11 to 2.',
|
||||
'Weekday Deal',
|
||||
$boardwalkFriesId,
|
||||
'Boardwalk Break',
|
||||
'A hot order of Boardwalk Fries for the table or picnic blanket.',
|
||||
'Picnic Pick',
|
||||
599,
|
||||
20,
|
||||
]);
|
||||
@@ -508,8 +598,8 @@ SQL;
|
||||
$taxStatement = $this->pdo->prepare(
|
||||
'INSERT INTO tax_rates (name, jurisdiction, rate_basis_points) VALUES (?, ?, ?)'
|
||||
);
|
||||
$taxStatement->execute(['West Virginia Sales Tax', 'state', 600]);
|
||||
$taxStatement->execute(['Keyser Municipal Tax', 'city', 100]);
|
||||
$taxStatement->execute(['Demo State Sales Tax', 'state', 600]);
|
||||
$taxStatement->execute(['Lakeview Demo Tax', 'city', 100]);
|
||||
|
||||
$adminStatement = $this->pdo->prepare(
|
||||
'INSERT INTO users
|
||||
@@ -518,7 +608,7 @@ SQL;
|
||||
VALUES (?, ?, ?, ?, ?, ?, 0, CURRENT_TIMESTAMP)'
|
||||
);
|
||||
$adminStatement->execute([
|
||||
'admin@fatbottomgrille.com',
|
||||
'admin@lakesideorders.test',
|
||||
password_hash('ChangeMe123!', PASSWORD_DEFAULT),
|
||||
'Store Administrator',
|
||||
'',
|
||||
|
||||
@@ -32,7 +32,7 @@ final class Mailer
|
||||
|
||||
$from = sprintf(
|
||||
'%s <%s>',
|
||||
$this->config->get('mailgun.from_name', 'Fat Bottom Grille'),
|
||||
$this->config->get('mailgun.from_name', 'Lakeside Orders'),
|
||||
$this->config->get('mailgun.from_email')
|
||||
);
|
||||
|
||||
@@ -77,4 +77,3 @@ final class Mailer
|
||||
file_put_contents($directory . '/mail.log', $line, FILE_APPEND | LOCK_EX);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ final class MenuPdfExporter
|
||||
|
||||
$pdf = $this->buildPdf($pages);
|
||||
header('Content-Type: application/pdf');
|
||||
header('Content-Disposition: attachment; filename="fat-bottom-grille-menu.pdf"');
|
||||
header('Content-Disposition: attachment; filename="lakeside-orders-menu.pdf"');
|
||||
header('Content-Length: ' . strlen($pdf));
|
||||
echo $pdf;
|
||||
exit;
|
||||
@@ -52,7 +52,7 @@ final class MenuPdfExporter
|
||||
|
||||
$stream = "0.035 0.071 0.102 rg\n0 0 612 792 re f\n";
|
||||
$stream .= "0.78 0.58 0.20 rg\nBT /F1 25 Tf 46 738 Td (" . $escape($businessName) . ") Tj ET\n";
|
||||
$stream .= "0.91 0.92 0.90 rg\nBT /F1 10 Tf 46 718 Td (KEYSER, WEST VIRGINIA | ONLINE MENU) Tj ET\n";
|
||||
$stream .= "0.91 0.92 0.90 rg\nBT /F1 10 Tf 46 718 Td (LAKESIDE PICKUP | ONLINE MENU) Tj ET\n";
|
||||
$stream .= "0.78 0.58 0.20 RG\n46 704 m 566 704 l S\n";
|
||||
$y = 678;
|
||||
foreach ($lines as $line) {
|
||||
|
||||
@@ -89,7 +89,7 @@ final class OrderStatusService
|
||||
"Hi {{customer_name}},\n\nYour order {{order_number}} is now {{status_label}}.\n\n{{note}}\n\n{{tracking_url}}"
|
||||
);
|
||||
$values = [
|
||||
'{{business_name}}' => (string) $this->config->get('business.name', 'Fat Bottom Grille'),
|
||||
'{{business_name}}' => (string) $this->config->get('business.name', 'Lakeside Orders'),
|
||||
'{{customer_name}}' => (string) $order['customer_name'],
|
||||
'{{order_number}}' => (string) $order['order_number'],
|
||||
'{{status_label}}' => order_status_label($status),
|
||||
|
||||
@@ -27,9 +27,10 @@ final class TwoFactorService
|
||||
);
|
||||
|
||||
$name = htmlspecialchars((string) $user['full_name'], ENT_QUOTES, 'UTF-8');
|
||||
$businessName = (string) $this->config->get('business.name', 'Lakeside Orders');
|
||||
$this->mailer->send(
|
||||
(string) $user['email'],
|
||||
'Your Fat Bottom Grille verification code',
|
||||
"Your {$businessName} verification code",
|
||||
"<p>Hi {$name},</p><p>Your verification code is <strong>{$code}</strong>.</p><p>It expires in 10 minutes.</p>"
|
||||
);
|
||||
|
||||
|
||||
@@ -2,22 +2,39 @@
|
||||
|
||||
return [
|
||||
'app' => [
|
||||
'name' => 'Fat Bottom Grille',
|
||||
'name' => 'Lakeside Orders',
|
||||
'url' => 'http://localhost:8080',
|
||||
'key' => '',
|
||||
'timezone' => 'America/New_York',
|
||||
'environment' => 'development',
|
||||
],
|
||||
'business' => [
|
||||
'name' => 'Fat Bottom Grille',
|
||||
'name' => 'Lakeside Orders',
|
||||
'phone' => '',
|
||||
'email' => '',
|
||||
'street' => '410 W Piedmont St',
|
||||
'city' => 'Keyser',
|
||||
'state' => 'WV',
|
||||
'postal_code' => '26726',
|
||||
'hours' => 'Hours coming soon',
|
||||
'announcement' => 'Big flavor, made right here in Keyser.',
|
||||
'street' => '12 Marina Way',
|
||||
'city' => 'Lakeview',
|
||||
'state' => 'MI',
|
||||
'postal_code' => '00000',
|
||||
'hours' => 'Demo hours: daily 11 AM-8 PM',
|
||||
'announcement' => 'Demo ordering for easy days by the water.',
|
||||
],
|
||||
'branding' => [
|
||||
'location_label' => 'Lakeview Commons',
|
||||
'meta_description' => 'Order dockside burgers, picnic-ready wraps, bowls, sides, and cold drinks from Lakeside Orders.',
|
||||
'hero_eyebrow' => 'Lake days. Easy pickup.',
|
||||
'hero_heading' => 'Order by the water.',
|
||||
'hero_emphasis' => 'Picnic anywhere.',
|
||||
'hero_intro' => 'Burgers, picnic baskets, fresh bowls, and lakehouse favorites made for dock days, patio tables, and sunset suppers.',
|
||||
'hero_image' => 'assets/images/lakeside-burger.jpg',
|
||||
'gallery_picnic_image' => 'assets/images/lakeside-picnic.jpg',
|
||||
'gallery_patio_image' => 'assets/images/patio-dining.jpg',
|
||||
'gallery_service_image' => 'assets/images/garden-dining.jpg',
|
||||
'story_image' => 'assets/images/lakeside-sunset.jpg',
|
||||
'story_eyebrow' => 'Made for lake days',
|
||||
'story_heading' => 'Good food travels well.',
|
||||
'story_text' => 'Lakeside Orders is a demo restaurant experience built around relaxed pickup, picnic-ready meals, and welcoming tables near the water.',
|
||||
'footer_tagline' => 'Dockside burgers, picnic-ready favorites, and a table near the water.',
|
||||
],
|
||||
'ordering' => [
|
||||
'accepting_orders' => true,
|
||||
@@ -35,8 +52,8 @@ return [
|
||||
'enabled' => false,
|
||||
'domain' => '',
|
||||
'api_key' => '',
|
||||
'from_name' => 'Fat Bottom Grille',
|
||||
'from_email' => 'orders@fatbottomgrille.com',
|
||||
'from_name' => 'Lakeside Orders',
|
||||
'from_email' => 'orders@lakesideorders.test',
|
||||
],
|
||||
'order_emails' => [
|
||||
'pending' => [
|
||||
@@ -68,7 +85,7 @@ return [
|
||||
'driver' => 'sqlite',
|
||||
'mysql_host' => '127.0.0.1',
|
||||
'mysql_port' => 3306,
|
||||
'mysql_database' => 'fatbottomgrille',
|
||||
'mysql_database' => 'lakesideorders',
|
||||
'mysql_username' => '',
|
||||
'mysql_password' => '',
|
||||
],
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
--ink-soft: #0e1d2b;
|
||||
--navy: #12283b;
|
||||
--navy-light: #1c3a50;
|
||||
--gold: #c8973b;
|
||||
--gold-light: #e1b75e;
|
||||
--gold: #35d6c1;
|
||||
--gold-light: #8af5e6;
|
||||
--cream: #f3eedf;
|
||||
--paper: #faf7ef;
|
||||
--white: #ffffff;
|
||||
@@ -41,9 +41,10 @@ body {
|
||||
|
||||
body.store-body {
|
||||
background-image:
|
||||
radial-gradient(circle at 0 0, rgba(200, 151, 59, 0.08), transparent 28%),
|
||||
radial-gradient(circle at 0 0, rgba(53, 214, 193, 0.1), transparent 28%),
|
||||
radial-gradient(circle at 92% 12%, rgba(114, 92, 255, 0.09), transparent 24%),
|
||||
linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
|
||||
background-size: auto, 100% 22px;
|
||||
background-size: auto, auto, 100% 22px;
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -409,8 +410,8 @@ h3 {
|
||||
overflow: hidden;
|
||||
color: var(--cream);
|
||||
background:
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.99) 0%, rgba(8, 20, 30, 0.96) 48%, rgba(8, 18, 28, 0.76) 100%),
|
||||
url("images/reuben-fries.jpg") center 48% / cover no-repeat;
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.99) 0%, rgba(8, 20, 30, 0.95) 46%, rgba(8, 18, 28, 0.48) 100%),
|
||||
url("images/lakeside-sunset.jpg") center 56% / cover no-repeat;
|
||||
}
|
||||
|
||||
.hero::after {
|
||||
@@ -708,25 +709,25 @@ h3 {
|
||||
.special-card:nth-child(4n + 1) {
|
||||
background-image:
|
||||
linear-gradient(112deg, rgba(5, 12, 18, 0.98), rgba(8, 18, 28, 0.82)),
|
||||
url("images/quesadilla.jpg");
|
||||
url("images/lakeside-burger.jpg");
|
||||
}
|
||||
|
||||
.special-card:nth-child(4n + 2) {
|
||||
background-image:
|
||||
linear-gradient(112deg, rgba(5, 12, 18, 0.98), rgba(8, 18, 28, 0.8)),
|
||||
url("images/sausage-kale-soup.jpg");
|
||||
url("images/boardwalk-fries.jpg");
|
||||
}
|
||||
|
||||
.special-card:nth-child(4n + 3) {
|
||||
background-image:
|
||||
linear-gradient(112deg, rgba(5, 12, 18, 0.98), rgba(8, 18, 28, 0.78)),
|
||||
url("images/grilled-chicken-salad.jpg");
|
||||
url("images/shoreline-bowl.jpg");
|
||||
}
|
||||
|
||||
.special-card:nth-child(4n + 4) {
|
||||
background-image:
|
||||
linear-gradient(112deg, rgba(5, 12, 18, 0.98), rgba(8, 18, 28, 0.8)),
|
||||
url("images/curry-rice.jpg");
|
||||
url("images/picnic-wrap.jpg");
|
||||
}
|
||||
|
||||
.special-card::after {
|
||||
@@ -832,43 +833,43 @@ h3 {
|
||||
.menu-card:nth-child(7n + 1) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/reuben-fries.jpg");
|
||||
url("images/lakeside-burger.jpg");
|
||||
}
|
||||
|
||||
.menu-card:nth-child(7n + 2) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/chicken-sandwich-fries.jpg");
|
||||
url("images/picnic-wrap.jpg");
|
||||
}
|
||||
|
||||
.menu-card:nth-child(7n + 3) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/quesadilla.jpg");
|
||||
url("images/shoreline-bowl.jpg");
|
||||
}
|
||||
|
||||
.menu-card:nth-child(7n + 4) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/curry-rice.jpg");
|
||||
url("images/lakehouse-chicken.jpg");
|
||||
}
|
||||
|
||||
.menu-card:nth-child(7n + 5) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/italian-sub.jpg");
|
||||
url("images/boardwalk-fries.jpg");
|
||||
}
|
||||
|
||||
.menu-card:nth-child(7n + 6) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/sausage-kale-soup.jpg");
|
||||
url("images/lemon-iced-tea.jpg");
|
||||
}
|
||||
|
||||
.menu-card:nth-child(7n) .menu-card-art:not(.has-image) {
|
||||
background-image:
|
||||
linear-gradient(rgba(5, 12, 18, 0.62), rgba(5, 12, 18, 0.86)),
|
||||
url("images/grilled-chicken-salad.jpg");
|
||||
url("images/patio-dining.jpg");
|
||||
}
|
||||
|
||||
.menu-card-art:not(.has-image) {
|
||||
@@ -968,6 +969,78 @@ h3 {
|
||||
background: #08141f;
|
||||
}
|
||||
|
||||
.lakeside-gallery {
|
||||
background:
|
||||
radial-gradient(circle at 92% 16%, rgba(239, 91, 161, 0.11), transparent 28%),
|
||||
radial-gradient(circle at 8% 84%, rgba(31, 124, 255, 0.1), transparent 30%),
|
||||
#07131d;
|
||||
}
|
||||
|
||||
.experience-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.experience-card {
|
||||
position: relative;
|
||||
min-height: 320px;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
background: var(--navy);
|
||||
border: 1px solid rgba(138, 245, 230, 0.2);
|
||||
border-radius: var(--radius-large);
|
||||
}
|
||||
|
||||
.experience-card-wide {
|
||||
min-height: 470px;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.experience-card img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 420ms ease;
|
||||
}
|
||||
|
||||
.experience-card:hover img {
|
||||
transform: scale(1.025);
|
||||
}
|
||||
|
||||
.experience-card::after {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(transparent 38%, rgba(5, 12, 18, 0.9));
|
||||
content: "";
|
||||
}
|
||||
|
||||
.experience-card figcaption {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
right: 26px;
|
||||
bottom: 24px;
|
||||
left: 26px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.experience-card figcaption span {
|
||||
color: var(--gold-light);
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.experience-card figcaption strong {
|
||||
color: var(--cream);
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(1.8rem, 4vw, 3.4rem);
|
||||
line-height: 1;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.category-band {
|
||||
padding-block: 55px;
|
||||
color: var(--cream);
|
||||
@@ -1034,10 +1107,23 @@ h3 {
|
||||
min-height: 410px;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
color: var(--gold);
|
||||
background:
|
||||
linear-gradient(rgba(5, 12, 18, 0.58), rgba(5, 12, 18, 0.9)),
|
||||
url("images/italian-sub.jpg") center / cover no-repeat;
|
||||
color: var(--gold-light);
|
||||
background: var(--navy);
|
||||
}
|
||||
|
||||
.story-art::after {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(rgba(5, 12, 18, 0.16), rgba(5, 12, 18, 0.78));
|
||||
content: "";
|
||||
}
|
||||
|
||||
.story-art img {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.story-number {
|
||||
@@ -1069,7 +1155,7 @@ h3 {
|
||||
color: var(--cream);
|
||||
background:
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.97), rgba(8, 18, 28, 0.8)),
|
||||
url("images/italian-sub.jpg") center 55% / cover no-repeat;
|
||||
url("images/lakeside-sunset.jpg") center 56% / cover no-repeat;
|
||||
}
|
||||
|
||||
.page-hero-compact {
|
||||
@@ -1086,6 +1172,41 @@ h3 {
|
||||
color: #b9c4ca;
|
||||
}
|
||||
|
||||
.narrow-content {
|
||||
max-width: 880px;
|
||||
}
|
||||
|
||||
.credits-list {
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.credits-list article {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 25px;
|
||||
padding-block: 22px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.credits-list h2 {
|
||||
margin-bottom: 5px;
|
||||
color: var(--cream);
|
||||
font-size: 1.35rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.credits-list p,
|
||||
.credits-note {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.84rem;
|
||||
}
|
||||
|
||||
.credits-note {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.page-hero-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr minmax(340px, 0.55fr);
|
||||
@@ -1958,8 +2079,8 @@ textarea:focus {
|
||||
padding-top: 68px;
|
||||
color: #b6c0c6;
|
||||
background:
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.99), rgba(5, 12, 18, 0.94)),
|
||||
url("images/fat-bottom-grille-logo.jpg") right -80px center / 520px no-repeat,
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.99), rgba(5, 12, 18, 0.86)),
|
||||
url("images/lakeside-sunset.jpg") center 62% / cover no-repeat,
|
||||
#050c12;
|
||||
}
|
||||
|
||||
@@ -2047,14 +2168,14 @@ textarea:focus {
|
||||
|
||||
.store-body .story-section {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(8, 18, 28, 0.99), rgba(8, 18, 28, 0.92)),
|
||||
url("images/sausage-kale-soup.jpg") right center / 46% auto no-repeat;
|
||||
radial-gradient(circle at 86% 20%, rgba(114, 92, 255, 0.12), transparent 30%),
|
||||
#08121c;
|
||||
}
|
||||
|
||||
.store-body .category-band {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.98), rgba(5, 12, 18, 0.86)),
|
||||
url("images/curry-rice.jpg") center 56% / cover no-repeat;
|
||||
url("images/patio-dining.jpg") center 48% / cover no-repeat;
|
||||
}
|
||||
|
||||
.store-body .menu-category-heading {
|
||||
@@ -2116,20 +2237,20 @@ textarea:focus {
|
||||
.store-body .order-summary {
|
||||
background:
|
||||
linear-gradient(145deg, rgba(8, 18, 28, 0.98), rgba(8, 18, 28, 0.88)),
|
||||
url("images/quesadilla.jpg") center / cover no-repeat;
|
||||
url("images/lakeside-burger.jpg") center / cover no-repeat;
|
||||
border: 1px solid rgba(200, 151, 59, 0.22);
|
||||
}
|
||||
|
||||
.store-body .auth-section {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(5, 12, 18, 0.97), rgba(8, 18, 28, 0.87)),
|
||||
url("images/grilled-chicken-salad.jpg") center / cover no-repeat;
|
||||
url("images/garden-dining.jpg") center / cover no-repeat;
|
||||
}
|
||||
|
||||
.store-body .confirmation-section {
|
||||
background:
|
||||
linear-gradient(rgba(5, 12, 18, 0.94), rgba(5, 12, 18, 0.97)),
|
||||
url("images/sausage-kale-soup.jpg") center / cover no-repeat;
|
||||
url("images/lakeside-sunset.jpg") center / cover no-repeat;
|
||||
}
|
||||
|
||||
.store-body .status-pill {
|
||||
@@ -3319,6 +3440,10 @@ code {
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.experience-card-wide {
|
||||
min-height: 390px;
|
||||
}
|
||||
|
||||
.story-art {
|
||||
min-height: 320px;
|
||||
}
|
||||
@@ -3464,6 +3589,7 @@ code {
|
||||
}
|
||||
|
||||
.menu-grid,
|
||||
.experience-grid,
|
||||
.category-links,
|
||||
.footer-grid,
|
||||
.form-grid,
|
||||
@@ -3474,6 +3600,18 @@ code {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.experience-card,
|
||||
.experience-card-wide {
|
||||
min-height: 280px;
|
||||
grid-column: auto;
|
||||
}
|
||||
|
||||
.credits-list article {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.category-links a {
|
||||
min-height: 85px;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# Lakeside Orders image credits
|
||||
|
||||
The active demo photography was sourced from Wikimedia Commons. Images may be
|
||||
cropped or resized by the website through CSS.
|
||||
|
||||
- `lakeside-sunset.jpg` - Bonnie Moreland, public domain:
|
||||
https://commons.wikimedia.org/wiki/File:Sunset_Odell_Lake,_Oregon_-_Flickr_-_Bonnie_Moreland_(free_images).jpg
|
||||
- `lakeside-picnic.jpg` - Gholamreza Shamsnetari, CC BY 4.0:
|
||||
https://commons.wikimedia.org/wiki/File:Sizdah_Be-Dar_2018,_Valasht_Lake_(13970114000329636583522676851541_54966).jpg
|
||||
- `patio-dining.jpg` - Elvert Barnes, CC BY-SA 2.0:
|
||||
https://commons.wikimedia.org/wiki/File:People_eating_outside_restaurant_Baltimore.jpg
|
||||
- `garden-dining.jpg` - Ibrahim Achiri, CC BY-SA 4.0:
|
||||
https://commons.wikimedia.org/wiki/File:People_dining_and_socializing_at_Zen_Garden.jpg
|
||||
- `lakeside-burger.jpg` - Daderot, CC0:
|
||||
https://commons.wikimedia.org/wiki/File:Hamburger_with_blue_cheese,_guacamole,_and_other_toppings,_plus_French_fries_-_Massachusetts.jpg
|
||||
- `picnic-wrap.jpg` - Tomwsulcer, CC0:
|
||||
https://commons.wikimedia.org/wiki/File:Lunch_chicken_wrap_with_spinach_and_sauce.JPG
|
||||
- `shoreline-bowl.jpg` - Andy Li, CC0:
|
||||
https://commons.wikimedia.org/wiki/File:Falafel_Super_Bowl_Salad_-_Leon_2025-10-27.jpg
|
||||
- `lakehouse-chicken.jpg` - Vyacheslav Argenberg, CC BY 4.0:
|
||||
https://commons.wikimedia.org/wiki/File:Fried_chicken_legs,_Rostov-on-Don,_Russia.jpg
|
||||
- `lemon-iced-tea.jpg` - Renee Comet, public domain:
|
||||
https://commons.wikimedia.org/wiki/File:Iced_tea.jpg
|
||||
- `boardwalk-fries.jpg` - Thriving Vegetarian, CC BY 2.0:
|
||||
https://commons.wikimedia.org/wiki/File:Perfect_French_Fries_-_11457817933.jpg
|
||||
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 732 KiB |
|
After Width: | Height: | Size: 173 KiB |
|
After Width: | Height: | Size: 316 KiB |
@@ -0,0 +1,27 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" role="img" aria-labelledby="title">
|
||||
<title id="title">Lakeside Orders</title>
|
||||
<defs>
|
||||
<linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#725cff"/>
|
||||
<stop offset="0.58" stop-color="#ef5ba1"/>
|
||||
<stop offset="1" stop-color="#ff9d4d"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="water" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#31e6cf"/>
|
||||
<stop offset="1" stop-color="#1f7cff"/>
|
||||
</linearGradient>
|
||||
<clipPath id="round">
|
||||
<circle cx="60" cy="60" r="54"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<circle cx="60" cy="60" r="57" fill="#07131d" stroke="#8af5e6" stroke-width="4"/>
|
||||
<g clip-path="url(#round)">
|
||||
<rect x="6" y="6" width="108" height="62" fill="url(#sky)"/>
|
||||
<circle cx="82" cy="39" r="15" fill="#fff0a8"/>
|
||||
<path d="M0 67 31 40 49 58 68 35 96 62 120 45 126 78H0Z" fill="#0d2740"/>
|
||||
<path d="M0 66c18-5 31-4 47 0 18 5 36 4 73-2v56H0Z" fill="url(#water)"/>
|
||||
<path d="M0 82c24-8 43 5 66-1 19-5 36-7 60-1M-4 98c27-7 46 5 69-1 20-5 39-5 65 0" fill="none" stroke="#e8fffb" stroke-width="4" stroke-linecap="round" opacity=".7"/>
|
||||
<path d="M35 76h50l-6 9H41Z" fill="#07131d"/>
|
||||
<path d="M49 75 60 62l11 13" fill="none" stroke="#07131d" stroke-width="5" stroke-linejoin="round"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 259 KiB |
|
After Width: | Height: | Size: 414 KiB |
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 710 KiB |
|
After Width: | Height: | Size: 255 KiB |
|
After Width: | Height: | Size: 276 KiB |
@@ -51,6 +51,7 @@ $stats->record($path, $user ? (int) $user['id'] : null);
|
||||
$router = new Router();
|
||||
$router->get('/', [$store, 'home']);
|
||||
$router->get('/menu', [$store, 'menu']);
|
||||
$router->get('/credits', [$store, 'credits']);
|
||||
$router->post('/cart/add', [$store, 'addToCart']);
|
||||
$router->get('/cart', [$store, 'cart']);
|
||||
$router->post('/cart/update', [$store, 'updateCart']);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="admin-panel-heading"><div><span class="eyebrow">Send an update</span><h2>New Newsletter</h2></div></div>
|
||||
<form class="form-stack" action="<?= e(url('/admin/newsletters/send')) ?>" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<label>Subject line<input type="text" name="subject" maxlength="140" required placeholder="This weekend at Fat Bottom Grille"></label>
|
||||
<label>Subject line<input type="text" name="subject" maxlength="140" required placeholder="This weekend at <?= e($config->get('business.name')) ?>"></label>
|
||||
<label>Message<textarea name="content" rows="12" required placeholder="Share a new special, schedule update, or note from the kitchen..."></textarea></label>
|
||||
<div class="notice">Every email includes an unsubscribe link. Users can also opt out from My Account.</div>
|
||||
<button class="button button-large button-block" type="submit" data-confirm="Send this newsletter to every opted-in user?">Send to <?= (int) $recipientCount ?> Subscribers</button>
|
||||
|
||||
@@ -15,6 +15,27 @@
|
||||
<label class="field-wide">Announcement bar<input type="text" name="business[announcement]" value="<?= e($config->get('business.announcement')) ?>"></label>
|
||||
</div>
|
||||
</section>
|
||||
<section class="admin-panel">
|
||||
<div class="admin-panel-heading"><div><span class="eyebrow">Storefront presentation</span><h2>Branding & Homepage</h2></div></div>
|
||||
<div class="notice">Edit the demo message and active image paths here. Image files live in <code>public/assets/images</code>.</div>
|
||||
<div class="form-grid">
|
||||
<label>Location label<input type="text" name="branding[location_label]" value="<?= e($config->get('branding.location_label')) ?>"></label>
|
||||
<label>Hero eyebrow<input type="text" name="branding[hero_eyebrow]" value="<?= e($config->get('branding.hero_eyebrow')) ?>"></label>
|
||||
<label>Hero heading<input type="text" name="branding[hero_heading]" value="<?= e($config->get('branding.hero_heading')) ?>"></label>
|
||||
<label>Hero emphasized line<input type="text" name="branding[hero_emphasis]" value="<?= e($config->get('branding.hero_emphasis')) ?>"></label>
|
||||
<label class="field-wide">Search description<textarea name="branding[meta_description]" rows="2"><?= e($config->get('branding.meta_description')) ?></textarea></label>
|
||||
<label class="field-wide">Hero introduction<textarea name="branding[hero_intro]" rows="3"><?= e($config->get('branding.hero_intro')) ?></textarea></label>
|
||||
<label>Hero food image<input type="text" name="branding[hero_image]" value="<?= e($config->get('branding.hero_image')) ?>"></label>
|
||||
<label>Picnic gallery image<input type="text" name="branding[gallery_picnic_image]" value="<?= e($config->get('branding.gallery_picnic_image')) ?>"></label>
|
||||
<label>Patio gallery image<input type="text" name="branding[gallery_patio_image]" value="<?= e($config->get('branding.gallery_patio_image')) ?>"></label>
|
||||
<label>Service gallery image<input type="text" name="branding[gallery_service_image]" value="<?= e($config->get('branding.gallery_service_image')) ?>"></label>
|
||||
<label>Story image<input type="text" name="branding[story_image]" value="<?= e($config->get('branding.story_image')) ?>"></label>
|
||||
<label>Story eyebrow<input type="text" name="branding[story_eyebrow]" value="<?= e($config->get('branding.story_eyebrow')) ?>"></label>
|
||||
<label>Story heading<input type="text" name="branding[story_heading]" value="<?= e($config->get('branding.story_heading')) ?>"></label>
|
||||
<label class="field-wide">Story text<textarea name="branding[story_text]" rows="3"><?= e($config->get('branding.story_text')) ?></textarea></label>
|
||||
<label class="field-wide">Footer tagline<input type="text" name="branding[footer_tagline]" value="<?= e($config->get('branding.footer_tagline')) ?>"></label>
|
||||
</div>
|
||||
</section>
|
||||
<section class="admin-panel">
|
||||
<div class="admin-panel-heading"><div><span class="eyebrow">Kitchen controls</span><h2>Online Ordering</h2></div></div>
|
||||
<div class="settings-row">
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
<input type="text" name="street_address" required autocomplete="street-address" value="<?= e($old['street_address'] ?? '') ?>">
|
||||
</label>
|
||||
<label>City
|
||||
<input type="text" name="city" required autocomplete="address-level2" value="<?= e($old['city'] ?? 'Keyser') ?>">
|
||||
<input type="text" name="city" required autocomplete="address-level2" value="<?= e($old['city'] ?? $config->get('business.city')) ?>">
|
||||
</label>
|
||||
<label>State
|
||||
<input type="text" name="state" required maxlength="2" autocomplete="address-level1" value="<?= e($old['state'] ?? 'WV') ?>">
|
||||
<input type="text" name="state" required maxlength="2" autocomplete="address-level1" value="<?= e($old['state'] ?? $config->get('business.state')) ?>">
|
||||
</label>
|
||||
<label>ZIP code
|
||||
<input type="text" name="postal_code" required autocomplete="postal-code" value="<?= e($old['postal_code'] ?? '26726') ?>">
|
||||
<input type="text" name="postal_code" required autocomplete="postal-code" value="<?= e($old['postal_code'] ?? $config->get('business.postal_code')) ?>">
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-grid">
|
||||
@@ -53,7 +53,7 @@
|
||||
<label>Quick check: what is <?= (int) $captcha[0] ?> + <?= (int) $captcha[1] ?>?
|
||||
<input type="number" name="captcha" required inputmode="numeric" autocomplete="off">
|
||||
</label>
|
||||
<div class="notice">Creating an account opts you into occasional Fat Bottom Grille news. You can opt out from any email or My Account.</div>
|
||||
<div class="notice">Creating an account opts you into occasional <?= e($config->get('business.name')) ?> news. You can opt out from any email or My Account.</div>
|
||||
<button class="button button-large button-block" type="submit">Create My Account</button>
|
||||
<p class="auth-switch">Already have an account? <a href="<?= e(url('/login')) ?>">Sign in</a></p>
|
||||
</form>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use FatBottom\Core\View;
|
||||
|
||||
$businessName = (string) $config->get('business.name', 'Fat Bottom Grille');
|
||||
$businessName = (string) $config->get('business.name', 'Lakeside Orders');
|
||||
$isAdmin = isset($adminPage);
|
||||
?>
|
||||
<!doctype html>
|
||||
@@ -11,7 +11,7 @@ $isAdmin = isset($adminPage);
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="theme-color" content="#09131d">
|
||||
<meta name="description" content="Order burgers, burritos, dinner plates, sides, and drinks online from Fat Bottom Grille in Keyser, West Virginia.">
|
||||
<meta name="description" content="<?= e($config->get('branding.meta_description')) ?>">
|
||||
<title><?= e($title ?? $businessName) ?> | <?= e($businessName) ?></title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@@ -59,11 +59,11 @@ $isAdmin = isset($adminPage);
|
||||
<div class="container nav-wrap">
|
||||
<a class="brand" href="<?= e(url('/')) ?>" aria-label="<?= e($businessName) ?> home">
|
||||
<span class="brand-mark">
|
||||
<img src="<?= e(asset('assets/images/fat-bottom-grille-logo.jpg')) ?>" alt="">
|
||||
<img src="<?= e(asset('assets/images/lakeside-orders-logo.svg')) ?>" alt="">
|
||||
</span>
|
||||
<span class="brand-copy">
|
||||
<strong><?= e($businessName) ?></strong>
|
||||
<small>Keyser, West Virginia</small>
|
||||
<small><?= e($config->get('branding.location_label')) ?></small>
|
||||
</span>
|
||||
</a>
|
||||
<button class="nav-toggle" type="button" aria-expanded="false" aria-controls="site-nav">
|
||||
@@ -97,7 +97,7 @@ $isAdmin = isset($adminPage);
|
||||
<div class="container footer-grid">
|
||||
<div>
|
||||
<div class="footer-brand"><?= e($businessName) ?></div>
|
||||
<p>Good food, generous portions, and a seat at the table in Keyser.</p>
|
||||
<p><?= e($config->get('branding.footer_tagline')) ?></p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Visit</h2>
|
||||
@@ -128,7 +128,7 @@ $isAdmin = isset($adminPage);
|
||||
</div>
|
||||
<div class="container footer-bottom">
|
||||
<span>© <?= date('Y') ?> <?= e($businessName) ?></span>
|
||||
<span>410 W Piedmont St, Keyser, WV</span>
|
||||
<a href="<?= e(url('/credits')) ?>">Image credits</a>
|
||||
</div>
|
||||
</footer>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<aside class="admin-sidebar">
|
||||
<a class="admin-brand" href="<?= e(url('/admin')) ?>">
|
||||
<span class="brand-mark">
|
||||
<img src="<?= e(asset('assets/images/fat-bottom-grille-logo.jpg')) ?>" alt="">
|
||||
<img src="<?= e(asset('assets/images/lakeside-orders-logo.svg')) ?>" alt="">
|
||||
</span>
|
||||
<span>
|
||||
<strong><?= e($config->get('business.name')) ?></strong>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<div class="summary-total"><dt>Total</dt><dd><?= money($totals['total_cents']) ?></dd></div>
|
||||
</dl>
|
||||
<a class="button button-block button-large" href="<?= e(url('/checkout')) ?>">Continue to Checkout</a>
|
||||
<p class="summary-note">Pickup at 410 W Piedmont St, Keyser.</p>
|
||||
<p class="summary-note">Pickup at <?= e($config->get('business.street')) ?>, <?= e($config->get('business.city')) ?>.</p>
|
||||
</aside>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
$credits = [
|
||||
['Sunset at Odell Lake', 'Bonnie Moreland', 'Public domain', 'https://commons.wikimedia.org/wiki/File:Sunset_Odell_Lake,_Oregon_-_Flickr_-_Bonnie_Moreland_(free_images).jpg'],
|
||||
['Picnic at Valasht Lake', 'Gholamreza Shamsnetari', 'CC BY 4.0', 'https://commons.wikimedia.org/wiki/File:Sizdah_Be-Dar_2018,_Valasht_Lake_(13970114000329636583522676851541_54966).jpg'],
|
||||
['People eating outside a restaurant', 'Elvert Barnes', 'CC BY-SA 2.0', 'https://commons.wikimedia.org/wiki/File:People_eating_outside_restaurant_Baltimore.jpg'],
|
||||
['People dining at Zen Garden', 'Ibrahim Achiri', 'CC BY-SA 4.0', 'https://commons.wikimedia.org/wiki/File:People_dining_and_socializing_at_Zen_Garden.jpg'],
|
||||
['Hamburger with fries', 'Daderot', 'CC0', 'https://commons.wikimedia.org/wiki/File:Hamburger_with_blue_cheese,_guacamole,_and_other_toppings,_plus_French_fries_-_Massachusetts.jpg'],
|
||||
['Chicken wrap with spinach', 'Tomwsulcer', 'CC0', 'https://commons.wikimedia.org/wiki/File:Lunch_chicken_wrap_with_spinach_and_sauce.JPG'],
|
||||
['Falafel bowl', 'Andy Li', 'CC0', 'https://commons.wikimedia.org/wiki/File:Falafel_Super_Bowl_Salad_-_Leon_2025-10-27.jpg'],
|
||||
['Chicken legs', 'Vyacheslav Argenberg', 'CC BY 4.0', 'https://commons.wikimedia.org/wiki/File:Fried_chicken_legs,_Rostov-on-Don,_Russia.jpg'],
|
||||
['Iced tea', 'Renee Comet', 'Public domain', 'https://commons.wikimedia.org/wiki/File:Iced_tea.jpg'],
|
||||
['French fries', 'Thriving Vegetarian', 'CC BY 2.0', 'https://commons.wikimedia.org/wiki/File:Perfect_French_Fries_-_11457817933.jpg'],
|
||||
];
|
||||
?>
|
||||
<section class="page-hero page-hero-compact">
|
||||
<div class="container">
|
||||
<span class="eyebrow">Open media</span>
|
||||
<h1>Image Credits</h1>
|
||||
<p>The Lakeside Orders demo uses public-domain and Creative Commons photography.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container narrow-content">
|
||||
<div class="credits-list">
|
||||
<?php foreach ($credits as [$title, $artist, $license, $source]): ?>
|
||||
<article>
|
||||
<div>
|
||||
<h2><?= e($title) ?></h2>
|
||||
<p><?= e($artist) ?> · <?= e($license) ?></p>
|
||||
</div>
|
||||
<a class="text-link" href="<?= e($source) ?>" target="_blank" rel="license noopener">View source</a>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<p class="credits-note">Photography is displayed with CSS crops for the responsive layout. No photographer or licensor endorses this demo.</p>
|
||||
</div>
|
||||
</section>
|
||||
@@ -2,9 +2,9 @@
|
||||
<div class="hero-texture"></div>
|
||||
<div class="container hero-grid">
|
||||
<div class="hero-copy">
|
||||
<span class="eyebrow">Keyser made. Come hungry.</span>
|
||||
<h1>Big flavor.<br><em>No shortcuts.</em></h1>
|
||||
<p>Stacked burgers, loaded burritos, and dinner plates that eat like Sunday supper. Order ahead and we will have it hot.</p>
|
||||
<span class="eyebrow"><?= e($config->get('branding.hero_eyebrow')) ?></span>
|
||||
<h1><?= e($config->get('branding.hero_heading')) ?><br><em><?= e($config->get('branding.hero_emphasis')) ?></em></h1>
|
||||
<p><?= e($config->get('branding.hero_intro')) ?></p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-large" href="<?= e(url('/menu')) ?>">Start Your Order</a>
|
||||
<?php if ($config->get('business.phone')): ?>
|
||||
@@ -20,15 +20,15 @@
|
||||
</div>
|
||||
<div class="hero-plate">
|
||||
<div class="hero-food-photo">
|
||||
<img src="<?= e(asset('assets/images/chicken-sandwich-fries.jpg')) ?>" alt="Chicken sandwich and hand-cut fries from Fat Bottom Grille">
|
||||
<img src="<?= e(asset((string) $config->get('branding.hero_image'))) ?>" alt="Burger and fries ready for a lakeside meal">
|
||||
<div class="hero-photo-caption">
|
||||
<span>Made in Keyser</span>
|
||||
<strong>Hot. Fresh. Generous.</strong>
|
||||
<span>From grill to shoreline</span>
|
||||
<strong>Fresh pickup. Easy afternoons.</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-stamp" aria-hidden="true">
|
||||
<strong>410</strong>
|
||||
<span>W Piedmont</span>
|
||||
<strong>DEMO</strong>
|
||||
<span>Lakeside pickup</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@
|
||||
<div class="section-heading">
|
||||
<div>
|
||||
<span class="eyebrow">Happening now</span>
|
||||
<h2>Today’s Specials</h2>
|
||||
<h2>Dockside Specials</h2>
|
||||
</div>
|
||||
<a class="text-link" href="<?= e(url('/menu')) ?>">See the full menu</a>
|
||||
</div>
|
||||
@@ -75,10 +75,10 @@
|
||||
<div class="container">
|
||||
<div class="section-heading">
|
||||
<div>
|
||||
<span class="eyebrow">Built to satisfy</span>
|
||||
<h2>Local Favorites</h2>
|
||||
<span class="eyebrow">Packed for the day</span>
|
||||
<h2>Shoreline Favorites</h2>
|
||||
</div>
|
||||
<p>These are the orders that keep showing up at the counter.</p>
|
||||
<p>Easygoing food for docks, picnic blankets, and patio tables.</p>
|
||||
</div>
|
||||
<div class="menu-grid">
|
||||
<?php foreach ($featured as $item): ?>
|
||||
@@ -88,6 +88,32 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="lakeside-gallery section">
|
||||
<div class="container">
|
||||
<div class="section-heading">
|
||||
<div>
|
||||
<span class="eyebrow">Stay awhile</span>
|
||||
<h2>Food fits the view</h2>
|
||||
</div>
|
||||
<p>Grab a picnic, settle into a sunny table, or let the evening stretch out under the lights.</p>
|
||||
</div>
|
||||
<div class="experience-grid">
|
||||
<figure class="experience-card experience-card-wide">
|
||||
<img src="<?= e(asset((string) $config->get('branding.gallery_picnic_image'))) ?>" alt="People enjoying a picnic beside a lake">
|
||||
<figcaption><span>Take it outside</span><strong>Picnic-ready</strong></figcaption>
|
||||
</figure>
|
||||
<figure class="experience-card">
|
||||
<img src="<?= e(asset((string) $config->get('branding.gallery_patio_image'))) ?>" alt="Guests sitting and eating at outdoor restaurant tables">
|
||||
<figcaption><span>Meet by the water</span><strong>Tables in the sun</strong></figcaption>
|
||||
</figure>
|
||||
<figure class="experience-card">
|
||||
<img src="<?= e(asset((string) $config->get('branding.gallery_service_image'))) ?>" alt="A lively restaurant with diners and servers moving among the tables">
|
||||
<figcaption><span>Settle in</span><strong>Friendly table service</strong></figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="category-band">
|
||||
<div class="container">
|
||||
<span class="eyebrow">Pick your direction</span>
|
||||
@@ -104,14 +130,14 @@
|
||||
|
||||
<section class="story-section section">
|
||||
<div class="container story-grid">
|
||||
<div class="story-art" aria-hidden="true">
|
||||
<span class="story-number">26726</span>
|
||||
<div class="mountain-lines"></div>
|
||||
<div class="story-art">
|
||||
<img src="<?= e(asset((string) $config->get('branding.story_image'))) ?>" alt="Sunset over a calm lake and dock">
|
||||
<span class="story-number">LAKE</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="eyebrow">Proudly from Keyser</span>
|
||||
<h2>Food that shows up hungry.</h2>
|
||||
<p>Fat Bottom Grille is the kind of place where the portions are honest and nobody leaves wondering what is for dinner. Find us at 410 W Piedmont Street, right here in Keyser.</p>
|
||||
<span class="eyebrow"><?= e($config->get('branding.story_eyebrow')) ?></span>
|
||||
<h2><?= e($config->get('branding.story_heading')) ?></h2>
|
||||
<p><?= e($config->get('branding.story_text')) ?></p>
|
||||
<a class="button button-outline" href="<?= e(url('/menu')) ?>">Order for Pickup</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<section class="page-hero">
|
||||
<div class="container page-hero-inner">
|
||||
<div>
|
||||
<span class="eyebrow">Hot, fresh, yours</span>
|
||||
<span class="eyebrow">From the grill to the shoreline</span>
|
||||
<h1>Order Online</h1>
|
||||
<p>Choose your favorites and we will get the kitchen moving.</p>
|
||||
<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>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<p>Your order number is <strong><?= e($order['order_number']) ?></strong>. We sent a confirmation to <?= e($order['customer_email']) ?>.</p>
|
||||
<div class="confirmation-details">
|
||||
<div><span>Pickup</span><strong><?= e($order['pickup_time'] ?: 'About ' . $config->get('ordering.pickup_eta_minutes', 25) . ' minutes') ?></strong></div>
|
||||
<div><span>Location</span><strong>410 W Piedmont St</strong></div>
|
||||
<div><span>Location</span><strong><?= e($config->get('business.street')) ?></strong></div>
|
||||
<div><span>Total paid</span><strong><?= money($order['total_cents']) ?></strong></div>
|
||||
</div>
|
||||
<div class="confirmation-items">
|
||||
|
||||