first commit
This commit is contained in:
28
apps/suman-bosna/src/app/layout.tsx
Normal file
28
apps/suman-bosna/src/app/layout.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { getBaseURL } from "@lib/util/env"
|
||||
import { Metadata } from "next"
|
||||
import { Plus_Jakarta_Sans } from "next/font/google"
|
||||
import { cn } from "@/lib/utils"
|
||||
import "styles/globals.css"
|
||||
|
||||
const fontSans = Plus_Jakarta_Sans({
|
||||
subsets: ["latin", "latin-ext"],
|
||||
variable: "--font-sans",
|
||||
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}>
|
||||
<head>
|
||||
<link rel="ucp" href="/.well-known/ucp" />
|
||||
</head>
|
||||
<body className="min-h-screen bg-background font-sans text-foreground antialiased selection:bg-secondary selection:text-secondary-foreground">
|
||||
<main className="relative">{props.children}</main>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user