Add mobile bottom nav and hide header avatar on small screens.
Deploy Ladill Frontdesk / deploy (push) Successful in 29s
Deploy Ladill Frontdesk / deploy (push) Successful in 29s
Frontdesk now matches the Ladill mobile pattern: app name in the header, Home/Search/Notifications/Profile in the bottom bar with a profile sheet. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
class MobileTopbar
|
||||
{
|
||||
public static function resolve(): array
|
||||
{
|
||||
$appName = config('mobile-topbar.app_name', 'Ladill');
|
||||
|
||||
$title = $appName === 'Ladill'
|
||||
? 'Ladill'
|
||||
: "Ladill {$appName}";
|
||||
|
||||
return [
|
||||
'mobileTopbarTitle' => $title,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user