File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/components/sections/communities/_partials Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -19,22 +19,20 @@ export default function Header({
19
19
isTeamChallenge = false ,
20
20
isHackathon = false ,
21
21
} : HeaderProps ) : ReactElement {
22
- const headerClassName = classNames ( "text-4xl md:text-5xl leading-none" , {
22
+ const headerClassName = classNames ( "text-4xl md:text-5xl leading-none text-gray-900 " , {
23
23
"hidden md:flex" : hideTitleOnMobile ,
24
- "text-gray-400" : subtitle ,
25
- "text-gray-900" : ! subtitle ,
26
24
} ) ;
27
25
28
26
return (
29
27
< div >
30
28
< h1 className = { headerClassName } > { title } </ h1 >
31
29
< div className = "flex items-start gap-1" >
32
30
{ subtitle && (
33
- < h2 className = " text-4xl flex items-center font-normal leading-none md:text-5xl text-default" >
31
+ < h2 className = { ` text-4xl flex items-center font-normal leading-none md:text-5xl ${ title ? " text-gray-400" : "text-gray-900" } ` } >
34
32
{ subtitle }
35
33
{ isTeamChallenge && (
36
34
< div className = "h-full flex -mt-2 items-start ml-2" >
37
- < Tag type = "light " > { isHackathon ? "Hackathon" : "TEAM" } </ Tag >
35
+ < Tag type = "gray " > { isHackathon ? "Hackathon" : "TEAM" } </ Tag >
38
36
</ div >
39
37
) }
40
38
</ h2 >
You can’t perform that action at this time.
0 commit comments