feat: add x-mobile-header and x-mobile-footer components
This commit is contained in:
17
resources/views/components/mobile-header.blade.php
Normal file
17
resources/views/components/mobile-header.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<header class="fixed inset-x-0 top-0 z-50 shrink-0 border-b border-[#e5ded7] bg-[#faf6f3] px-5 pb-4 pt-14 shadow-sm flex items-center justify-between">
|
||||
<div class="flex items-center gap-2.5">
|
||||
<div class="flex h-10 w-10 items-center justify-center rounded-lg bg-[#bb5b3e] shadow-md">
|
||||
<iconify-icon icon="lucide:fuel" class="text-xl text-white"></iconify-icon>
|
||||
</div>
|
||||
<span class="text-2xl font-black tracking-tighter text-[#bb5b3e]">FuelAlert</span>
|
||||
</div>
|
||||
@auth
|
||||
<a href="{{ route('dashboard') }}" class="flex h-10 w-10 items-center justify-center rounded-full border border-[#e5ded7] bg-[#f5ede5]">
|
||||
<iconify-icon icon="lucide:user" class="text-lg text-[#89726c]"></iconify-icon>
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}" class="flex h-10 w-10 items-center justify-center rounded-full border border-[#e5ded7] bg-[#f5ede5]">
|
||||
<iconify-icon icon="lucide:user" class="text-lg text-[#89726c]"></iconify-icon>
|
||||
</a>
|
||||
@endauth
|
||||
</header>
|
||||
Reference in New Issue
Block a user