1- import interClass from '@gitroom/react/helpers/inter.font' ;
21export const dynamic = 'force-dynamic' ;
32import '../global.scss' ;
43import 'react-tooltip/dist/react-tooltip.css' ;
54import '@copilotkit/react-ui/styles.css' ;
65import LayoutContext from '@gitroom/frontend/components/layout/layout.context' ;
76import { ReactNode } from 'react' ;
8- import { Chakra_Petch } from 'next/font/google' ;
7+ import { Plus_Jakarta_Sans } from 'next/font/google' ;
98import PlausibleProvider from 'next-plausible' ;
109import clsx from 'clsx' ;
1110import { VariableContextComponent } from '@gitroom/react/helpers/variable.context' ;
@@ -18,21 +17,23 @@ import { headers } from 'next/headers';
1817import { headerName } from '@gitroom/react/translation/i18n.config' ;
1918import { HtmlComponent } from '@gitroom/frontend/components/layout/html.component' ;
2019
21- const chakra = Chakra_Petch ( {
22- weight : '400' ,
20+ const jakartaSans = Plus_Jakarta_Sans ( {
21+ weight : [ '600' , '500' ] ,
22+ style : [ 'normal' , 'italic' ] ,
2323 subsets : [ 'latin' ] ,
2424} ) ;
25+
2526export default async function AppLayout ( { children } : { children : ReactNode } ) {
2627 const allHeaders = headers ( ) ;
2728 const Plausible = ! ! process . env . STRIPE_PUBLISHABLE_KEY
2829 ? PlausibleProvider
2930 : Fragment ;
3031 return (
31- < html className = { interClass } >
32+ < html >
3233 < head >
3334 < link rel = "icon" href = "/favicon.ico" sizes = "any" />
3435 </ head >
35- < body className = { clsx ( chakra . className , 'dark text-primary !bg-primary' ) } >
36+ < body className = { clsx ( jakartaSans . className , 'dark text-primary !bg-primary' ) } >
3637 < HtmlComponent />
3738 < VariableContextComponent
3839 storageProvider = {
0 commit comments