Skip to content

Commit

Permalink
fix: add community title to sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaurus committed Apr 13, 2024
1 parent 2cdaad0 commit 3b9040b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/PageWithSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,11 @@ const CommunityDetailsSection = async (props: {
return (
<SidebarSection className={"gap-4"}>
<header className={"flex flex-col items-center"}>
<h1 className={"mt-4 break-all text-2xl font-bold"}>
{props.communityView.community.title}
</h1>
<StyledLink href={`/c/${props.communityName}`}>
<h1 className={"mt-4 font-bold"}>{props.communityName}</h1>
<h2 className={"break-all"}>{`!${props.communityName}`}</h2>
</StyledLink>
</header>

Expand Down

0 comments on commit 3b9040b

Please sign in to comment.