Skip to content

Commit

Permalink
Merge pull request #28 from ssciwr/make-children-registration-work
Browse files Browse the repository at this point in the history
Make children registration work
  • Loading branch information
MaHaWo authored Aug 30, 2024
2 parents a4c7b2e + b2610b4 commit 4e11711
Show file tree
Hide file tree
Showing 9 changed files with 438 additions and 230 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# packaging
package-lock.json
package-lock.json

# vscode extensions
.VSCodeCounter
25 changes: 25 additions & 0 deletions src/lib/components/AlertMessage.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<script>
import { Alert, Button } from 'flowbite-svelte';
import { EyeSolid, InfoCircleSolid } from 'flowbite-svelte-icons';
export let message = '';
export let title = '';
export let infotitle = '';
export let lastpage = '';
export let infopage = '';
export let onclick = () => {};
</script>

<Alert>
<div class="flex items-center gap-3">
<InfoCircleSolid class="h-5 w-5" />
<span class="text-lg font-medium"> {title} </span>
</div>
<p class="mb-4 mt-2">{message}</p>
<div class="flex gap-2">
{#if infopage != ''}
<Button size="md" href={infopage}><EyeSolid class="me-2 h-4 w-4" />{infotitle}</Button>
{/if}
<Button size="md" outline href={lastpage} on:click={onclick}>Verstanden</Button>
</div>
</Alert>
Loading

0 comments on commit 4e11711

Please sign in to comment.