website/pages/_app.js
2023-08-05 18:21:27 +00:00

24 lines
545 B
JavaScript

import '../styles/globals.css';
import { Poppins } from 'next/font/google';
const poppins = Poppins({
weight: ['400', '700'],
fallback: ['Arial', 'Helvetica', 'system-ui', 'sans-serif'],
subsets: ['latin'], // this is the preloaded subset, all subsets will be available
});
function Pretendo({ Component, pageProps }) {
return (
<main style={poppins.style}>
<style jsx global>{`
:root {
--font-family: ${poppins.style.fontFamily};
}
`}</style>
<Component {...pageProps} />
</main>
);
}
export default Pretendo;