feat: 🍱 Import "Inter' font from Google fonts
Simon Mulquin simon@octree.ch
Tue, 18 Jan 2022 11:38:52 +0100
1 files changed,
3 insertions(+),
8 deletions(-)
jump to
M
frontend/pages/_document.tsx
→
frontend/pages/_document.tsx
@@ -11,14 +11,9 @@ <Head>
<meta name="theme-color" content={theme.palette.primary.main} /> <meta name="application-name" content="Caroster" /> <link rel="shortcut icon" href="/assets/favicon.ico" /> - <link - rel="stylesheet" - href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" - /> - <link - href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500&display=swap" - rel="stylesheet" - /> + <link rel="preconnect" href="https://fonts.googleapis.com" /> + <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" /> + <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap" rel="stylesheet" /> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"