Skip to content

Commit

Permalink
download fonts, https forced
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmersmid committed Jan 17, 2024
1 parent 4f3e5e1 commit 25fbb57
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,24 @@
<meta name="theme-color" content="#ffffff">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
<meta name="theme-color" content="#ffffff">
<style>
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(inter400.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(inter600.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
--text: #272727;
--bg: #fff;
Expand Down Expand Up @@ -123,5 +138,12 @@ <h2>Address</h2>
</div>
</footer>
</article>
<script>
(() => {
if (location.protocol !== 'https:') {
location.replace(`https:${location.href.substring(location.protocol.length)}`);
}
})
</script>
</body>
</html>
Binary file added inter400.woff2
Binary file not shown.
Binary file added inter600.woff2
Binary file not shown.

0 comments on commit 25fbb57

Please sign in to comment.