Some checks failed
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Has been cancelled
40 lines
969 B
TypeScript
40 lines
969 B
TypeScript
import localFont from "next/font/local";
|
|
|
|
/** Antebas — primary site typeface (self-hosted from public/fonts). */
|
|
export const antebas = localFont({
|
|
src: [
|
|
{
|
|
path: "../../public/fonts/Fontspring-DEMO-antebas-thin.otf",
|
|
weight: "100",
|
|
style: "normal",
|
|
},
|
|
{
|
|
path: "../../public/fonts/Fontspring-DEMO-antebas-light.otf",
|
|
weight: "300",
|
|
style: "normal",
|
|
},
|
|
{
|
|
path: "../../public/fonts/Fontspring-DEMO-antebas-regular.otf",
|
|
weight: "400",
|
|
style: "normal",
|
|
},
|
|
{
|
|
path: "../../public/fonts/Fontspring-DEMO-antebas-medium.otf",
|
|
weight: "500",
|
|
style: "normal",
|
|
},
|
|
{
|
|
path: "../../public/fonts/Fontspring-DEMO-antebas-bold.otf",
|
|
weight: "700",
|
|
style: "normal",
|
|
},
|
|
{
|
|
path: "../../public/fonts/Fontspring-DEMO-antebas-black.otf",
|
|
weight: "900",
|
|
style: "normal",
|
|
},
|
|
],
|
|
variable: "--font-antebas",
|
|
display: "swap",
|
|
});
|