Skip to content

Commit 87b6b5e

Browse files
committed
fix: change subtitle color when there is no title
1 parent e29e474 commit 87b6b5e

File tree

1 file changed

+2
-2
lines changed
  • src/components/sections/communities/_partials

1 file changed

+2
-2
lines changed

src/components/sections/communities/_partials/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export default function Header({
2828
<h1 className={headerClassName}>{title}</h1>
2929
<div className="flex items-start gap-1">
3030
{subtitle && (
31-
<h2 className="text-4xl flex items-center font-normal leading-none md:text-5xl text-gray-400">
31+
<h2 className={`text-4xl flex items-center font-normal leading-none md:text-5xl ${title? "text-gray-400": "text-gray-900"}`}>
3232
{subtitle}
3333
{isTeamChallenge && (
3434
<div className="h-full flex -mt-2 items-start ml-2">
35-
<Tag type="light">{isHackathon ? "Hackathon" : "TEAM"}</Tag>
35+
<Tag type="gray">{isHackathon ? "Hackathon" : "TEAM"}</Tag>
3636
</div>
3737
)}
3838
</h2>

0 commit comments

Comments
 (0)