Stelle das U0-Fundament mit CMS, Mitgliedern und Filament bereit.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
89b35ac480
commit
2035c46edd
130 files changed
+18519
-50
No files matched your search
@@ -0,0 +1,7 @@
|
||||
<div class="cta">
|
||||
<h2>{{ $block['heading'] }}</h2>
|
||||
@if (filled($block['text'] ?? null))
|
||||
<p>{{ $block['text'] }}</p>
|
||||
@endif
|
||||
<a href="{{ $block['url'] }}">{{ $block['label'] }}</a>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<ul class="cards">
|
||||
@foreach ($block['items'] as $item)
|
||||
<li class="card">
|
||||
@if (filled($item['url'] ?? null))
|
||||
<a href="{{ $item['url'] }}">
|
||||
<h3>{{ $item['title'] }}</h3>
|
||||
@if (filled($item['text'] ?? null))
|
||||
<p>{{ $item['text'] }}</p>
|
||||
@endif
|
||||
</a>
|
||||
@else
|
||||
<h3>{{ $item['title'] }}</h3>
|
||||
@if (filled($item['text'] ?? null))
|
||||
<p>{{ $item['text'] }}</p>
|
||||
@endif
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@@ -0,0 +1,6 @@
|
||||
<dl class="faq">
|
||||
@foreach ($block['items'] as $item)
|
||||
<dt>{{ $item['question'] }}</dt>
|
||||
<dd>{{ $item['answer'] }}</dd>
|
||||
@endforeach
|
||||
</dl>
|
||||
@@ -0,0 +1,8 @@
|
||||
@if (! empty($first))
|
||||
<h1>{{ $block['heading'] }}</h1>
|
||||
@else
|
||||
<h2>{{ $block['heading'] }}</h2>
|
||||
@endif
|
||||
@if (filled($block['intro'] ?? null))
|
||||
<p class="lede">{{ $block['intro'] }}</p>
|
||||
@endif
|
||||
@@ -0,0 +1,10 @@
|
||||
<div class="image-text">
|
||||
@if (filled($block['image'] ?? null))
|
||||
<img src="{{ route('media.public', ['path' => $block['image']]) }}" alt="{{ $block['alt'] }}">
|
||||
@endif
|
||||
<div class="prose">
|
||||
@foreach (preg_split("/\n\s*\n/", trim($block['body'])) as $paragraph)
|
||||
<p>{{ $paragraph }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div class="prose">
|
||||
@foreach (preg_split("/\n\s*\n/", trim($block['body'])) as $paragraph)
|
||||
<p>{{ $paragraph }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
@extends('layouts.site')
|
||||
|
||||
@section('title', $documentTitle)
|
||||
@section('description', $documentDescription ?? '')
|
||||
@section('canonical', $page->publicUrl())
|
||||
|
||||
@section('content')
|
||||
@if ($preview)
|
||||
<p class="preview-banner" role="status">Vorschau einer unveröffentlichten Revision. Die öffentliche Seite bleibt unverändert.</p>
|
||||
@endif
|
||||
@foreach ($revision->blocks as $block)
|
||||
<section class="block">
|
||||
@include('public.blocks.'.$block['type'], ['block' => $block, 'first' => $loop->first])
|
||||
</section>
|
||||
@endforeach
|
||||
@endsection
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
@foreach ($pages as $page)
|
||||
<url><loc>{{ $page->publicUrl() }}</loc></url>
|
||||
@endforeach
|
||||
</urlset>
|
||||
Reference in new issue
Block a user