This commit is contained in:
cjd
2026-02-05 22:22:10 +08:00
parent fef9fe0c31
commit bf3a2e6971
273 changed files with 30605 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<header class="topbar">
<div class="brand">
<a href="{{ route('home') }}" class="brand-link">
@if($siteLogo)
<img src="{{ $siteLogo }}" alt="{{ $siteTitle }}" class="brand-logo">
@else
<span class="brand-text">{{ $siteTitle }}</span>
@endif
</a>
</div>
<nav class="topnav">
<a href="{{ route('home') }}">首页</a>
<a href="{{ route('categories.index') }}">分类</a>
<a href="{{ route('articles.index') }}">文章</a>
<a href="{{ route('about') }}">关于</a>
</nav>
<div class="topbar-actions">
<button type="button" class="theme-toggle" id="theme-toggle" aria-label="切换主题">
<span class="theme-icon"></span>
</button>
</div>
</header>