on cfa67d5 help sign in
astrolabe/ui/src/components/ValidationProblems.svelte
21 lines 429 B history raw
1<script lang="ts">
2 export let problems: Array<string> = [];
3 export let type: string = undefined;
4</script>
6<div class="p-4 max-w-md rounded-lg bg-white">
7 {#if type}<b class="w-full text-center">{type}</b>{/if}
8 <p>
9 Sorry, the ID you entered is invalid:
10 </p>
11 {#each problems as problem}
12 <p>
13 {problem}
14 </p>
15 {/each}
16 <p>
17 <!-- TODO: add link to doc -->
18 You can read more here.
19 </p>
20</div>