1
0
Fork 0
mirror of synced 2024-09-10 14:35:47 +12:00

Added the app creation buttons back into the header of the page. Previously removed by mistake

This commit is contained in:
Dean 2022-05-09 16:31:17 +01:00
parent a33b6eb8db
commit 97210280d5

View file

@ -301,7 +301,7 @@
</script>
<Page wide>
<Layout noPadding gap="XL">
<Layout noPadding gap="M">
{#if loaded}
<div class="title">
<div class="welcome">
@ -311,6 +311,29 @@
{welcomeBody}
</Body>
</Layout>
{#if !$apps?.length}
<div class="buttons">
<Button
dataCy="create-app-btn"
size="M"
icon="Add"
cta
on:click={initiateAppCreation}
>
{createAppButtonText}
</Button>
<Button
dataCy="import-app-btn"
icon="Import"
size="L"
quiet
secondary
on:click={initiateAppImport}
>
Import app
</Button>
</div>
{/if}
</div>
</div>
@ -466,6 +489,9 @@
.app-actions :global(> button) {
margin-right: 10px;
}
.title .welcome > .buttons {
padding-top: var(--spacing-l);
}
.title {
display: flex;
flex-direction: row;