mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
13 lines
961 B
TypeScript
13 lines
961 B
TypeScript
import { Lora, Mulish, Playfair_Display, Urbanist } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts
|
||
const playfair = Playfair_Display({ subsets: ["latin"], style: ["normal", "italic"], variable: "--font-hotel-playfair", preload: false })
|
||
const mulish = Mulish({ subsets: ["latin"], variable: "--font-hotel-mulish", preload: false })
|
||
const lora = Lora({ subsets: ["latin"], style: ["normal", "italic"], variable: "--font-hotel-lora", preload: false })
|
||
const urbanist = Urbanist({ subsets: ["latin"], variable: "--font-hotel-urbanist", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
klassisch: { className: `${playfair.variable} ${mulish.variable}`, display: "var(--font-hotel-playfair)", body: "var(--font-hotel-mulish)" },
|
||
natur: { className: `${lora.variable} ${urbanist.variable}`, display: "var(--font-hotel-lora)", body: "var(--font-hotel-urbanist)" },
|
||
}
|