Skip to content

Commit efb93a0

Browse files
authored
Merge pull request #68 from ninjaparade/patch-1
Update code examples
2 parents 1386421 + 8ace721 commit efb93a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/docs/examples/cards.blade.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ title: "Cards"
2323

2424
@component('_partials.code-sample', ['class' => 'p-10 flex justify-center'])
2525
<div class="max-w-sm rounded overflow-hidden shadow-lg">
26-
<img class="w-full" src="/img/card-top.jpg">
26+
<img class="w-full" src="{{ $page->baseUrl }}/img/card-top.jpg">
2727
<div class="px-6 py-4">
2828
<div class="font-bold text-xl mb-2">The Coldest Sunset</div>
2929
<p class="text-slate text-base">
@@ -43,7 +43,7 @@ title: "Cards"
4343
@component('_partials.code-sample', ['class' => 'p-10 flex justify-center'])
4444
<div class="max-w-md flex">
4545
<div class="rounded rounded-l w-128 text-center overflow-hidden">
46-
<img class="block h-64" src="/img/card-left.jpg">
46+
<img class="block h-64" src="{{ $page->baseUrl }}/img/card-left.jpg">
4747
</div>
4848
<div class="border-t border-r border-b border-smoke rounded rounded-r p-4 flex flex-col justify-between">
4949
<div>

0 commit comments

Comments
 (0)