From b5d6901f911bb74d1da8aade8b2b74b0562fc2f1 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 9 Jul 2025 15:59:31 +0200 Subject: [PATCH] add avenir --- src/app/layout.tsx | 12 +++++------- src/components/Header.tsx | 2 +- src/components/Hero.tsx | 25 +++++++++++++++++++++---- src/styles/tailwind.css | 7 ++++++- src/videos/ourworld.mp4 | Bin 0 -> 25597017 bytes 5 files changed, 33 insertions(+), 13 deletions(-) create mode 100644 src/videos/ourworld.mp4 diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 6561257..feacb3c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -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, )} > {children} diff --git a/src/components/Header.tsx b/src/components/Header.tsx index e3c2aae..19b673e 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -84,7 +84,7 @@ function MobileNavigation() { export function Header() { return ( -
+