Skip to content

Commit

Permalink
fix: posthog unwrapped fonts basic (#19238)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Dec 11, 2023
1 parent eb902e4 commit a50d896
Showing 1 changed file with 30 additions and 8 deletions.
38 changes: 30 additions & 8 deletions posthog/year_in_posthog/2023.html
Original file line number Diff line number Diff line change
@@ -13,8 +13,10 @@
{% else %}
<link rel="shortcut icon" href="/static/icons/favicon-dev.ico?v=2021-04-29">
{% endif %}
<link rel="preload" href="https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Medium.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-SemiBold.woff" as="font" type="font/woff" crossorigin>
{# <link rel="preload" href="https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Medium.woff2" as="font" type="font/woff2"#}
{# crossorigin="anonymous">#}
{# <link rel="preload" href="https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-SemiBold.woff2" as="font" type="font/woff2"#}
{# crossorigin="anonymous">#}
<link rel="preload" href="{% static image_webp %}" as="image">
<link rel="preload" href="{% static 'year_in_hog/background.png' %}" as="image">
<script>
@@ -50,23 +52,43 @@
})
</script>
{# can defer loading of the tooltip css #}
<link rel="preload" href="https://unpkg.com/[email protected]/microtip.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://unpkg.com/[email protected]/microtip.css"></noscript>
<link rel="preload" href="https://unpkg.com/[email protected]/microtip.css" as="style"
onload="this.onload=null;this.rel='stylesheet'">
<noscript>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/microtip.css">
</noscript>
<style>
/* Matter; bold (800); latin */
@font-face {
font-family: MatterSQ;
font-style: normal;
font-weight: 800;

src: url('https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Bold.woff2') format('woff2'),
url('https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Bold.woff') format('woff');
font-display: swap;
}

/* Matter; bold (700); latin */
@font-face {
font-family: MatterSQ;
font-style: normal;
font-weight: 700;
src: url(https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-SemiBold.woff) format("woff");
font-display: swap

src: url('https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-SemiBold.woff2') format('woff2'),
url('https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-SemiBold.woff') format('woff');
font-display: swap;
}

/* Matter; medium (500); latin */
@font-face {
font-family: MatterSQ;
font-style: normal;
font-weight: 500;
src: url(https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Medium.woff) format("woff");
font-display: swap

src: url('https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Medium.woff2') format('woff2'),
url('https://d1sdjtjk6xzm7.cloudfront.net/MatterSQ-Medium.woff') format('woff');
font-display: swap;
}

html {

0 comments on commit a50d896

Please sign in to comment.