switch to woff2 font and add post images

This commit is contained in:
Akis 2023-01-04 09:57:43 +02:00
parent ddba1fc23e
commit c4d8f3c6c6
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
4 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@
</script>
{#if !isPost}
{#if post.feature_image}
<img src={post.feature_image} alt="{post.title} image" class="rounded-2">
{/if}
<a href="/blog/{post.slug}" class="text-text no-underline hover:underline"><span class="text-xl font-bold">{post.title}</span></a>
{:else}
<span class="text-xl font-bold">{post.title}</span>

View File

@ -1,6 +1,6 @@
@font-face {
font-family: "JetBrains Mono";
src: url("/JetBrainsMono.ttf");
src: url("/JetBrainsMono.woff2");
font-display: swap;
}

Binary file not shown.

BIN
static/JetBrainsMono.woff2 Normal file

Binary file not shown.