changed image src for testing purposes
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 2m1s
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m10s

This commit is contained in:
ChrQR 2024-05-16 15:57:14 +02:00
parent c39bf2fcc1
commit 85e128312e
2 changed files with 8 additions and 0 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB