Files
www_maison_noire/src/app/layout.jsx
sasha-astiadi 1030e0150a feat: add typewriter-style love letter section with torn paper effect
- Added new love letter section below hero with custom typewriter font styling
- Integrated torn paper visual effect using new booktear.png images
- Added JMH Typewriter font and configured it in layout and Tailwind
- Created new UI component Booktear.jsx for reusable torn paper effect
- Added paper texture background and love-red color theme
- Included stylized message with custom typography and spacing
- Removed background color
2025-10-24 04:47:57 +02:00

50 lines
1.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Inter, Lexend } from 'next/font/google'
import localFont from 'next/font/local'
import clsx from 'clsx'
import '@/styles/tailwind.css'
export const metadata = {
title: {
template: '%s - MN',
default: 'Maison Noire',
},
description:
'Most bookkeeping software is accurate, but hard to use. We make the opposite trade-off, and hope you dont get audited.',
}
const inter = Inter({
subsets: ['latin'],
display: 'swap',
variable: '--font-inter',
})
const jmhTypewriter = localFont({
src: '../fonts/jmh_typewriter/JMH Typewriter.otf',
variable: '--font-jmh-typewriter',
})
const lexend = Lexend({
subsets: ['latin'],
display: 'swap',
variable: '--font-lexend',
})
export default function RootLayout({ children }) {
return (
<html
lang="en"
className={clsx(
'h-full scroll-smooth antialiased',
inter.variable,
lexend.variable,
jmhTypewriter.variable,
)}
>
<body className="flex h-full flex-col pt-20">
{children}
</body>
</html>
)
}