flotilla/src/app/components/ClassifiedCreate.svelte

24 lines
685 B
Svelte
Raw Normal View History

2026-02-03 19:00:13 +00:00
<script lang="ts">
import ModalHeader from "@lib/components/ModalHeader.svelte"
import ModalTitle from "@lib/components/ModalTitle.svelte"
import ModalSubtitle from "@lib/components/ModalSubtitle.svelte"
import ClassifiedForm from "@app/components/ClassifiedForm.svelte"
2026-02-03 19:00:13 +00:00
type Props = {
url: string
h?: string
shareToChat?: boolean
2026-02-03 19:00:13 +00:00
}
const {url, h, shareToChat = false}: Props = $props()
2026-02-03 19:00:13 +00:00
</script>
<ClassifiedForm {url} {h} {shareToChat}>
{#snippet header()}
2026-02-03 19:00:13 +00:00
<ModalHeader>
<ModalTitle>Create a Classified Listing</ModalTitle>
<ModalSubtitle>Advertise a job, sale, or need.</ModalSubtitle>
</ModalHeader>
{/snippet}
</ClassifiedForm>