fix: modern 主题补全默认视图组件样式(侧边栏 widget/标签云/搜索框/profile/表格/付费提示等),修复切换后错位;header 补搜索框

This commit is contained in:
ak
2026-08-11 21:05:32 +08:00
parent f213549af3
commit d0ae0f60ad
12 changed files with 52 additions and 0 deletions
@@ -6,6 +6,9 @@
<a href="{{ route('archives') }}" class="{{ request()->routeIs('archives*') ? 'active' : '' }}">归档</a>
<a href="{{ route('tags') }}" class="{{ request()->routeIs('tags*') ? 'active' : '' }}">标签</a>
<a href="{{ route('links') }}" class="{{ request()->routeIs('links') ? 'active' : '' }}">友链</a>
<form class="m-search" action="{{ route('search') }}" method="get">
<input type="search" name="q" placeholder="搜索..." value="{{ request('q', request('keyword', '')) }}">
</form>
@auth
<a href="{{ route('profile') }}">{{ auth()->user()->name }}</a>
<form action="{{ route('logout') }}" method="post" class="inline-form">
@@ -14,6 +17,7 @@
</form>
@else
<a href="{{ route('login') }}">登录</a>
<a href="{{ route('register') }}">注册</a>
@endauth
</nav>
</div>