feat(frontend): enable Livewire SPA navigation (wire:navigate)
Build and Deploy / verify (push) Failing after 39m48s
Build and Deploy / deploy (push) Skipped

This commit is contained in:
2026-10-12 12:30:58 +00:00
parent b062e09db0
commit 6adfacc4e5
23 changed files with 58 additions and 58 deletions
+2 -2
View File
@@ -12,11 +12,11 @@
<ul class="archive-list">
@foreach($months as $month => $monthPosts)
<li>
<a href="{{ route('archives.month', $year.$month) }}">{{ (int) $month }} 月</a>
<a wire:navigate href="{{ route('archives.month', $year.$month) }}">{{ (int) $month }} 月</a>
<span class="count">({{ $monthPosts->count() }} 篇)</span>
<ul class="archive-posts">
@foreach($monthPosts as $post)
<li><a href="{{ route('posts.show', $post->id) }}">{{ $post->title }}</a> <time>{{ $post->published_at->format(blog_setting('listtime', 'm-d')) }}</time></li>
<li><a wire:navigate href="{{ route('posts.show', $post->id) }}">{{ $post->title }}</a> <time>{{ $post->published_at->format(blog_setting('listtime', 'm-d')) }}</time></li>
@endforeach
</ul>
</li>