Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/docs/examples/cards.blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ title: "Cards"

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