Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
closes: #3015
  • Loading branch information
saadeghi committed May 4, 2024
1 parent 6021743 commit a864829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/src/routes/(docs)/components/hero/+page.svelte.md
Expand Up @@ -163,7 +163,7 @@ data="{[
</Component>

<Component title="Hero with overlay image">
<div class="hero min-h-[30rem] rounded" style="background-image: url(/images/stock/photo-1507358522600-9f71e620c44e.jpg);">
<div class="hero min-h-[30rem] rounded" style="background-image: url(https://img.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg);">
<div class="hero-overlay rounded bg-opacity-60"></div>
<div class="text-center hero-content text-neutral-content">
<div class="max-w-md">
Expand All @@ -174,7 +174,7 @@ data="{[
</div>
</div>
<pre slot="html" use:replace={{ to: $prefix }}>{
`<div class="$$hero min-h-screen" style="background-image: url(https://daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg);">
`<div class="$$hero min-h-screen" style="background-image: url(https://img.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg);">
<div class="$$hero-overlay bg-opacity-60"></div>
<div class="$$hero-content text-center text-neutral-content">
<div class="max-w-md">
Expand Down

0 comments on commit a864829

Please sign in to comment.