重构:统一前台页面级导航栏
- 移除大厅和说明页多余的 nav-right 内容 - 统一在 layouts/app.blade.php 内展示 大厅/风云榜/留言板/后台/使用说明/个人资料/退出 等功能 - 去除重复的个人资料按钮,取消前台新建房间的功能(已转至后台),精简导航展示
This commit is contained in:
@@ -12,18 +12,6 @@
|
||||
@section('nav-icon', '📖')
|
||||
@section('nav-title', '使用说明')
|
||||
|
||||
@section('nav-right')
|
||||
{{-- admin 后台直达 --}}
|
||||
@if (Auth::user()->user_level >= 15)
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-indigo-200 hover:text-white font-bold hidden sm:block">⚙️ 后台</a>
|
||||
@endif
|
||||
{{-- 退出登录 --}}
|
||||
<form action="{{ route('logout') }}" method="POST" class="inline">
|
||||
@csrf
|
||||
<button type="submit"
|
||||
class="text-sm border border-white/30 hover:bg-white/10 px-4 py-2 rounded-md transition font-medium">退出登录</button>
|
||||
</form>
|
||||
@endsection
|
||||
|
||||
@section('head')
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user