feat: embed external fonts used in the codebase
This commit is contained in:
BIN
packages/web/public/fonts/Inter-Bold.ttf
Normal file
BIN
packages/web/public/fonts/Inter-Bold.ttf
Normal file
Binary file not shown.
BIN
packages/web/public/fonts/Inter-Medium.ttf
Normal file
BIN
packages/web/public/fonts/Inter-Medium.ttf
Normal file
Binary file not shown.
BIN
packages/web/public/fonts/Inter-Regular.ttf
Normal file
BIN
packages/web/public/fonts/Inter-Regular.ttf
Normal file
Binary file not shown.
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user