design upgrade

This commit is contained in:
Nermin Karic
2026-11-23 00:59:47 +01:00
parent 9e84140474
commit ada6fd857c
198 changed files with 6626 additions and 2539 deletions

View File

@@ -1,22 +1,30 @@
import { getBaseURL } from "@lib/util/env"
import { Metadata } from "next"
import { Plus_Jakarta_Sans } from "next/font/google"
import { DM_Sans, Geist } from "next/font/google"
import { cn } from "@/lib/utils"
import "styles/globals.css"
const fontSans = Plus_Jakarta_Sans({
// Body text: closest free match to Biograph's Apercu Pro
const fontSans = DM_Sans({
subsets: ["latin", "latin-ext"],
variable: "--font-sans",
display: "swap",
})
// Headings: closest free match to Biograph's Aeonik
const fontDisplay = Geist({
subsets: ["latin", "latin-ext"],
variable: "--font-display",
display: "swap",
})
export const metadata: Metadata = {
metadataBase: new URL(getBaseURL()),
}
export default function RootLayout(props: { children: React.ReactNode }) {
return (
<html lang="bs" data-mode="light" className={fontSans.variable}>
<html lang="bs" data-mode="light" className={cn(fontSans.variable, fontDisplay.variable)}>
<head>
<link rel="ucp" href="/.well-known/ucp" />
</head>