@@ -2,7 +2,7 @@ import 'css/tailwind.css'
22import 'pliny/search/algolia.css'
33import 'remark-github-blockquote-alert/alert.css'
44
5- import { Space_Grotesk } from 'next/font/google'
5+ import { Philosopher , Lora } from 'next/font/google'
66import { Analytics , AnalyticsConfig } from 'pliny/analytics'
77import { SearchProvider , SearchConfig } from 'pliny/search'
88import Header from '@/components/Header'
@@ -12,10 +12,17 @@ import siteMetadata from '@/data/siteMetadata'
1212import { ThemeProviders } from './theme-providers'
1313import { Metadata } from 'next'
1414
15- const space_grotesk = Space_Grotesk ( {
15+ const philosopher = Philosopher ( {
1616 subsets : [ 'latin' ] ,
1717 display : 'swap' ,
18- variable : '--font-space-grotesk' ,
18+ weight : [ '400' , '700' ] ,
19+ variable : '--font-philosopher' ,
20+ } )
21+
22+ const lora = Lora ( {
23+ subsets : [ 'latin' ] ,
24+ display : 'swap' ,
25+ variable : '--font-lora' ,
1926} )
2027
2128export const metadata : Metadata = {
@@ -64,7 +71,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
6471 return (
6572 < html
6673 lang = { siteMetadata . language }
67- className = { `${ space_grotesk . variable } scroll-smooth` }
74+ className = { `${ philosopher . variable } ${ lora . variable } scroll-smooth` }
6875 suppressHydrationWarning
6976 >
7077 < link
0 commit comments