Skip to content

Commit

Permalink
fix JSX example on hero.svelte.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi authored and ImgBotApp committed Jun 5, 2023
1 parent 75e6580 commit 6c0e660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/src/routes/components/hero.svelte.md
Expand Up @@ -248,7 +248,7 @@ data="{[
</div>`
}</pre>
<pre slot="react" use:replace={{ to: $prefix }}>{
`<div className="$$hero min-h-screen" style={{ backgroundImage: `url("https://placeimg.com/1000/800/arch")` }}>
`<div className="$$hero min-h-screen" style={{ backgroundImage: \`url("https://placeimg.com/1000/800/arch")\` }}>
<div className="$$hero-overlay bg-opacity-60"></div>
<div className="$$hero-content text-center text-neutral-content">
<div className="max-w-md">
Expand Down

0 comments on commit 6c0e660

Please sign in to comment.