fix some seo stuff

This commit is contained in:
Akis 2022-08-07 12:42:09 +03:00
parent 99b2d1e51c
commit bec83f4686
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
2 changed files with 11 additions and 9 deletions

View File

@ -1,11 +1,13 @@
<script lang="ts"> <script lang="ts">
import SvelteSeo from "svelte-seo"; import SvelteSeo from "svelte-seo";
import Hero from "$lib/Hero.svelte"; import Hero from "$lib/Hero.svelte";
let description: string =
"7 idiots, 2 OVH vpses, a BuyVM 1024 Slice, a Sun server and a Hitachi Compute Rack.";
import IconMoneyBill from "~icons/fa6-solid/money-bill"; import IconMoneyBill from "~icons/fa6-solid/money-bill";
import IconCircleInfo from "~icons/fa6-solid/circle-info";
import IconTriangleExclamation from "~icons/fa6-solid/triangle-exclamation";
import dayjs from "dayjs";
let description: string = "7 idiots, 2 OVH vpses, a BuyVM 1024 Slice, a Sun server and a Hitachi Compute Rack.";
let announcements: any = []; let announcements: any = [];
async function fetchAnnouncements() { async function fetchAnnouncements() {
const url = `https://segfautils.projectsegfau.lt/api/announcements`; const url = `https://segfautils.projectsegfau.lt/api/announcements`;
@ -15,14 +17,9 @@
} }
const promise = fetchAnnouncements(); const promise = fetchAnnouncements();
import IconCircleInfo from "~icons/fa6-solid/circle-info";
import IconTriangleExclamation from "~icons/fa6-solid/triangle-exclamation";
import dayjs from "dayjs";
</script> </script>
<SvelteSeo title="Home" {description} /> <SvelteSeo title="Home | Project Segfault" {description} />
<Hero <Hero
title="Project Segfault" title="Project Segfault"

View File

@ -11,6 +11,11 @@
import Hero from "$lib/Hero.svelte"; import Hero from "$lib/Hero.svelte";
</script> </script>
<svelte:head>
<title>Timeline | Project Segfault</title>
<meta name="description" content="Timeline of Project Segfault's history." />
</svelte:head>
<Hero> <Hero>
<h1>A timeline of <span>Project Segfault</span>'s history</h1> <h1>A timeline of <span>Project Segfault</span>'s history</h1>
</Hero> </Hero>