self-host google fonts; remove fontawesome dep

closes NoLog.cz/gull#4
This commit is contained in:
bain 2023-10-15 13:20:48 +02:00
parent 6659c0b28f
commit 634c8a57d4
Signed by: bain
GPG key ID: 31F0F25E3BED0B9B
3 changed files with 8 additions and 2 deletions

BIN
public/Poppins.ttf Normal file

Binary file not shown.

View file

@ -7,7 +7,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Radikální zkracovač odkazů / Radical URL shortener" />
<link rel="icon" href="data:,">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>
@ -18,7 +17,6 @@
document.title = document.domain;
</script>
<script async defer src="https://use.fontawesome.com/e98027591e.js"></script>
<script async defer src="index.js"></script>
<form id="url-form">

View file

@ -10,6 +10,14 @@
}
}
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(/vendor/Poppins.ttf) format('truetype');
}
body {
font-family: "Poppins", sans-serif;
font-weight: bold;