feat: embed external fonts used in the codebase

This commit is contained in:
Kasia
2023-11-24 09:13:28 +00:00
parent b0d2f28c78
commit 9f2281a3e2
5 changed files with 44 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -25,12 +25,52 @@
--> -->
<title>Automatisch</title> <title>Automatisch</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link <link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="preload"
rel="stylesheet" href="/fonts/Inter-Regular.ttf"
as="font"
crossorigin
type="font/ttf"
/> />
<link
rel="preload"
href="/fonts/Inter-Medium.ttf"
as="font"
crossorigin
type="font/ttf"
/>
<link
rel="preload"
href="/fonts/Inter-Bold.ttf"
as="font"
crossorigin
type="font/ttf"
/>
<style>
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
</style>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>

View File

@@ -12,7 +12,6 @@ import LiveChat from 'components/LiveChat/index.ee';
import routes from 'routes'; import routes from 'routes';
import reportWebVitals from './reportWebVitals'; import reportWebVitals from './reportWebVitals';
ReactDOM.render( ReactDOM.render(
<Router> <Router>
<SnackbarProvider> <SnackbarProvider>