37 lines
808 B
TypeScript
37 lines
808 B
TypeScript
import { type Metadata } from 'next'
|
|
import clsx from 'clsx'
|
|
|
|
import '@/styles/tailwind.css'
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s - OurWorld',
|
|
default: 'OurWorld - Accounting made simple for small businesses',
|
|
},
|
|
description:
|
|
'Most bookkeeping software is accurate, but hard to use. We make the opposite trade-off, and hope you don\'t get audited.',
|
|
}
|
|
|
|
// Avenir font configuration with fallbacks
|
|
const avenir = {
|
|
variable: '--font-avenir',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={clsx(
|
|
'h-full scroll-smooth bg-white antialiased',
|
|
avenir.variable,
|
|
)}
|
|
>
|
|
<body className="flex h-full flex-col">{children}</body>
|
|
</html>
|
|
)
|
|
}
|