File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/components/sections/communities/_partials Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,16 @@ 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 text-gray-400 " >
34
32
{ subtitle }
35
33
{ isTeamChallenge && (
36
34
< div className = "h-full flex -mt-2 items-start ml-2" >
You can’t perform that action at this time.
0 commit comments