Добавил Robots.txt + Sitemap, улучшил порядок загрузки шрифтов (95 баллов Lighthouse)

This commit is contained in:
Иван Кузьменко 2025-03-01 12:09:23 +03:00
parent 1f3ea5bbc3
commit 56d60d3b6d
5 changed files with 372 additions and 1 deletions

View file

@ -6,6 +6,7 @@
font-family: 'Lineyka';
font-style: normal;
font-weight: normal;
font-display: swap;
src: url('/fonts/lineyka.otf');
}
@ -13,6 +14,7 @@
font-family: 'Disket Mono';
font-style: normal;
font-weight: normal;
font-display: block;
src: url('/fonts/Disket-Mono-Regular.ttf');
}
@ -20,6 +22,7 @@
font-family: 'Disket Mono';
font-style: normal;
font-weight: bold;
font-display: block;
src: url('/fonts/Disket-Mono-Bold.ttf');
}

View file

@ -1,10 +1,10 @@
<script lang="ts">
import { onMount } from 'svelte';
import SocialButton from '$lib/components/SocialButton.svelte';
import SocialHyperlink from '$lib/components/SocialHyperlink.svelte';
// import { BlogAsNews, NewsAsNews, type NewsEntry } from '$lib/types/News';
// import NewsCard from '$lib/components/NewsCard.svelte';
import { PUBLIC_TS_DISCORD } from '$env/static/public';
import SocialHyperlink from '$lib/components/SocialHyperlink.svelte';
// let posts: NewsEntry[] = [];
// onMount(() => {