flotilla/src/routes/home/+page.svelte

31 lines
1.3 KiB
Svelte
Raw Normal View History

2024-08-05 21:45:16 +00:00
<script lang="ts">
2024-08-08 21:02:46 +00:00
import CardButton from "@lib/components/CardButton.svelte"
2024-08-14 00:58:26 +00:00
import SpaceCreate from '@app/components/SpaceCreate.svelte'
import {pushModal} from '@app/modal'
export const createSpace = () => pushModal(SpaceCreate)
2024-08-05 21:45:16 +00:00
</script>
2024-08-05 22:28:46 +00:00
<div class="hero min-h-screen bg-base-200">
2024-08-05 21:45:16 +00:00
<div class="hero-content">
2024-08-13 19:41:25 +00:00
<div class="flex max-w-2xl flex-col gap-4">
2024-08-05 22:28:46 +00:00
<h1 class="text-stark-content text-center text-5xl">Welcome to</h1>
<h1 class="text-stark-content mb-4 text-center text-5xl font-bold uppercase">Flotilla</h1>
2024-08-08 21:02:46 +00:00
<div class="grid lg:grid-cols-2 gap-3">
2024-08-14 00:58:26 +00:00
<CardButton icon="add-circle" title="Create a space" class="h-24" on:click={createSpace}>
2024-08-08 21:02:46 +00:00
Invite all your friends, do life together.
</CardButton>
2024-08-13 19:41:25 +00:00
<CardButton icon="compass" title="Discover spaces" class="h-24">
2024-08-08 21:02:46 +00:00
Find a community based on your hobbies or interests.
</CardButton>
<CardButton icon="plain" title="Leave feedback" class="h-24">
Let us know how we can improve by giving us feedback.
</CardButton>
<CardButton icon="hand-pills" title="Donate to Flotilla" class="h-24">
Support the project by donating to the developer.
</CardButton>
2024-08-05 21:45:16 +00:00
</div>
</div>
</div>
</div>