website/src/routes/+page.svelte

51 lines
985 B
Svelte
Raw Normal View History

2022-08-04 12:24:22 +03:00
<script lang="ts">
2022-08-05 17:01:15 +03:00
import SvelteSeo from "svelte-seo";
import Hero from "$lib/Hero.svelte";
import LinkButton from "$lib/LinkButton.svelte";
2022-10-01 16:11:54 +03:00
import Announcements from "$lib/Announcements.svelte";
2022-08-05 15:46:54 +03:00
2022-08-08 08:20:29 +03:00
let description: string = "Open source development and hosted services.";
2022-08-04 12:24:22 +03:00
</script>
2022-08-07 12:42:09 +03:00
<SvelteSeo title="Home | Project Segfault" {description} />
2022-08-05 17:01:15 +03:00
<Hero
title="Project Segfault"
description="Open source development and hosted services"
marginTop="7"
>
<div class="buttons">
2022-08-31 14:16:12 +03:00
<LinkButton
2022-09-10 18:58:19 +03:00
url="/instances"
title="Explore our instances"
2022-08-31 14:16:12 +03:00
icon="i-fa6-solid:bell-concierge"
/>
<LinkButton
url="/donate"
icon="i-fa6-solid:money-bill"
title="Donate"
bg="#F6C915"
color="#151515"
/>
2022-08-05 17:01:15 +03:00
</div>
2022-08-05 15:46:54 +03:00
</Hero>
2022-08-04 12:24:22 +03:00
2022-10-01 16:11:54 +03:00
<Announcements />
2022-08-05 15:46:54 +03:00
<style>
2022-08-05 17:01:15 +03:00
.buttons {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 1rem;
margin: 1rem;
}
2022-08-04 18:50:02 +03:00
2022-08-05 17:01:15 +03:00
@media screen and (max-width: 452px) {
.buttons {
flex-direction: column;
}
}
</style>