Move from Ubuntu font to Lexend font
This commit is contained in:
1 file changed
+3
-4
+3
-4
@@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
import React, { useEffect } from 'react'
|
import React, { useEffect } from 'react'
|
||||||
import './Globals.css'
|
import './Globals.css'
|
||||||
import { Ubuntu } from 'next/font/google'
|
import { Lexend } from 'next/font/google'
|
||||||
|
|
||||||
const ubuntu = Ubuntu({
|
const lexend = Lexend({
|
||||||
weight: ['400'],
|
|
||||||
subsets: ['latin']
|
subsets: ['latin']
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -18,7 +17,7 @@ export default function Layout ({ children }: { children: React.ReactNode }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<html lang='en' className={ubuntu.className}>
|
<html lang='en' className={lexend.className}>
|
||||||
<body>{children}</body>
|
<body>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in new issue
Block a user