-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlayout.tsx
More file actions
45 lines (41 loc) · 1.67 KB
/
Copy pathlayout.tsx
File metadata and controls
45 lines (41 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import './globals.css';
import './theme.css';
import type { Metadata } from 'next';
import { Manrope, Space_Grotesk } from 'next/font/google';
import { Providers } from '../src/components/Providers';
import { themeStylesheet } from '../src/design/theme';
import { Navbar } from '../components/layout/Navbar';
import { Footer } from '../components/layout/Footer';
export const metadata: Metadata = {
title: 'FairShare - Smart Expense Sharing',
description: 'Split group expenses without confusion. FairShare helps friends, roommates, and teams track shared spending and settle up faster.',
keywords: ['expense sharing', 'group expenses', 'split bills', 'settle up', 'fairshare'],
openGraph: {
title: 'FairShare - Smart Expense Sharing',
description: 'Split group expenses without confusion. FairShare helps groups track spending and settle balances faster.',
url: 'https://fairsharee.com',
siteName: 'FairShare',
type: 'website',
},
icons: {
icon: '/favicon.ico',
},
};
const manrope = Manrope({ subsets: ['latin'], variable: '--font-sans', display: 'swap' });
const spaceGrotesk = Space_Grotesk({ subsets: ['latin'], variable: '--font-display', display: 'swap' });
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className={`${manrope.variable} ${spaceGrotesk.variable}`}>
<head>
<style id="fs-theme-vars">{themeStylesheet}</style>
</head>
<body className="min-h-screen selection:bg-[var(--fs-primary)] selection:text-white">
<Providers>
<Navbar />
<div>{children}</div>
<Footer />
</Providers>
</body>
</html>
);
}