diff --git a/src/app/components/SpaceCreateExternal.svelte b/src/app/components/SpaceCreateExternal.svelte index c385322b..e1aac07c 100644 --- a/src/app/components/SpaceCreateExternal.svelte +++ b/src/app/components/SpaceCreateExternal.svelte @@ -11,7 +11,8 @@ const next = () => { window.open("https://relay.tools/signup") - pushModal(SpaceInviteAccept) + + setTimeout(() => pushModal(SpaceInviteAccept), 300) } diff --git a/src/routes/discover/+layout.svelte b/src/routes/discover/+layout.svelte deleted file mode 100644 index 68a3f713..00000000 --- a/src/routes/discover/+layout.svelte +++ /dev/null @@ -1,27 +0,0 @@ - - - - -
- - Spaces - -
-
- - Themes - -
-
-
- - - - diff --git a/src/routes/discover/+page.svelte b/src/routes/discover/+page.svelte index 8a503899..981334e6 100644 --- a/src/routes/discover/+page.svelte +++ b/src/routes/discover/+page.svelte @@ -6,6 +6,7 @@ import {relays, createSearch, relaySelections} from "@welshman/app" import {createScroller} from "@lib/html" import Icon from "@lib/components/Icon.svelte" + import Page from "@lib/components/Page.svelte" import Button from "@lib/components/Button.svelte" import PageHeader from "@lib/components/PageHeader.svelte" import RelayName from "@app/components/RelayName.svelte" @@ -72,55 +73,57 @@ }) -
- -
Discover Spaces
-
Find communities all across the nostr network
-
- - {#each relaySearch.searchOptions(term).slice(0, limit) as relay (relay.url)} -
- {#if gt($wotGraph.get(relay.url)?.size, 0)} -
- Members: - -
- {/if} - - {/each} - + {/if} + + {/each} + + diff --git a/src/routes/discover/themes/+page.svelte b/src/routes/discover/themes/+page.svelte deleted file mode 100644 index ce2d0b39..00000000 --- a/src/routes/discover/themes/+page.svelte +++ /dev/null @@ -1,31 +0,0 @@ - - -
- -
Discover Themes
-
Make your community feel like home
-
- -
- {#each searchThemes.searchValues(term) as name} -
-

{name}

- -
- {/each} -
-
diff --git a/tailwind.config.js b/tailwind.config.js index 8a59ca2d..9f0df05f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,4 +1,7 @@ import daisyui from "daisyui" +import themes from "daisyui/src/theming/themes" + +console.log(themes["dark"]) /** @type {import('tailwindcss').Config} */ export default { @@ -20,38 +23,11 @@ export default { plugins: [daisyui], daisyui: { themes: [ - "light", - "dark", - "cupcake", - "bumblebee", - "emerald", - "corporate", - "synthwave", - "retro", - "cyberpunk", - "valentine", - "halloween", - "garden", - "forest", - "aqua", - "lofi", - "pastel", - "fantasy", - "wireframe", - "black", - "luxury", - "dracula", - "cmyk", - "autumn", - "business", - "acid", - "lemonade", - "night", - "coffee", - "winter", - "dim", - "nord", - "sunset", + { + dark: { + ...themes["dark"], + }, + }, ], }, }