fix: removed footer component from layout

This commit is contained in:
Arman
2022-05-17 12:48:29 +02:00
parent f4de02ce1b
commit 1bb001ed1a
2 changed files with 6 additions and 7 deletions
@@ -1,7 +1,7 @@
<script lang="ts">
import { page } from '$app/stores';
import { sdkForProject } from '$lib/stores/sdk';
import { Card, Empty, Pagination } from '$lib/components';
import { Empty, Pagination } from '$lib/components';
import { Button, InputSearch } from '$lib/elements/forms';
import {
Table,
@@ -36,9 +36,12 @@
</script>
<Container>
<Card>
<div class="u-flex">
<InputSearch bind:value={search} />
</Card>
<Button on:click={() => (showCreate = true)}>
<span class="icon-plus" aria-hidden="true" /> <span class="text">Create User</span>
</Button>
</div>
{#await request}
<div aria-busy="true" />
{:then response}
@@ -94,8 +97,6 @@
</Empty>
{/if}
{/await}
<Button on:click={() => (showCreate = true)}>Create User</Button>
</Container>
<Create bind:showCreate on:created={userCreated} />
-2
View File
@@ -2,7 +2,6 @@
import Shell from '$lib/layout/shell.svelte';
import SideNavigation from '$lib/layout/navigation.svelte';
import Header from '$lib/layout/header.svelte';
import Footer from '$lib/layout/footer.svelte';
</script>
<Shell>
@@ -13,5 +12,4 @@
<SideNavigation />
</svelte:fragment>
<slot />
<Footer />
</Shell>