Update show.blade.php

This commit is contained in:
2020-10-31 18:56:53 +05:00
parent 5da923dc3b
commit 77b682b2ce

View File

@@ -21,7 +21,7 @@
<div>
<div class="mb-4 md:mb-0 w-full max-w-screen-md mx-auto relative" style="height: 24em;">
<div class="absolute left-0 bottom-0 w-full h-full z-10"
style="background-image: url({{$article->featured_image}}); filter: brightness(50%);"></div>
style="background-image: url({{($article->featured_image == "images/noimg.jpg") ? "https://karudhaas/images/noimg.jpg" : $article->featured_image}}); filter: brightness(50%);"></div>
<div class="p-4 absolute bottom-0 right-0 z-20">
<h2 class="text-3xl text-gray-100 leading-relaxed text-right MvAamu" style="direction:rtl; font-weight: 100;">
{{$article->title}}</h2>