+
+ @foreach($posts as $post)
+
+
+ {{ Carbon::parse($post->date)->format('F d, Y') }}
+
+
+
+
{{ $post->title }}
+
{{ $post->description }}
+
+ Read more
+
+ @endforeach
+
+
+ {{ $posts->links() }}
+
+
diff --git a/resources/views/posts/index.blade.php b/resources/views/posts/index.blade.php
index 91f7bb2..10e1cb6 100644
--- a/resources/views/posts/index.blade.php
+++ b/resources/views/posts/index.blade.php
@@ -1,8 +1,7 @@
@extends('layouts.app')
@section('title', 'Heimerdinger.LoL • Posts')
-@section('description', 'Explore all champion skins on Heimerdinger.LoL. Find detailed information on popular skins
-such as Dark Cosmic Jhin, HEARTSTEEL Ezreal, PROJECT: Vayne and more!')
+@section('description', 'Explore all our blog posts on Heimerdinger.LoL. Posts about League of Legends and more.')
@section('content')
@@ -10,11 +9,8 @@ such as Dark Cosmic Jhin, HEARTSTEEL Ezreal, PROJECT: Vayne and more!')
class="text-3xl font-bold text-center text-transparent uppercase sm:text-4xl
bg-gradient-to-bl from-orange-300 to-orange-500 bg-clip-text">
Posts
- Latest posts about League of Legends
- @foreach($posts as $post)
- {{ $post->title }}
- {{ $post->description}}
-
- @endforeach
+ Our latest posts about League of
+ Legends
+
@endsection
diff --git a/resources/views/posts/show.blade.php b/resources/views/posts/show.blade.php
index e69de29..d6d62a1 100644
--- a/resources/views/posts/show.blade.php
+++ b/resources/views/posts/show.blade.php
@@ -0,0 +1,38 @@
+@use('Carbon\Carbon')
+@extends('layouts.app')
+
+@section('title', $post->title . ' • Heimerdinger.LoL')
+@section('description', 'Heimerdinger.LoL: ' . $post->description)
+
+@section('content')
+