Move space quick links to its own file

This commit is contained in:
Jon Staab
2025-06-05 08:35:17 -07:00
parent d262da39e5
commit d0601400cd
4 changed files with 159 additions and 130 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import cx from 'classnames'
import cx from "classnames"
import {preventDefault} from "@lib/html"
import Button from "@lib/components/Button.svelte"
import ProfileName from "@app/components/ProfileName.svelte"
@@ -17,6 +17,6 @@
const openProfile = () => pushModal(ProfileDetail, {pubkey, url})
</script>
<Button onclick={preventDefault(openProfile)} class={cx({'link-content': !unstyled})}>
<Button onclick={preventDefault(openProfile)} class={cx({"link-content": !unstyled})}>
@<ProfileName {pubkey} {url} />
</Button>