This commit is contained in:
Boring Dragon
2025-05-30 23:10:59 +05:00
parent f31e3dde85
commit b9a43e3214
2 changed files with 7 additions and 7 deletions

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 == "images/noimg.jpg") ? "https://karudhaas.net/images/noimg.jpg" : $article->featured_image}}); filter: brightness(50%);"></div>
style="background-image: url({{($article->featured_image == "images/noimg.jpg") ? "https://karudhaas.synetecs.io/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>
@@ -60,12 +60,12 @@
</div>
@foreach ($article->body as $key => $block)
<p class="MvTyper text-right" style="direction:rtl;">
{{$block}}
<br>
<br>
@break($key == 2)
</p>
@endforeach
<div class="flex justify-center mb-4">
@@ -84,7 +84,7 @@
<div class="flex flex-wrap items-center justify-center">
@foreach ($article->topics as $topic)
<a href="{{route('topics.show', $topic->slug)}}"
class="mt-4 mr-2 no-underline hover:border-gray-900 hover:text-gray-900 hover:bg-white border text-sm font-bold topics px-3 py-2 rounded MvTyper">
{{$topic->name}}
@@ -95,4 +95,4 @@
</div>
</div>
</x-layout>
</x-layout>