40 lines
915 B
Svelte
40 lines
915 B
Svelte
<script>
|
|
import { goto } from '$app/navigation'
|
|
import { faExternalLink, faFile, faPlus } from '@fortawesome/free-solid-svg-icons'
|
|
import Button from '../common/button/Button.svelte'
|
|
import HatIcon from '../icons/HatIcon.svelte'
|
|
</script>
|
|
|
|
<div class="">
|
|
<div class="inline-flex flex-wrap gap-y-2">
|
|
<Button
|
|
href="/scripts/add"
|
|
color="dark"
|
|
size="xs"
|
|
btnClasses="mr-2"
|
|
startIcon={{ icon: faPlus }}
|
|
>
|
|
Create script
|
|
</Button>
|
|
<Button
|
|
on:click={() => goto('https://docs.windmill.dev/docs/getting_started/scripts')}
|
|
color="blue"
|
|
size="xs"
|
|
btnClasses="mr-2"
|
|
startIcon={{ icon: faFile }}
|
|
>
|
|
Script documentation
|
|
</Button>
|
|
<Button
|
|
on:click={() => goto('https://hub.windmill.dev/')}
|
|
color="light"
|
|
variant="border"
|
|
size="xs"
|
|
startIcon={{ icon: faExternalLink }}
|
|
target="_blank"
|
|
>
|
|
Explore community scripts on WindmillHub
|
|
</Button>
|
|
</div>
|
|
</div>
|