im dying inside
This commit is contained in:
1 parent
061c7d6766
commit
c9fc488ef2
20 files changed
+716
-10
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<script lang="ts">
|
||||
import type { GetCommunityResponse } from 'lemmy-js-client'
|
||||
|
||||
export let data: Promise<GetCommunityResponse>
|
||||
</script>
|
||||
|
||||
{#await data then data}
|
||||
<div class="flex flex-col gap-4">
|
||||
<div class="flex flex-row gap-4 items-center">
|
||||
<img
|
||||
src={data.community_view.community.icon}
|
||||
alt="test"
|
||||
class="rounded-full bg-white border-slate-200 border p-2"
|
||||
width={64}
|
||||
height={64}
|
||||
/>
|
||||
<h1 class="font-bold text-xl">
|
||||
{data.community_view.community.name}
|
||||
</h1>
|
||||
</div>
|
||||
<slot />
|
||||
</div>
|
||||
{/await}
|
||||
Reference in new issue
Block a user