Merge pull request #57 from teaxyz/preflight-module

Pre-flight module
This commit is contained in:
Neil 2022-12-06 13:42:37 +08:00 committed by GitHub
commit 44d59a3cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,35 @@
<script lang="ts">
import '$appcss';
import Placeholder from '$components/Placeholder/Placeholder.svelte';
import { open } from '@tauri-apps/api/shell';
const openGithub = () => {
open('https://github.com/teaxyz');
};
</script>
<Placeholder label="Preflight" />
<div class="card social-box" style="width: 100%; float:right;">
<header class="border-b border-gray pt-7 pb-7 pl-5 text-primary">PRE-FLIGHT</header>
<div class="listbox-item border-b border-gray p-6">
<a href="/cli">
<p>Install Tea</p>
</a>
</div>
<div class="listbox-item border-b border-gray p-6">
<div>
<p>Authenticate</p>
</div>
</div>
<div class="listbox-item p-6">
<button on:click={openGithub}>Give tea a star</button>
</div>
</div>
<style>
.card {
border: 2px solid #949494;
background-color: #1a1a1a;
}
.listbox-item {
height: 75px;
}
</style>