changed image src for testing purposes
This commit is contained in:
parent
c39bf2fcc1
commit
85e128312e
@ -1,4 +1,6 @@
|
|||||||
import { getUsers } from "@/drizzle/db";
|
import { getUsers } from "@/drizzle/db";
|
||||||
|
import Image from "next/image";
|
||||||
|
import avatar from "../public/leverpostej.jpg";
|
||||||
|
|
||||||
export default async function Home() {
|
export default async function Home() {
|
||||||
const users = await getUsers();
|
const users = await getUsers();
|
||||||
@ -7,6 +9,12 @@ export default async function Home() {
|
|||||||
return (
|
return (
|
||||||
<main className="bg-black text-white">
|
<main className="bg-black text-white">
|
||||||
<h1>Hello {name}!</h1>
|
<h1>Hello {name}!</h1>
|
||||||
|
<Image
|
||||||
|
src={avatar}
|
||||||
|
width={100}
|
||||||
|
height={100}
|
||||||
|
alt={`Picture of ${users[0].name}`}
|
||||||
|
/>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
BIN
public/leverpostej.jpg
Normal file
BIN
public/leverpostej.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 338 KiB |
Loading…
Reference in New Issue
Block a user