webcompile/src/routes/+page.svelte

42 lines
857 B
Svelte
Raw Normal View History

2022-08-04 14:54:22 +05:30
<script lang="ts">
2022-08-05 19:31:15 +05:30
import SvelteSeo from "svelte-seo";
import Hero from "$lib/Hero.svelte";
import LinkButton from "$lib/LinkButton.svelte";
2022-12-27 20:58:47 +05:30
import Announcements from "./Announcements.svelte";
2022-11-10 00:12:34 +05:30
import type { PageData } from "./$types";
2022-12-27 20:58:47 +05:30
export let data: PageData;
2022-08-05 18:16:54 +05:30
2022-08-08 10:50:29 +05:30
let description: string = "Open source development and hosted services.";
2022-08-04 14:54:22 +05:30
</script>
2022-12-27 20:58:47 +05:30
<SvelteSeo
title="Home | Project Segfault"
{description}
/>
2022-08-05 19:31:15 +05:30
<Hero
title="Project Segfault"
2022-11-11 19:02:29 +05:30
{description}
2022-12-27 20:58:47 +05:30
marginTop="4"
2022-08-05 19:31:15 +05:30
>
2022-12-27 20:58:47 +05:30
<div
class="flex flex-col sm:flex-row justify-center items-center gap-4 m-4"
>
2022-08-31 16:46:12 +05:30
<LinkButton
2022-09-10 21:28:19 +05:30
url="/instances"
title="Explore our instances"
icon="i-ic:outline-room-service text-xl"
2022-08-31 16:46:12 +05:30
/>
<LinkButton
url="/donate"
icon="i-ic:outline-attach-money text-xl"
title="Donate"
bg="#F6C915"
color="#151515"
/>
2022-08-05 19:31:15 +05:30
</div>
2022-08-05 18:16:54 +05:30
</Hero>
2022-08-04 14:54:22 +05:30
2022-12-27 20:58:47 +05:30
<Announcements {data} />