Skip to content

Commit

Permalink
Add auth component to app layout
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Dec 3, 2024
1 parent 727ad62 commit a1d84de
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/routes/(app)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
Row
} from 'sveltestrap';
import { SHLClient, type SHLAdminParams } from '$lib/utils/managementClient';
import Auth from '$lib/components/app/Auth.svelte';
import LanguageMenu from '$lib/components/layout/LanguageMenu.svelte';
import Banner from '$lib/components/layout/Banner.svelte';
Expand Down Expand Up @@ -143,8 +144,10 @@
</Collapse>
</Navbar>
<Banner title="International Patient Summary Prototype"/>
<Row class="main-row">
<Col>
<slot />
</Col>
</Row>
<Auth bind:authService={authService}>
<Row class="main-row">
<Col>
<slot />
</Col>
</Row>
</Auth>

0 comments on commit a1d84de

Please sign in to comment.