1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-04-20 09:11:03 +00:00

31 lines
498 B
Svelte
Raw Normal View History

2023-01-18 20:59:00 +01:00
<script>
import { createEventDispatcher } from 'svelte';
const dispatch = createEventDispatcher();
function createHost() {
dispatch('createHost');
}
</script>
<div class="welcome">
<p class="title">Welcome to Mongodup!</p>
<button class="btn" on:click={createHost}>Create your first host</button>
</div>
<style>
.welcome {
text-align: center;
padding: 2rem;
}
.title {
font-weight: 600;
font-size: 1.5rem;
}
.btn {
margin-top: 2rem;
}
</style>