chore: Add image test page and styles for image test
This commit is contained in:
parent
9c0da4e97e
commit
a7bfa2fb71
BIN
public/static/images/thomas-tastet-hSODeSbvzE0-unsplash.jpg
Normal file
BIN
public/static/images/thomas-tastet-hSODeSbvzE0-unsplash.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 MiB |
12
src/app/image-test/page.jsx
Normal file
12
src/app/image-test/page.jsx
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
import Image from 'next/image'
|
||||||
|
|
||||||
|
export default function ImageTestPage() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<div>
|
||||||
|
<Image src="/static/images/thomas-tastet-hSODeSbvzE0-unsplash.jpg" alt="react" width={200} height={200} />
|
||||||
|
</div>
|
||||||
|
<div className="image-test">image test</div>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
@ -10,6 +10,12 @@ body {
|
|||||||
font-family: 'RoomNo';
|
font-family: 'RoomNo';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-test {
|
||||||
|
background-image: url('/static/images/thomas-tastet-hSODeSbvzE0-unsplash.jpg');
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'RoomNo';
|
font-family: 'RoomNo';
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user