diff --git a/src/components/global/Banner.tsx b/src/components/global/Banner.tsx index 18b87f1..7e20b41 100644 --- a/src/components/global/Banner.tsx +++ b/src/components/global/Banner.tsx @@ -1,9 +1,14 @@ import { prisma } from "@/lib/prisma"; import { cn } from "@/lib/utils"; -import { Fraunces } from "next/font/google"; +// import { Fraunces } from "next/font/google"; +import localFont from 'next/font/local'; import Image from "next/image"; -const pacifico = Fraunces({ weight: "700", subsets: ["latin"] }); +// const pacifico = Fraunces({ weight: "700", subsets: ["latin"] }); + +const myFont = localFont({ + src: './Echotopia-Regular.woff2', +}) export default async function Banner() { const headerImage = await prisma.artwork.findFirst({ @@ -28,7 +33,7 @@ export default async function Banner() { priority />
-

+

{title}

diff --git a/src/components/global/Echotopia-Regular.woff2 b/src/components/global/Echotopia-Regular.woff2 new file mode 100644 index 0000000..9d4ee57 Binary files /dev/null and b/src/components/global/Echotopia-Regular.woff2 differ