- Implemented the dark photo-based theme.
Moved all images to public/assets/images. Added darkened photography across heroes, specials, menu cards, authentication, story, checkout, and footer. Replaced placeholder branding with the supplied logo. Preserved configurable menu item images. Updated desktop and mobile styling for readable cream/gold text.
This commit is contained in:
+14
-12
@@ -16,7 +16,7 @@ $isAdmin = isset($adminPage);
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/assets/app.css">
|
||||
<link rel="stylesheet" href="<?= e(asset('assets/app.css')) ?>">
|
||||
<?php if (!empty($squareEnabled) && !empty($squareAppId) && !empty($squareLocationId)): ?>
|
||||
<script src="<?= $squareEnvironment === 'production'
|
||||
? 'https://web.squarecdn.com/v1/square.js'
|
||||
@@ -36,8 +36,8 @@ $isAdmin = isset($adminPage);
|
||||
<h1><?= e($title ?? 'Dashboard') ?></h1>
|
||||
</div>
|
||||
<div class="admin-top-actions">
|
||||
<a class="button button-ghost button-small" href="/" target="_blank" rel="noopener">View Store</a>
|
||||
<form action="/logout" method="post">
|
||||
<a class="button button-ghost button-small" href="<?= e(url('/')) ?>" target="_blank" rel="noopener">View Store</a>
|
||||
<form action="<?= e(url('/logout')) ?>" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<button class="button button-small" type="submit">Sign Out</button>
|
||||
</form>
|
||||
@@ -56,8 +56,10 @@ $isAdmin = isset($adminPage);
|
||||
</div>
|
||||
<header class="site-header">
|
||||
<div class="container nav-wrap">
|
||||
<a class="brand" href="/" aria-label="<?= e($businessName) ?> home">
|
||||
<span class="brand-mark">FB</span>
|
||||
<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="">
|
||||
</span>
|
||||
<span class="brand-copy">
|
||||
<strong><?= e($businessName) ?></strong>
|
||||
<small>Keyser, West Virginia</small>
|
||||
@@ -68,17 +70,17 @@ $isAdmin = isset($adminPage);
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</button>
|
||||
<nav class="site-nav" id="site-nav" aria-label="Main navigation">
|
||||
<a class="<?= active_path('/') ?>" href="/">Home</a>
|
||||
<a class="<?= active_path('/menu') ?>" href="/menu">Order Online</a>
|
||||
<a class="<?= active_path('/') ?>" href="<?= e(url('/')) ?>">Home</a>
|
||||
<a class="<?= active_path('/menu') ?>" href="<?= e(url('/menu')) ?>">Order Online</a>
|
||||
<?php if ($currentUser): ?>
|
||||
<?php if (in_array($currentUser['role'], ['admin', 'manager', 'staff'], true)): ?>
|
||||
<a href="/admin">Dashboard</a>
|
||||
<a href="<?= e(url('/admin')) ?>">Dashboard</a>
|
||||
<?php endif; ?>
|
||||
<a class="<?= active_path('/account') ?>" href="/account">My Account</a>
|
||||
<a class="<?= active_path('/account') ?>" href="<?= e(url('/account')) ?>">My Account</a>
|
||||
<?php else: ?>
|
||||
<a class="<?= active_path('/login') ?>" href="/login">Sign In</a>
|
||||
<a class="<?= active_path('/login') ?>" href="<?= e(url('/login')) ?>">Sign In</a>
|
||||
<?php endif; ?>
|
||||
<a class="cart-link" href="/cart">
|
||||
<a class="cart-link" href="<?= e(url('/cart')) ?>">
|
||||
Your Order
|
||||
<span class="cart-count"><?= (int) ($currentCart['item_count'] ?? 0) ?></span>
|
||||
</a>
|
||||
@@ -129,6 +131,6 @@ $isAdmin = isset($adminPage);
|
||||
</footer>
|
||||
<?php endif; ?>
|
||||
|
||||
<script src="/assets/app.js" defer></script>
|
||||
<script src="<?= e(asset('assets/app.js')) ?>" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user