finish start
This commit is contained in:
parent
c125e428be
commit
72b6b2c349
2 changed files with 21 additions and 25 deletions
resources
|
@ -119,7 +119,7 @@ @layer components {
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.window > .wrapper > .links > a {
|
nav.window > .wrapper > .links a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--window-text);
|
color: var(--window-text);
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -128,13 +128,13 @@ @layer components {
|
||||||
padding: 1px 2px;
|
padding: 1px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.window > .wrapper > .links > a > img {
|
nav.window > .wrapper > .links a > img {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.window > .wrapper > .links > a:hover {
|
nav.window > .wrapper > .links a:hover {
|
||||||
background-color: var(--hilight);
|
background-color: var(--hilight);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,7 @@
|
||||||
{{-- <!-- Profile --> --}}
|
|
||||||
{{-- <a class="button" href="{{ route('profile.edit') }}"> --}}
|
|
||||||
{{-- {{ Auth::user()->name }} --}}
|
|
||||||
{{-- </a> --}}
|
|
||||||
|
|
||||||
{{-- <!-- Log Out --> --}}
|
|
||||||
{{-- <form --}}
|
|
||||||
{{-- class="inline-block" --}}
|
|
||||||
{{-- method="POST" --}}
|
|
||||||
{{-- action="{{ route('logout') }}" --}}
|
|
||||||
{{-- > --}}
|
|
||||||
{{-- @csrf --}}
|
|
||||||
|
|
||||||
<div x-data="{ open: false }">
|
<div x-data="{ open: false }">
|
||||||
<nav
|
<nav
|
||||||
class="window"
|
class="window"
|
||||||
x-show="open"
|
x-show="open"
|
||||||
x-cloak
|
|
||||||
x-on:click.outside="open = false"
|
x-on:click.outside="open = false"
|
||||||
x-transition.duration.200ms
|
x-transition.duration.200ms
|
||||||
x-transition.opacity
|
x-transition.opacity
|
||||||
|
@ -50,18 +36,28 @@ class="window"
|
||||||
src="{{ Vite::asset('resources/images/startmenu/userskey.png') }}"
|
src="{{ Vite::asset('resources/images/startmenu/userskey.png') }}"
|
||||||
alt="users with key"
|
alt="users with key"
|
||||||
/>
|
/>
|
||||||
Profile
|
{{ Auth::user()->name }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<a href="{{ route('logout') }}">
|
<form action="{{ route('logout') }}" method="POST">
|
||||||
<img
|
@csrf
|
||||||
src="{{ Vite::asset('resources/images/startmenu/key.png') }}"
|
|
||||||
alt="key"
|
<a
|
||||||
/>
|
href="#"
|
||||||
Log Out
|
x-on:click="
|
||||||
</a>
|
$event.preventDefault()
|
||||||
|
$el.closest('form').submit()
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="{{ Vite::asset('resources/images/startmenu/key.png') }}"
|
||||||
|
alt="key"
|
||||||
|
/>
|
||||||
|
Log Out
|
||||||
|
</a>
|
||||||
|
</form>
|
||||||
@else
|
@else
|
||||||
<a href="{{ route('login') }}">
|
<a href="{{ route('login') }}">
|
||||||
<img
|
<img
|
||||||
|
|
Loading…
Reference in a new issue