Initial commit: WitShop Laravel Online-Shop
- Laravel 11, Blade, Alpine.js, Tailwind CSS - Produkt- & Kategorieverwaltung mit Varianten - Checkout (Vorkasse + Rechnung), Session-Warenkorb - Admin-Backend (Dashboard, Bestellungen, Kunden, CMS) - DSGVO-konform: Cookie-Consent, Impressum, Widerruf, AGB - PDF-Rechnung via dompdf, SMTP-Mailversand - Kundenverwaltung mit manueller Freischaltung Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
@extends('layouts.shop')
|
||||
@section('title', $post->meta_title ?: $post->title)
|
||||
@section('content')
|
||||
<div class="max-w-3xl mx-auto">
|
||||
<p class="text-sm text-gray-400 mb-2">{{ $post->published_at?->format('d.m.Y') }}</p>
|
||||
<h1 class="text-3xl font-bold mb-6">{{ $post->title }}</h1>
|
||||
@if($post->image)<img src="{{ asset('storage/'.$post->image) }}" class="w-full rounded-lg mb-6">@endif
|
||||
<div class="prose max-w-none text-gray-700">{!! $post->content !!}</div>
|
||||
<div class="mt-8"><a href="{{ route('blog') }}" class="text-blue-600 hover:underline">← Zurück zum Blog</a></div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user