add avenir
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { type Metadata } from 'next'
|
||||
import { Inter } from 'next/font/google'
|
||||
import clsx from 'clsx'
|
||||
|
||||
import '@/styles/tailwind.css'
|
||||
@@ -13,11 +12,10 @@ export const metadata: Metadata = {
|
||||
'Most bookkeeping software is accurate, but hard to use. We make the opposite trade-off, and hope you don\'t get audited.',
|
||||
}
|
||||
|
||||
const inter = Inter({
|
||||
subsets: ['latin'],
|
||||
display: 'swap',
|
||||
variable: '--font-inter',
|
||||
})
|
||||
// Avenir font configuration with fallbacks
|
||||
const avenir = {
|
||||
variable: '--font-avenir',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -29,7 +27,7 @@ export default function RootLayout({
|
||||
lang="en"
|
||||
className={clsx(
|
||||
'h-full scroll-smooth bg-white antialiased',
|
||||
inter.variable,
|
||||
avenir.variable,
|
||||
)}
|
||||
>
|
||||
<body className="flex h-full flex-col">{children}</body>
|
||||
|
Reference in New Issue
Block a user