💄 Updating the UI and style files.

This commit is contained in:
WispX 2021-12-13 21:35:43 +08:00
parent 80e8682a5f
commit edc61f42d9
4 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
<a href="" class="text-xl truncate">仪表盘</a>
</div>
<div class="flex justify-end items-center">
@include('layouts.user-dropdown')
@include('layouts.user-nav')
</div>
</div>
</header>

View File

@ -61,7 +61,7 @@
<x-slot name="name">图片管理</x-slot>
</x-nav-link>
<x-nav-link :active="request()->routeIs('admin/strategies')">
<x-slot name="icon"><i class="fas fa-images text-blue-500"></i></x-slot>
<x-slot name="icon"><i class="fas fa-hdd text-blue-500"></i></x-slot>
<x-slot name="name">储存策略</x-slot>
</x-nav-link>
<x-nav-link :active="request()->routeIs('admin/settings')">

View File

@ -12,9 +12,9 @@
<!-- 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('/') }}">上传图片</x-dropdown-link>
<x-dropdown-link href="{{ route('/') }}">仪表盘</x-dropdown-link>
<x-dropdown-link href="{{ route('/') }}">设置</x-dropdown-link>
<x-dropdown-link :href="route('logout')" onclick="event.preventDefault(); this.closest('form').submit();">
{{ __('Log Out') }}
</x-dropdown-link>

View File

@ -7,7 +7,7 @@
</div>
<div class="flex justify-end items-center space-x-3">
@if(Auth::check())
@include('layouts.user-dropdown')
@include('layouts.user-nav')
@else
<a href="{{ route('login') }}" class="text-gray-300 hover:bg-gray-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium">登录</a>
<a href="{{ route('register') }}" class="text-gray-300 hover:bg-gray-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium">注册</a>