Initial Commit

This commit is contained in:
2026-01-07 15:46:00 +01:00
commit 7133af82e3
1454 changed files with 362274 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('head')
<meta name="robots" content="noindex,follow">
@endsection
@section('meta_tags')
{!! SEO::generate() !!}}
@endsection
@section('content')
<section class="section-sm border-bottom pb-3 pt-3">
<div class="container">
<!-- Author Profile -->
<div class="author-card">
<img src="{{ $author->picture }}" alt="Author's Photo">
<h3 class="mt-3 title-color">{{ $author->name }}</h3>
<p> {{ $author->username }}</p>
<p>{{ $author->bio }}</p>
<!-- Social Links -->
@if ($author->social_links)
<div class="social-links mt-3">
@if ($author->social_links->github_url)
<a href="{{ $author->social_links->github_url }}" target="_blank" title="GitHub"><i
class="ti-github"></i></a>
@endif
@if ($author->social_links->youtube_url)
<a href="{{ $author->social_links->youtube_url }}" target="_blank" title="Youtube"><i
class="ti-youtube"></i></a>
@endif
@if ($author->social_links->facebook_url)
<a href="{{ $author->social_links->facebook_url }}" target="_blank" title="Facebook"><i
class="ti-facebook"></i></a>
@endif
@if ($author->social_links->linkedin_url)
<a href="{{ $author->social_links->linkedin_url }}" target="_blank" title="LinkedIn"><i
class="ti-linkedin"></i></a>
@endif
@if ($author->social_links->twitter_url)
<a href="{{ $author->social_links->twitter_url }}" target="_blank" title="Twitter"><i
class="ti-twitter"></i></a>
@endif
@if ($author->social_links->instagram_url)
<a href="{{ $author->social_links->instagram_url }}" target="_blank" title="Instagram"><i
class="ti-instagram"></i></a>
@endif
</div>
@endif
</div>
<!-- Author's Posts -->
</div>
</section>
<section class="section-sm mt-0 pt-4">
<div class="container">
<div class="row">
@forelse ($posts as $post)
<div class="col-sm-6 col-md-4 col-lg-3 mb-2">
<article class="mb-2">
<div class="mb-2">
<img src="/images/posts/resized/resized_{{ $post->featured_image }}" alt="featured_image"
class="img-fluid rounded-lg">
</div>
<h5>
<a class="post-title" href="{{ route('read_post', $post->slug) }}">
{{ $post->title }}
</a>
</h5>
<ul class="list-inline post-meta mb-2">
<li class="list-inline-item">Datum : {{ date_formatter($post->created_at) }}</li>
<li class="list-inline-item">Kategorie : <a
href="{{ route('category_posts', $post->post_category->slug) }}"
class="ml-1">{{ $post->post_category->name }} </a>
</li>
</ul>
</article>
</div>
@empty
<div class="col-span-12">
<div class="text-danger text-center">
Dieser Author hat keine Posts
</div>
</div>
@endforelse
</div>
<div class="pagination-block">
{{ $posts->appends(request()->input())->links('custom_pagination') }}
</div>
</div>
</section>
@endsection

View File

@@ -0,0 +1,45 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('head')
<meta name="robots" content="noindex,follow">
@endsection
@section('meta_tags')
{!! SEO::generate() !!}
@endsection
@section('content')
<div class="w-full mb-3">
<h3 class="title-color">{{ $pageTitle }}</h3>
</div>
@if ($posts->count())
<div class="row">
@foreach ($posts as $post)
<div class="col-sm-6 col-md-4 col-lg-3 mb-2">
<article class="mb-2">
<div class="mb-2">
<img src="/images/posts/resized/resized_{{ $post->featured_image }}" alt="category_image"
class="img-fluid rounded-lg" />
</div>
<h5>
<a class="post-title" href="{{ route('read_post', $post->slug) }}">
{{ $post->title }}
</a>
</h5>
<ul class="list-inline post-meta mb-2">
<li class="list-inline-item">Date: {{ date_formatter($post->created_at) }}</li>
<li class="list-inline-item">Kategorie: <a
href="{{ route('category_posts', $post->post_category->slug) }}"
class="ml-1">{{ $post->post_category->name }}</a> </li>
</ul>
</article>
</div>
@endforeach
</div>
@else
<p><span class="text-danger">Keine Posts in dieser Kategorie gefunden</span></p>
@endif
<div class="pagination-block">
{{ $posts->appends(request()->input())->links('custom_pagination') }}
</div>
@endsection

View File

@@ -0,0 +1,101 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('meta_tags')
{!! SEO::generate() !!}}
@endsection
@section('content')
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<div class="mb-5 d-flex align-items-center">
<h3 class="title-color">Kontaktieren Sie uns</h3>
<ul class="list-inline social-icons ml-auto mr-3 d-none d-sm-block">
@if (site_social_links()->facebook_url)
<li class="list-inline-item">
<a href="{{ site_social_links()->facebook_url }}" target="_blank">
<i class="ti-facebook"></i>
</a>
</li>
@endif
@if (site_social_links()->twitter_url)
<li class="list-inline-item">
<a href="{{ site_social_links()->twitter_url }}" target="_blank">
<i class="ti-twitter-alt"></i>
</a>
</li>
@endif
@if (site_social_links()->linkedin_url)
<li class="list-inline-item">
<a href="{{ site_social_links()->linkedin_url }}" target="_blank">
<i class="ti-linkedin"></i>
</a>
</li>
@endif
@if (site_social_links()->instagram_url)
<li class="list-inline-item">
<a href="{{ site_social_links()->instagram_url }}" target="_blank">
<i class="ti-instagram"></i>
</a>
</li>
@endif
</ul>
</div>
</div>
<div class="col-md-6">
<div class="content mb-5">
<h4>Wir freuen uns auf Ihre Nachricht</h4>
<p>Wir freuen uns auf Ihre Nachricht
Haben Sie Fragen, Anregungen oder Feedback? Zögern Sie nicht, uns zu kontaktieren. Wir helfen
Ihnen gerne weiter und melden uns so schnell wie möglich bei Ihnen.</p>
@if (settings()->site_email != '')
<h4 class="mt-5">Sie mögen keine Formulare? Schreiben Sie uns direkt per E-Mail</h4>
<p><i class="ti-email mr-2 text-primary"></i><a
href="mailto:{{ settings()->site_email }}">{{ settings()->site_email }}</a>
</p>
@endif
</div>
</div>
<div class="col-md-6">
<form method="POST" action="{{ route('send_email') }}">
@csrf
<x-form-alerts></x-form-alerts>
<div class="form-group">
<label for="name"><b class="title-color">Ihr Name</b> (Required):</label>
<input type="text" name="name" id="name" class="form-control"
value="{{ old('name') }}" placeholder="eg: William Woods" />
@error('name')
<span class="text-danger ml-1">{{ $message }}</span>
@enderror
</div>
<div class="form-group">
<label for="email"> <b class="title-color">Ihre Email Addresse</b> (Required): </label>
<input type="email" name="email" id="email" class="form-control"
value="{{ old('email') }}" placeholder="eg: williamwoods@example.com" />
@error('email')
<span class="text-danger ml-1">{{ $message }}</span>
@enderror
</div>
<div class="form-group">
<label for="subject"><b class="title-color">Titel</b>: (Required):</label>
<input type="text" name="subject" id="subject" class="form-control"
value="{{ old('subject') }}" placeholder="eg: Advertising" />
@error('subject')
<span class="text-danger ml-1">{{ $message }}</span>
@enderror
</div>
<div class="form-group">
<label for="message"><b class="title-color">Ihre Nachricht</b>: (Required):</label>
<textarea name="message" id="message" class="form-control">{{ old('message') }}</textarea>
@error('message')
<span class="text-danger ml-1">{{ $message }}</span>
@enderror
</div>
<button type="submit" class="btn btn-primary">Absenden</button>
</form>
</div>
</div>
</div>
</section>
@endsection

View File

@@ -0,0 +1,9 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('meta_tags')
{!! SEO::generate() !!}}
@endsection
@section('content')
-- Page Content
@endsection

View File

@@ -0,0 +1,144 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('meta_tags')
{!! SEO::generate() !!}}
@endsection
@section('content')
<div class="row">
<div class="col-lg-8 mb-5 mb-lg-0">
<article class="row mb-5">
@if (!empty(get_slides()))
<div class="col-12">
<div class="post-slider">
@foreach (get_slides() as $slide)
<div class="slider-item">
<img fetchpriority="high" decoding="async" src="/images/slides/{{ $slide->image }}"
class="img-fluid" alt="post-thumb">
<div class="slider-content">
@if ($slide->link)
<a href="{{ $slide->link }}">
<h2 class="animate__animated">{{ $slide->heading }}</h2>
</a>
@else
<h2 class="animate__animated">{{ $slide->heading }}</h2>
@endif
</div>
</div>
@endforeach
</div>
</div>
@endif
@if (!empty(latest_posts(0, 1)))
@foreach (latest_posts(0, 1) as $post)
<div class="col-12 mx-auto">
<h3>
<a class="post-title" href="{{ route('read_post', $post->slug) }}">
{{ $post->title }}
</a>
</h3>
<ul class="list-inline post-meta mb-4">
<li class="list-inline-item"><i class="ti-user mr-1"></i>
<a
href="{{ route('author_posts', $post->author->username) }}">{{ $post->author->name }}</a>
</li>
<li class="list-inline-item"><i
class="ti-calendar mr-1"></i>{{ date_formatter($post->created_at) }}</li>
<li class="list-inline-item">Category : <a
href="{{ route('category_posts', $post->post_category->slug) }}" class="ml-1">Web
{{ $post->post_category->name }}
</a>
</li>
<li class="list-inline-item"><i class="ti-timer mr-1"></i>
{{ readDuration($post->title, $post->content) }} @choice('min|mins', readDuration($post->title, $post->content))
</li>
</ul>
<p>
{!! Str::ucfirst(words($post->content, 45)) !!}
</p>
<a href="{{ route('read_post', $post->slug) }}" class="btn btn-outline-primary">Read
more...</a>
</div>
@endforeach
@endif
</article>
<section id="home__latest-posts">
@if (!empty(latest_posts(1, 3)))
@foreach (latest_posts(1, 3) as $post)
<article class="row mb-5">
<div class="col-md-4 mb-4 mb-md-0">
<div class="post-img-box">
<img src="/images/posts/resized/resized_{{ $post->featured_image }}"
class="img-fluid rounded-lg" alt="post-thumb">
</div>
</div>
<div class="col-md-8">
<h4>
<a class="post-title" href="{{ route('read_post', $post->slug) }}">
{{ $post->title }}
</a>
</h4>
<ul class="list-inline post-meta mb-2">
<li class="list-inline-item"><i class="ti-user mr-2"></i><a
href="{{ route('author_posts', $post->author->username) }}">{{ $post->author->name }}</a>
</li>
<li class="list-inline-item">{{ date_formatter($post->created_at) }}</li>
<li class="list-inline-item">Kategorie : <a
href="{{ route('category_posts', $post->post_category->slug) }}"
class="ml-1">{{ $post->post_category->name }} </a>
</li>
<li class="list-inline-item"><i class="ti-timer mr-1"></i>
{{ readDuration($post->title, $post->content) }} @choice('min|mins', readDuration($post->title, $post->content))
</li>
</ul>
<p>
{!! Str::ucfirst(words($post->content, 30)) !!}
</p>
<a href="{{ route('read_post', $post->slug) }}" class="btn btn-outline-primary">Read
more...</a>
</div>
</article>
@endforeach
@endif
</section>
</div>
<aside class="col-lg-4">
<!-- Search -->
<x-sidebar-search></x-sidebar-search>
<!-- categories -->
<x-sidebar-categories></x-sidebar-categories>
<!-- tags -->
<x-sidebar-tags></x-sidebar-tags>
<!-- latest post -->
<div class="widget">
<h5 class="widget-title"><span>Letzte Post</span></h5>
<!-- post-item -->
@foreach (sidebar_latest_posts(4) as $item)
<ul class="list-unstyled widget-list">
<li class="media widget-post align-items-center">
<a href="{{ route('read_post', $item->slug) }}">
<img loading="lazy" class="mr-3" alt="post-thumb"
src="/images/posts/resized/thumb_{{ $post->featured_image }}">
</a>
<div class="media-body">
<h6 class="mb-0">
<a href="{{ route('read_post', $item->slug) }}">{{ $item->title }}</a>
</h6>
<small>{{ date_formatter($post->created_at) }}</small>
</div>
</li>
</ul>
@endforeach
</div>
<a href="https://www.checkout-ds24.com/product/614053?aff=MagicPotter"
class="ad-banner d-flex align-items-center justify-content-center">
<span class="ad-text">Jetzt klicken</span>
</a>
</aside>
</div>
@endsection

View File

@@ -0,0 +1,95 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('meta_tags')
{!! SEO::generate() !!}}
@endsection
@section('content')
<div class="d-flex align-items-center mb-3">
<h4 class="title-color">Suche nach:</h4>
<span class="ml-2">{{ $query }}</span>
</div>
<div class="row">
<div class="col-lg-8 mb-5 mb-lg-0">
<div class="col-12 mb-5 mb-lg-0">
@forelse ($posts as $post)
<article class="row mb-5">
<div class="col-md-4 mb-4 mb-md-0">
<div class="post-img-box">
<img src="/images/posts/resized/resized_{{ $post->featured_image }}"
class="img-fluid rounded-lg" alt="post-thumb">
</div>
</div>
<div class="col-md-8">
<h5>
<a class="post-title" href="{{ route('read_post', $post->slug) }}">
{{ $post->title }}
</a>
</h5>
<ul class="list-inline post-meta mb-2">
<li class="list-inline-item">
<i class="ti-user mr-1"></i><a
href="{{ route('author_posts', $post->author->username) }}">{{ $post->author->name }}</a>
</li>
<li class="list-inline-item">
<i class="ti-calendar mr-1"></i>{{ date_formatter($post->created_at) }}
</li>
<li class="list-inline-item">
Kategorie : <a href="{{ route('category_posts', $post->post_category->slug) }}"
class="ml-1">{{ $post->post_category->name }}</a>
</li>
<li class="list-inline-item"><i class="ti-timer mr-1"></i>
{{ readDuration($post->title, $post->content) }} @choice('min|mins', readDuration($post->title, $post->content))
</li>
</ul>
<p>
{!! Str::ucfirst(words($post->content, 45)) !!}
</p>
<a href="{{ route('read_post', $post->slug) }}" class="btn btn-outline-primary">Mehr
lesen...</a>
</div>
</article>
@empty
<div class="col-span-12">
<div class="text-danger text-center">
Keine Ergebnisse für diese Suche
</div>
</div>
@endforelse
</div>
<div class="pagination-block">
{{ $posts->appends(request()->input())->links('custom_pagination') }}
</div>
</div>
<aside class="col-lg-4">
<!-- Search -->
<x-sidebar-search></x-sidebar-search>
<!-- categories -->
<x-sidebar-categories></x-sidebar-categories>
<!-- tags -->
<x-sidebar-tags></x-sidebar-tags>
<!-- latest post -->
<div class="widget">
<h5 class="widget-title"><span>Letzte Posts</span></h5>
<!-- post-item -->
@foreach (sidebar_latest_posts() as $item)
<ul class="list-unstyled widget-list">
<li class="media widget-post align-items-center">
<a href="{{ route('read_post', $item->slug) }}">
<img loading="lazy" class="mr-3" alt="post-thumb"
src="/images/posts/resized/thumb_{{ $item->featured_image }}">
</a>
<div class="media-body">
<h6 class="mb-0">
<a href="{{ route('read_post', $item->slug) }}">{{ $item->title }}</a>
</h6>
<small>{{ date_formatter($item->created_at) }}</small>
</div>
</li>
</ul>
@endforeach
</div>
</aside>
</div>
@endsection

View File

@@ -0,0 +1,173 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('meta_tags')
{!! SEO::generate() !!}}
@endsection
@section('structured_data')
@if (!empty($post->structured_data))
<script type="application/ld+json">
{!! $post->structured_data !!}
</script>
@endif
@endsection
@section('content')
<div class="row">
<div class="col-lg-8 mb-5 mb-lg-0">
<article class="row mb-4">
<div class="col-lg-12 mb-2">
<h2 class="mb-3">{{ $post->title }}</h2>
<ul class="list-inline post-meta">
<li class="list-inline-item"><i class="ti-user mr-2"></i><a
href="{{ route('author_posts', $post->author->username) }}">{{ $post->author->name }}</a>
</li>
<li class="list-inline-item">Datum : {{ date_formatter($post->created_at) }}</li>
<li class="list-inline-item">Kategorie : <a
href="{{ route('category_posts', $post->post_category->slug) }}"
class="ml-1">{{ $post->post_category->name }}</a>
</li>
<li class="list-inline-item"><i class="ti-timer mr-1"></i>
{{ readDuration($post->title, $post->content) }} @choice('min|mins', readDuration($post->title, $post->content))
</li>
</ul>
</div>
<div class="col-12 mb-3">
<img alt="single-image" src="/images/posts/{{ $post->featured_image }}" class="img-fluid rounded-lg">
</div>
<!-- SHARE BUTTONS -->
<div class="share-buttons">
<span class="title-color">Share: </span>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ urlencode(route('read_post', $post->slug)) }}"
target="_blank" class="btn-facebook">
<i class="ti-facebook"></i>
</a>
<a href="https://twitter.com/intent/tweet?url={{ urlencode(route('read_post', $post->slug)) }}&text={{ urlencode($post->title) }}"
target="_blank" class="btn-twitter">
<i class="ti-twitter-alt"></i>
</a>
<a href="https://www.pinterest.com/pin/create/button?url={{ urlencode(route('read_post', $post->slug)) }}&description={{ urlencode($post->title) }}"
target="_blank" class="btn-pinterest">
<i class="ti-pinterest"></i>
</a>
<a href="mailto:?subject={{ urlencode('Schau dir das an: ' . $post->title) }}&body={{ urlencode('Schau dir diesen Post an: ' . route('read_post', $post->slug)) }}"
target="_blank" class="btn-email">
<i class="ti-email"></i>
</a>
</div>
<!-- SHARE BUTTONS -->
<div class="col-lg-12">
<div class="content">
<p>
{!! $post->content !!}
</p>
</div>
</div>
</article>
<div class="prev-next-posts mt-3 mb-3">
<div class="row justify-content-between p-4">
<div class="col-md-6 mb-2">
@if ($prevPost)
<div>
<h6>&laquo; Vorige</h6>
<a href="{{ route('read_post', $prevPost->slug) }}">{{ $prevPost->title }}</a>
</div>
@endif
</div>
<div class="col-md-6 mb-2 text-md-right">
@if ($nextPost)
<div>
<h6>Nächste &raquo;</h6>
<a href="{{ route('read_post', $nextPost->slug) }}">{{ $nextPost->title }}</a>
</div>
@endif
</div>
</div>
</div>
@if ($relatedPosts)
<section>
<h4>Relevante Posts</h4>
<hr>
@foreach ($relatedPosts as $related)
<article class="row mb-5 mt-4">
<div class="col-md-4 mb-4 mb-md-0">
<div class="post-img-box">
<img src="/images/posts/resized/thumb_{{ $related->featured_image }}"
class="img-fluid rounded-lg" alt="post-thumb">
</div>
</div>
<div class="col-md-8">
<h4>
<a class="post-title" href="{{ route('read_post', $related->slug) }}">
{{ $related->title }}
</a>
</h4>
<ul class="list-inline post-meta mb-2">
<li class="list-inline-item">
<i class="ti-user mr-1"></i><a
href="{{ route('author_posts', $post->author->username) }}">{{ $related->author->name }}</a>
</li>
<li class="list-inline-item">
<i class="ti-calendar mr-1"></i>{{ date_formatter($related->created_at) }}
</li>
<li class="list-inline-item">
Kategorie : <a href="{{ route('category_posts', $related->post_category->slug) }}"
class="ml-1">{{ $related->post_category->name }}</a>
</li>
<li class="list-inline-item"><i class="ti-timer mr-1"></i>
{{ readDuration($post->title, $post->content) }} @choice('min|mins', readDuration($related->title, $related->content))
</li>
</ul>
{!! Str::ucfirst(words($related->content, 28)) !!}
<a href="{{ route('read_post', $related->slug) }}" class="btn btn-outline-primary">Mehr
lesen...</a>
</div>
</article>
@endforeach
</section>
@endif
</div>
<aside class="col-lg-4">
<!-- Search -->
<x-sidebar-search></x-sidebar-search>
<!-- categories -->
<x-sidebar-categories></x-sidebar-categories>
<!-- tags -->
<x-sidebar-tags></x-sidebar-tags>
<!-- latest post -->
<div class="widget">
<h5 class="widget-title"><span>Letzte Post</span></h5>
<!-- post-item -->
@foreach (sidebar_latest_posts(4, $post->id) as $item)
<ul class="list-unstyled widget-list">
<li class="media widget-post align-items-center">
<a href="{{ route('read_post', $item->slug) }}">
<img loading="lazy" class="mr-3" alt="post-thumb"
src="/images/posts/resized/thumb_{{ $item->featured_image }}">
</a>
<div class="media-body">
<h6 class="mb-0">
<a href="{{ route('read_post', $item->slug) }}">{{ $item->title }}</a>
</h6>
<small>{{ date_formatter($item->created_at) }}</small>
</div>
</li>
</ul>
@endforeach
</div>
</aside>
</div>
@endsection
@push('scripts')
<script>
$(document).on('click', '.share-buttons > a', function(e) {
e.preventDefault();
window.open($(this).attr('href'), '', 'height=450,width=450,top=' + ($(window).height() / 2 - 275) +
', left=' + ($(window).width() / 2 - 225) +
', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0');
return false;
});
</script>
@endpush

View File

@@ -0,0 +1,45 @@
@extends('front.layout.pages-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Document Title')
@section('head')
<meta name="robots" content="noindex,follow">
@endsection
@section('meta_tags')
{!! SEO::generate() !!}
@endsection
@section('content')
<div class="w-full mb-3">
<h3 class="title-color">{{ $pageTitle }}</h3>
</div>
@if ($posts->count())
<div class="row">
@foreach ($posts as $post)
<div class="col-sm-6 col-md-4 col-lg-3 mb-2">
<article class="mb-2">
<div class="mb-2">
<img src="/images/posts/resized/resized_{{ $post->featured_image }}" alt="tag-thumb"
class="img-fluid rounded-lg" />
</div>
<h5>
<a class="post-title" href="{{ route('read_post', $post->slug) }}">
{{ $post->title }}
</a>
</h5>
<ul class="list-inline post-meta mb-2">
<li class="list-inline-item">Datum: {{ date_formatter($post->created_at) }}</li>
<li class="list-inline-item">Kategorie: <a
href="{{ route('category_posts', $post->post_category->slug) }}"
class="ml-1">{{ $post->post_category->name }}</a> </li>
</ul>
</article>
</div>
@endforeach
</div>
@else
<p><span class="text-danger">Keine Posts mit diesen Tags gefunden</span></p>
@endif
<div class="pagination-block">
{{ $posts->appends(request()->input())->links('custom_pagination') }}
</div>
@endsection