Skip to content

Commit 01c98e2

Browse files
committed
wip
1 parent 5002bad commit 01c98e2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

resources/views/articles/show.blade.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@
2020

2121
<div class="container mx-auto">
2222
<div class="px-4 lg:px-0 lg:mx-48">
23-
<div class="relative w-full bg-center bg-gray-800 p-6 lg:p-8 z-10">
23+
<div
24+
class="w-full bg-center bg-gray-800"
25+
style="background-image: url('{{ asset('images/default-background.svg') }}')"
26+
>
27+
<div class="relative w-full bg-center p-6 lg:p-8 z-10">
2428
<img class="absolute w-full h-full left-0 top-0 object-cover -z-10"
2529
src="{{ $article->heroImage(2000,384) }}"
2630
alt="Article Hero Image"
2731
onerror="
2832
this.onerror=null
29-
this.src='{{ asset('images/default-background.svg') }}'"
33+
this.src=''"
3034
>
3135
<div class="absolute inset-0 bg-gradient-to-b from-black/40 to-black/40 -z-10"></div>
3236
<div class="flex items-center justify-between mb-28 text-sm lg:text-base">
@@ -163,7 +167,7 @@ class="prose prose-lg text-gray-800 prose-lio"
163167
@endif
164168

165169
@if ($article->author()->hasTwitterAccount())
166-
<a href="https://x.com/{{ $article->author()->twitter() }}" class="text-twitter">
170+
<a href="https://twitter.com/{{ $article->author()->twitter() }}" class="text-twitter">
167171
<x-si-x class="w-6 h-6" />
168172
</a>
169173
@endif

0 commit comments

Comments
 (0)