116 lines
6.4 KiB
PHP
116 lines
6.4 KiB
PHP
<div>
|
|
<!-- Back Navigation -->
|
|
<div class="pt-20 pb-4">
|
|
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<a href="/magazin" class="inline-flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors">
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
|
|
</svg>
|
|
Zurück zum Magazin
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Article Header -->
|
|
<article class="pb-16">
|
|
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<header class="text-center mb-12">
|
|
<h1 class="text-4xl md:text-5xl font-light text-foreground mb-6 leading-tight">
|
|
{{ $article['title'] }}
|
|
</h1>
|
|
<p class="text-xl text-muted-foreground mb-8 max-w-3xl mx-auto">
|
|
{{ $article['subtitle'] }}
|
|
</p>
|
|
<div class="flex items-center justify-center gap-6 text-sm text-muted-foreground">
|
|
<div class="flex items-center gap-2">
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>
|
|
</svg>
|
|
<span>{{ $article['date'] }}</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
|
</svg>
|
|
<span>{{ $article['readTime'] }}</span>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Featured Image -->
|
|
<div class="mb-12 overflow-hidden rounded-lg">
|
|
<img
|
|
src="{{ asset('images/' . $article['image']) }}"
|
|
alt="{{ $article['title'] }}"
|
|
class="w-full h-64 md:h-96 object-cover"
|
|
>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-4 gap-12">
|
|
<!-- Main Content -->
|
|
<div class="md:col-span-3">
|
|
<div class="prose prose-lg max-w-none">
|
|
<p class="text-lg text-muted-foreground leading-relaxed mb-8">
|
|
{{ $article['content']['intro'] }}
|
|
</p>
|
|
|
|
@foreach($article['content']['sections'] as $index => $section)
|
|
<section class="mb-10" id="section-{{ $index }}">
|
|
<h2 class="text-2xl font-medium text-foreground mb-4">
|
|
{{ $index + 1 }}. {{ $section['title'] }}
|
|
</h2>
|
|
<p class="text-muted-foreground leading-relaxed">
|
|
{{ $section['content'] }}
|
|
</p>
|
|
</section>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Sidebar -->
|
|
<div class="md:col-span-1">
|
|
<div class="sticky top-24">
|
|
|
|
<div class="card-elevated rounded-lg p-6">
|
|
<h3 class="font-medium text-foreground mb-4">Artikel teilen</h3>
|
|
<div class="space-y-3">
|
|
<button class="w-full bg-[#0077B5] hover:bg-[#0095e5] text-white rounded-lg py-3 px-4 flex items-center justify-center gap-3 transition-colors duration-200">
|
|
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
|
|
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
|
|
</svg>
|
|
<span class="font-medium">LinkedIn</span>
|
|
</button>
|
|
|
|
<button class="w-full bg-[#3b5998] hover:bg-[#5077cc] text-white rounded-lg py-3 px-4 flex items-center justify-center gap-3 transition-colors duration-200">
|
|
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
|
|
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
|
|
</svg>
|
|
<span class="font-medium text-sm">Facebook</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
|
|
<!-- Bottom CTA -->
|
|
<section class="bg-secondary text-secondary-foreground section-padding">
|
|
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
|
<div class="max-w-2xl mx-auto">
|
|
<h2 class="text-3xl font-light mb-6 text-[hsl(var(--dark-text))]">
|
|
Entdecken Sie mehr über
|
|
<span class="text-primary font-medium">Luxus</span> und
|
|
<span class="text-primary font-medium">Komfort</span>
|
|
für unvergessliche Erlebnisse.
|
|
</h2>
|
|
|
|
<a href="/magazin" class="btn-accent px-8 py-3 rounded-lg">
|
|
Weitere Artikel entdecken
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|