🐛 Fixing a bug.
This commit is contained in:
@@ -7,29 +7,29 @@
|
||||
<a href="" class="text-xl truncate">仪表盘</a>
|
||||
</div>
|
||||
<div class="flex justify-end items-center">
|
||||
<!-- Profile dropdown -->
|
||||
<x-dropdown>
|
||||
<x-slot name="trigger">
|
||||
<button type="button" class="bg-gray-800 flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
|
||||
<span class="sr-only">Open user menu</span>
|
||||
<img class="h-8 w-8 rounded-full" src="https://gravatar.zeruns.tech/avatar/7a585313ed855e8d652cbb3154a6056e?s=300&d=mm&r=g" alt="">
|
||||
<span class="px-2 sm:block hidden">{{ Auth::user()->name }}</span>
|
||||
</button>
|
||||
</x-slot>
|
||||
<!-- Profile dropdown -->
|
||||
<x-dropdown>
|
||||
<x-slot name="trigger">
|
||||
<button type="button" class="bg-gray-800 flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
|
||||
<span class="sr-only">Open user menu</span>
|
||||
<img class="h-8 w-8 rounded-full" src="https://gravatar.zeruns.tech/avatar/7a585313ed855e8d652cbb3154a6056e?s=300&d=mm&r=g" alt="">
|
||||
<span class="px-2 sm:block hidden">{{ Auth::user()->name }}</span>
|
||||
</button>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content">
|
||||
<!-- Authentication -->
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<x-dropdown-link :href="''">快速上传</x-dropdown-link>
|
||||
<x-dropdown-link :href="''">上传图片</x-dropdown-link>
|
||||
<x-dropdown-link :href="''">设置</x-dropdown-link>
|
||||
<x-dropdown-link :href="route('logout')" onclick="event.preventDefault(); this.closest('form').submit();">
|
||||
{{ __('Log Out') }}
|
||||
</x-dropdown-link>
|
||||
</form>
|
||||
</x-slot>
|
||||
|
||||
</x-dropdown>
|
||||
<x-slot name="content">
|
||||
<!-- Authentication -->
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<x-dropdown-link :href="''">快速上传</x-dropdown-link>
|
||||
<x-dropdown-link :href="''">上传图片</x-dropdown-link>
|
||||
<x-dropdown-link :href="''">设置</x-dropdown-link>
|
||||
<x-dropdown-link :href="route('logout')" onclick="event.preventDefault(); this.closest('form').submit();">
|
||||
{{ __('Log Out') }}
|
||||
</x-dropdown-link>
|
||||
</form>
|
||||
</x-slot>
|
||||
</x-dropdown>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user