www: set intrinsic size for illustration image (#160)
This commit is contained in:
@@ -19,7 +19,6 @@ export default function MainPage() {
|
|||||||
/>
|
/>
|
||||||
</Head>
|
</Head>
|
||||||
<Hero />
|
<Hero />
|
||||||
{/* <NavigationBar active="/" /> */}
|
|
||||||
<Intro />
|
<Intro />
|
||||||
<GettingStarted />
|
<GettingStarted />
|
||||||
<Example />
|
<Example />
|
||||||
@@ -74,6 +73,8 @@ function Intro() {
|
|||||||
<img
|
<img
|
||||||
src="/illust.jpeg"
|
src="/illust.jpeg"
|
||||||
class={tw`w-64 mx-auto`}
|
class={tw`w-64 mx-auto`}
|
||||||
|
width={256}
|
||||||
|
height={217}
|
||||||
alt="deno is drinking fresh lemon squash"
|
alt="deno is drinking fresh lemon squash"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user