89 lines
5.5 KiB
PHP
89 lines
5.5 KiB
PHP
<!doctype html>
|
|
<html lang="{{ app()->getLocale() }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Fotospiel - Blog</title>
|
|
<meta name="description" content="Tipps, News und Anleitungen zu Event-Fotos mit QR-Codes und PWA.">
|
|
<link rel="icon" href="{{ asset('logo.svg') }}" type="image/svg+xml">
|
|
@vite(['resources/css/app.css'])
|
|
</head>
|
|
<body class="bg-gray-50 text-gray-900">
|
|
<!-- Shared Header (wie in occasions.blade.php) -->
|
|
<header class="bg-white shadow-md sticky top-0 z-50">
|
|
<div class="container mx-auto px-4 py-4 flex items-center justify-between">
|
|
<div class="flex items-center space-x-2">
|
|
<a href="/marketing" class="text-2xl font-bold text-gray-900">Fotospiel</a>
|
|
<svg class="w-6 h-6 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 13a3 3 0 11-6 0 3 3 0 016 0z"></path></svg>
|
|
</div>
|
|
<nav class="hidden md:flex space-x-6">
|
|
<a href="/marketing#how-it-works" class="text-gray-600 hover:text-gray-900">How it works</a>
|
|
<a href="/marketing#features" class="text-gray-600 hover:text-gray-900">Features</a>
|
|
<div class="relative">
|
|
<button class="text-gray-600 hover:text-gray-900">Occasions</button>
|
|
<div class="absolute top-full left-0 mt-2 bg-white border rounded shadow-lg">
|
|
<a href="/occasions/weddings" class="block px-4 py-2 text-gray-600 hover:text-gray-900">Weddings</a>
|
|
<a href="/occasions/birthdays" class="block px-4 py-2 text-gray-600 hover:text-gray-900">Birthdays</a>
|
|
<a href="/occasions/corporate-events" class="block px-4 py-2 text-gray-600 hover:text-gray-900">Corporate Events</a>
|
|
<a href="/occasions/family-celebrations" class="block px-4 py-2 text-gray-600 hover:text-gray-900">Family Celebrations</a>
|
|
</div>
|
|
</div>
|
|
<a href="/blog" class="text-gray-900 font-semibold">Blog</a>
|
|
<a href="/marketing#pricing" class="text-gray-600 hover:text-gray-900">Pricing</a>
|
|
<a href="/marketing#contact" class="text-gray-600 hover:text-gray-900">Contact</a>
|
|
</nav>
|
|
<a href="/buy-credits/basic" class="bg-[#FFB6C1] text-white px-6 py-2 rounded-full font-semibold">Jetzt starten</a>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Hero for Blog -->
|
|
<section class="bg-gradient-to-r from-[#FFB6C1] via-[#FFD700] to-[#87CEEB] text-white py-20 px-4">
|
|
<div class="container mx-auto text-center">
|
|
<h1 class="text-4xl md:text-6xl font-bold mb-4">Fotospiel Blog</h1>
|
|
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Tipps, News und Anleitungen zu perfekten Event-Fotos mit QR-Codes, PWA und mehr. Bleib informiert!</p>
|
|
<a href="/marketing#how-it-works" class="bg-white text-[#FFB6C1] px-8 py-4 rounded-full font-semibold text-lg hover:bg-gray-100 transition">Mehr über Fotospiel</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Blog Posts Section -->
|
|
<section class="py-20 px-4 bg-white">
|
|
<div class="container mx-auto max-w-4xl">
|
|
<h2 class="text-3xl font-bold text-center mb-12">Aktuelle Blog-Posts</h2>
|
|
@if ($posts->count() > 0)
|
|
<div class="grid md:grid-cols-2 gap-8">
|
|
@foreach ($posts as $post)
|
|
<div class="bg-gray-50 p-6 rounded-lg">
|
|
@if ($post->featured_image)
|
|
<img src="{{ $post->featured_image }}" alt="{{ $post->title }}" class="w-full h-48 object-cover rounded mb-4">
|
|
@endif
|
|
<h3 class="text-xl font-semibold mb-2"><a href="{{ route('blog.show', $post->slug) }}" class="hover:text-[#FFB6C1]">{{ $post->title }}</a></h3>
|
|
<p class="mb-4">{{ Str::limit($post->excerpt, 150) }}</p>
|
|
<p class="text-sm text-gray-500 mb-4">Veröffentlicht am {{ $post->published_at->format('d.m.Y') }}</p>
|
|
<a href="{{ route('blog.show', $post->slug) }}" class="text-[#FFB6C1] font-semibold">Lesen</a>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@if ($posts->hasPages())
|
|
<div class="mt-12 text-center">
|
|
{{ $posts->links() }}
|
|
</div>
|
|
@endif
|
|
@else
|
|
<p class="text-center text-gray-600">Noch keine Posts verfügbar. Bleib dran!</p>
|
|
@endif
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer (wie in occasions.blade.php) -->
|
|
<footer class="bg-gray-800 text-white py-8 px-4 mt-20">
|
|
<div class="container mx-auto text-center">
|
|
<p>© 2025 Fotospiel GmbH. Alle Rechte vorbehalten.</p>
|
|
<div class="mt-4 space-x-4">
|
|
<a href="/impressum" class="hover:text-[#FFB6C1]">Impressum</a>
|
|
<a href="/datenschutz" class="hover:text-[#FFB6C1]">Datenschutz</a>
|
|
<a href="/marketing#contact" class="hover:text-[#FFB6C1]">Kontakt</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html> |