Make community cards clickable
This commit is contained in:
1 parent
e9fa5f6c42
commit
87497ddb61
1 file changed
+17
-2
@@ -30,7 +30,6 @@
|
|||||||
EllipsisHorizontal,
|
EllipsisHorizontal,
|
||||||
Fire,
|
Fire,
|
||||||
Icon,
|
Icon,
|
||||||
Minus,
|
|
||||||
Newspaper,
|
Newspaper,
|
||||||
NoSymbol,
|
NoSymbol,
|
||||||
PencilSquare,
|
PencilSquare,
|
||||||
@@ -146,14 +145,30 @@
|
|||||||
<StickyCard class="min-w-full {$$props.class}">
|
<StickyCard class="min-w-full {$$props.class}">
|
||||||
<div class="flex flex-row gap-3 items-center">
|
<div class="flex flex-row gap-3 items-center">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
|
<a
|
||||||
|
href="/c/{fullCommunityName(
|
||||||
|
community_view.community.name,
|
||||||
|
community_view.community.actor_id
|
||||||
|
)}"
|
||||||
|
>
|
||||||
<Avatar
|
<Avatar
|
||||||
width={42}
|
width={42}
|
||||||
url={community_view.community.icon}
|
url={community_view.community.icon}
|
||||||
alt={community_view.community.name}
|
alt={community_view.community.name}
|
||||||
/>
|
/>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col gap-0">
|
<div class="flex flex-col gap-0">
|
||||||
<h1 class="font-bold text-xl">{community_view.community.title}</h1>
|
<h1 class="font-bold text-xl">
|
||||||
|
<a
|
||||||
|
href="/c/{fullCommunityName(
|
||||||
|
community_view.community.name,
|
||||||
|
community_view.community.actor_id
|
||||||
|
)}"
|
||||||
|
>
|
||||||
|
{community_view.community.title}
|
||||||
|
</a>
|
||||||
|
</h1>
|
||||||
<span
|
<span
|
||||||
class="dark:text-zinc-400 text-slate-600 text-sm break-words max-w-full"
|
class="dark:text-zinc-400 text-slate-600 text-sm break-words max-w-full"
|
||||||
style="word-break: break-all;"
|
style="word-break: break-all;"
|
||||||
|
|||||||
Reference in new issue
Block a user