mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-22 16:13:00 +05:30
switch to woff2 font and add post images
This commit is contained in:
parent
ddba1fc23e
commit
c4d8f3c6c6
@ -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>
|
||||
|
@ -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
BIN
static/JetBrainsMono.woff2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user