From 20bdb09a8e108350a4953a0eddf7ebc83bf94c4f Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Thu, 14 Dec 2023 14:20:55 +0100 Subject: [PATCH] feat: Add post thumbnail to show page This commit adds a post thumbnail to the show page of a post. The thumbnail is displayed below the date and above the post title. It is an image with the source set to the URL of the post's thumbnail and alt text set to the post's title. The image has a fixed height, rounded corners, and a semi-transparent border. --- resources/views/posts/show.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/posts/show.blade.php b/resources/views/posts/show.blade.php index 6f49a5c..9014166 100644 --- a/resources/views/posts/show.blade.php +++ b/resources/views/posts/show.blade.php @@ -24,6 +24,8 @@ + {{$post->title}} Thumbnail