mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-21 20:01:16 +00:00
Self-host google font (#274)
This commit is contained in:
parent
2f3f5b9bae
commit
f5af2046c5
7 changed files with 11 additions and 4 deletions
|
@ -1 +1 @@
|
|||
Subproject commit a1c1d46938a772b2e24451705aef044a08988730
|
||||
Subproject commit 9c279e8241b97cd7ee4d7175571862e69f6b7b24
|
|
@ -1 +1 @@
|
|||
Subproject commit a6e2572e4c81f70ef9ae48e16c39265d4714f92c
|
||||
Subproject commit b3584a450bfdfaad9f90ade28447c270d33e47bb
|
|
@ -1 +1 @@
|
|||
Subproject commit 0bc4ee5944d2b5d1f2a83ec558788e7bc5d7a445
|
||||
Subproject commit 8bb90fa4a30e6dc2ba4449794e99d6b3325bebb5
|
Binary file not shown.
BIN
src/assets/fonts/Inter.woff2
Normal file
BIN
src/assets/fonts/Inter.woff2
Normal file
Binary file not shown.
|
@ -88,7 +88,6 @@ server.get("/*", async (req, res) => {
|
|||
<!-- Styles -->
|
||||
<link rel="stylesheet" type="text/css" href="/static/styles/styles.css" />
|
||||
<link rel="stylesheet" href="/static/assets/glide.core.min.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter">
|
||||
|
||||
${helmet.link.toString()}
|
||||
</head>
|
||||
|
|
|
@ -10,3 +10,11 @@
|
|||
stroke: currentColor;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("../assets/fonts/Inter.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue