import { prisma } from "@/lib/prisma"; import { cn } from "@/lib/utils"; import localFont from 'next/font/local'; import Image from "next/image"; const myFont = localFont({ src: './Echotopia-Regular.woff2', }) export default async function Banner() { const headerImage = await prisma.artwork.findFirst({ where: { setAsHeader: true }, include: { file: true } }) const alt = headerImage?.altText ?? "Header Image" const title = "Gaertan Art" return (
{headerImage && (
{alt}

{title}

)}
); }