diff --git a/package-lock.json b/package-lock.json index cd6bc287..4df6f1e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,9 +18,11 @@ "@welshman/store": "^0.0.2", "@welshman/util": "^0.0.25", "daisyui": "^4.12.10", + "fuse.js": "^7.0.0", "idb": "^8.0.0", "nostr-tools": "^2.7.2", "prettier-plugin-tailwindcss": "^0.6.5", + "svelte-bricks": "^0.2.1", "throttle-debounce": "^5.0.2" }, "devDependencies": { @@ -2615,6 +2617,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/fuse.js": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz", + "integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==", + "engines": { + "node": ">=10" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -4274,6 +4284,14 @@ "node": ">=16" } }, + "node_modules/svelte-bricks": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/svelte-bricks/-/svelte-bricks-0.2.1.tgz", + "integrity": "sha512-cc3XK3j5ViPyZ3K183+Sr53B2e8mJaiV3POyoJtjmm1dYc/TBMy7jOUMt8MW/snJzodpACfqwFzokBQbrZ297w==", + "dependencies": { + "svelte": "^4.2.1" + } + }, "node_modules/svelte-check": { "version": "3.8.5", "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.8.5.tgz", diff --git a/package.json b/package.json index bdec9701..02ad1bd8 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,11 @@ "@welshman/store": "^0.0.2", "@welshman/util": "^0.0.25", "daisyui": "^4.12.10", + "fuse.js": "^7.0.0", "idb": "^8.0.0", "nostr-tools": "^2.7.2", "prettier-plugin-tailwindcss": "^0.6.5", + "svelte-bricks": "^0.2.1", "throttle-debounce": "^5.0.2" } } diff --git a/src/app.css b/src/app.css index 681d3bb4..cce895bd 100644 --- a/src/app.css +++ b/src/app.css @@ -72,7 +72,7 @@ background-color: var(--stark-content); } -.card { +.card2 { padding: 1rem; background-color: oklch(var(--b2) / 1); border-radius: var(--rounded-box, 1rem); @@ -82,6 +82,14 @@ @apply flex flex-col; } +.center { + @apply flex justify-center items-center; +} + +.content { + @apply max-w-2xl w-full p-12 m-auto; +} + .heading { @apply text-2xl text-stark-content text-center; } @@ -90,6 +98,10 @@ @apply text-xl text-stark-content text-center; } +.superheading { + @apply text-4xl text-stark-content text-center; +} + .link { @apply text-primary underline cursor-pointer; } diff --git a/src/app/components/InfoNip29.svelte b/src/app/components/InfoNip29.svelte index 78b1f600..a9dc37cb 100644 --- a/src/app/components/InfoNip29.svelte +++ b/src/app/components/InfoNip29.svelte @@ -20,9 +20,9 @@ If you do decide to join someone else's, make sure to follow their directions for registering as a user.

-
- devrelay.highlighter.com -
diff --git a/src/app/components/SpaceAdd.svelte b/src/app/components/SpaceAdd.svelte index cc82e42a..17b2f409 100644 --- a/src/app/components/SpaceAdd.svelte +++ b/src/app/components/SpaceAdd.svelte @@ -18,7 +18,7 @@ Just a few questions and you'll be on your way. -
+

Have an invite?

+
+
+ + +