@@ -26,9 +30,21 @@
@@ -48,8 +64,15 @@
margin: 0;
padding: 0;
- display: grid;
- grid-template-columns: 1fr 1fr;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
gap: 1em;
}
+
+ .account-skeleton {
+ width: 480px;
+ height: var(--sp-xxxl);
+ padding: .5em;
+ }
diff --git a/src/web/frontend/tsconfig.json b/src/web/frontend/tsconfig.json
index 455b794..2c2ed3c 100644
--- a/src/web/frontend/tsconfig.json
+++ b/src/web/frontend/tsconfig.json
@@ -10,7 +10,7 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
- "moduleResolution": "nodenext"
+ "moduleResolution": "bundler"
}
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
Click an account below to configure:
- {#each accounts as account}
-
- {/each}
+ {#if $accounts}
+ {#each $accounts as account}
+
+ {/each}
+ { addAccount() }}
+ onkeydown={(event: KeyboardEvent) => {
+ if (event.key === "Enter") addAccount()
+ }}
+ />
+ {:else}
+ {#each {length: 4} as i}
+
+ {/each}
+ {/if}