first commit

This commit is contained in:
Doar Mihai
2026-08-08 18:03:29 +03:00
commit df2128ebff
183 changed files with 18719 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
<x-layouts.app :title="$title" :description="$description" :canonical="$canonical">
@push('jsonld')
<script type="application/ld+json">
{!! json_encode([
'@context' => 'https://schema.org',
'@type' => 'BreadcrumbList',
'itemListElement' => [
['@type' => 'ListItem', 'position' => 1, 'name' => 'Blog', 'item' => route('blog.index')],
['@type' => 'ListItem', 'position' => 2, 'name' => $category->name, 'item' => $canonical],
],
]) !!}
</script>
@endpush
<p class="text-sm text-neutral-500">
<a href="{{ route('blog.index') }}" class="hover:underline">Blog</a>
<span aria-hidden="true">/</span>
{{ $category->name }}
</p>
<h1 class="mt-2 text-3xl font-bold tracking-tight">{{ $category->name }}</h1>
@if ($category->description)
<p class="mt-2 text-neutral-600">{{ $category->description }}</p>
@endif
<div class="mt-8">
@forelse ($posts as $post)
<x-post-card :post="$post" />
@empty
<p class="text-neutral-500">No posts in this category yet.</p>
@endforelse
</div>
<div class="mt-10">
{{ $posts->links() }}
</div>
</x-layouts.app>