Fonts
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pulvinar dui eget augue lacinia, sed feugiat lorem sodales.
import { Lobster } from 'next/font/google';
const lobster = Lobster({
weight: '400',
subsets: ['latin'],
display: 'swap',
// fallback
// style
// preload
// variable
});
const Page = () => {
return (
<div>
<div className={lobster.className}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pulvinar dui
eget augue lacinia, sed feugiat lorem sodales
</div>
</div>
);
};