WIP
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<div class="md:flex items-end">
|
||||
<figure class="w-12 inline-block mb-1 md:mb-0 md:mr-3">
|
||||
<a href="/" title="Freek.dev">
|
||||
<img src="https://karudhaas.net/images/icon.png" class="w-full border border-white"
|
||||
<img src="https://karudhaas.synetecs.io/icon.png" class="w-full border border-white"
|
||||
alt="Karudhaas logo">
|
||||
</a>
|
||||
</figure>
|
||||
@@ -82,4 +82,4 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user