feat [1/2]: add topics & feeds listing
This commit is contained in:
1 parent
1a948281a8
commit
5ed8346027
22 files changed
+426
-124
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<script lang="ts">
|
||||
import type { TopicView } from '$lib/client/types'
|
||||
import CommonItem from '$lib/components/ui/layout/CommonItem.svelte'
|
||||
|
||||
interface Props {
|
||||
topic: TopicView
|
||||
}
|
||||
|
||||
let { topic }: Props = $props()
|
||||
</script>
|
||||
|
||||
<CommonItem title={topic.title ?? topic.name} href="/t/{topic.id}" />
|
||||
Reference in new issue
Block a user