mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Add proper mobile nav; update mongodb package ver
This commit is contained in:
parent
1e19f79af1
commit
4c58b94f96
10 changed files with 195 additions and 12 deletions
22
resources/views/livewire/app/nav-footer.blade.php
Normal file
22
resources/views/livewire/app/nav-footer.blade.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<div class="wa-stack">
|
||||
@guest
|
||||
<a href="{{ route('login') }}" class="wa-cluster">
|
||||
<wa-icon name="arrow-right-to-bracket"></wa-icon>
|
||||
Sign in to {{ config('app.name') }}
|
||||
</a>
|
||||
@endguest
|
||||
|
||||
@auth
|
||||
<a href="{{ url('/profiles/' . Auth::id()) }}" wire:navigate.hover>
|
||||
<div class="wa-cluster wa-align-items-center">
|
||||
<livewire:app.pfp :user="auth()->user()" size="2rem" shape="rounded" />
|
||||
{{ Auth::user()->name }}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="{{ route('logout') }}" class="wa-cluster">
|
||||
<wa-icon name="arrow-left-from-bracket"></wa-icon>
|
||||
Sign out
|
||||
</a>
|
||||
@endauth
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue