- 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:
+11
-1
@@ -21,10 +21,20 @@ function csrf_field(): string
|
||||
|
||||
function active_path(string $path): string
|
||||
{
|
||||
$current = parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH);
|
||||
$current = \FatBottom\Core\Http::path();
|
||||
return $current === $path ? 'is-active' : '';
|
||||
}
|
||||
|
||||
function url(string $path = '/'): string
|
||||
{
|
||||
return \FatBottom\Core\Http::url($path);
|
||||
}
|
||||
|
||||
function asset(string $path): string
|
||||
{
|
||||
return \FatBottom\Core\Http::url('/' . ltrim($path, '/'));
|
||||
}
|
||||
|
||||
function selected(mixed $value, mixed $expected): string
|
||||
{
|
||||
return (string) $value === (string) $expected ? 'selected' : '';
|
||||
|
||||
Reference in New Issue
Block a user