2024-08-04 19:07:03 +00:00
|
|
|
@extends('layouts.guest')
|
|
|
|
|
|
|
|
|
|
@section('title', 'Home')
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
<section id="blog-head" class="bubble-panel">
|
2025-10-11 20:29:03 +00:00
|
|
|
<h1>{{ config('blog.publishing_name') }}</h1>
|
|
|
|
|
<h2><i>{{ config('blog.subheading') }}</i></h2>
|
2024-08-04 19:07:03 +00:00
|
|
|
</section>
|
2025-10-11 20:29:03 +00:00
|
|
|
<section id="recent-articles-list">
|
2025-10-07 03:10:25 +00:00
|
|
|
@if(count($articles) > 0)
|
|
|
|
|
@foreach($articles as $article)
|
2025-10-11 20:29:03 +00:00
|
|
|
<article class="article-peek">
|
2025-10-07 03:10:25 +00:00
|
|
|
<h3>
|
|
|
|
|
<a href="{{ route('article', ['article_slug' => $article->slug]) }}">
|
|
|
|
|
{{ $article->title }}
|
|
|
|
|
</a>
|
|
|
|
|
</h3>
|
|
|
|
|
<h4>
|
|
|
|
|
{{ $article->subtitle }}
|
|
|
|
|
</h4>
|
2025-10-11 20:29:03 +00:00
|
|
|
<dl>
|
|
|
|
|
<dt>Author:</dt>
|
|
|
|
|
<dd>{{ $article->author->display_name }}</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Published:</dt>
|
|
|
|
|
<dd>{{ $article->published_at }}</dd>
|
|
|
|
|
</dl>
|
2025-10-07 03:10:25 +00:00
|
|
|
</article>
|
|
|
|
|
@endforeach
|
|
|
|
|
{{--
|
|
|
|
|
<section>
|
|
|
|
|
<a href="{{ route('all-articles') }}">
|
|
|
|
|
See All Articles
|
|
|
|
|
</a>
|
|
|
|
|
</section>
|
|
|
|
|
--}}
|
|
|
|
|
@else
|
2025-03-19 21:40:54 +00:00
|
|
|
<div>No articles published yet. Check back soon!</div>
|
2025-10-07 03:10:25 +00:00
|
|
|
@endif
|
2025-03-19 21:40:54 +00:00
|
|
|
</section>
|
2024-08-04 19:07:03 +00:00
|
|
|
@endsection
|