Rework modal header structure

This commit is contained in:
Jon Staab
2026-02-02 10:09:14 -08:00
parent 4480132c74
commit fb2d78fd57
55 changed files with 224 additions and 287 deletions
+5 -6
View File
@@ -9,6 +9,8 @@
import Modal from "@lib/components/Modal.svelte"
import ModalBody from "@lib/components/ModalBody.svelte"
import ModalHeader from "@lib/components/ModalHeader.svelte"
import ModalTitle from "@lib/components/ModalTitle.svelte"
import ModalSubtitle from "@lib/components/ModalSubtitle.svelte"
import SpaceInviteAccept from "@app/components/SpaceInviteAccept.svelte"
import {pushModal} from "@app/util/modal"
@@ -24,12 +26,9 @@
<Modal>
<ModalBody>
<ModalHeader>
{#snippet title()}
<div>Add a Space</div>
{/snippet}
{#snippet info()}
<div>Spaces are places where communities come together to work, play, and hang out.</div>
{/snippet}
<ModalTitle>Add a Space</ModalTitle>
<ModalSubtitle
>Spaces are places where communities come together to work, play, and hang out.</ModalSubtitle>
</ModalHeader>
{#if !hideDiscover}
<Link href="/discover">