@@ -95,7 +95,7 @@ function Hero({t, statsInfo}: Props): ReactElement {
9595 return (
9696 < div
9797 className = { clsx (
98- 'self-stretch bg-paper' ,
98+ 'self-stretch bg-paper relative ' ,
9999 'flex flex-col justify-center items-center' ,
100100 'max-[425px]:p-0' ,
101101 ) }
@@ -108,10 +108,10 @@ function Hero({t, statsInfo}: Props): ReactElement {
108108 'min-[1200px]:self-center min-[1200px]:w-[1200px]' ,
109109 ) }
110110 >
111- < p className = "h1 text-[44px] text-left font-bold mt-[80px] mb-8" >
111+ < p className = "h1 text-[44px] text-left font-bold mt-[80px] mb-8 text-contrast-light dark:text-contrast-dark " >
112112 { t . developerPowerMeter }
113113 </ p >
114- < p className = "body1 text-[20px] text-left mb-[36px] opacity-50 " >
114+ < p className = "body1 text-[20px] text-left mb-[36px] text-gray5 dark:text-gray3 " >
115115 { t . developerPowerMeterDesc }
116116 </ p >
117117 { /* Begin: GreatFrontEnd Banner */ }
@@ -128,8 +128,14 @@ function Hero({t, statsInfo}: Props): ReactElement {
128128 >
129129 < div
130130 className = { clsx (
131- 'rounded-[4px] bg-gray7 px-3 h-[64px] relative body2 max-w-[800px]' ,
131+ 'rounded-[16px] px-3 h-[64px] relative body2 max-w-[800px]' ,
132132 'flex flex-row-reverse items-center' ,
133+ 'bg-white/50 dark:bg-black/40' ,
134+ 'backdrop-blur-2xl' ,
135+ 'border border-black/10 dark:border-white/20' ,
136+ 'shadow-[0_20px_60px_-15px_rgba(0,0,0,0.2)]' ,
137+ 'hover:bg-white/60 dark:hover:bg-black/50' ,
138+ 'transition-all duration-300' ,
133139 'max-[425px]:p-3 max-[425px]:self-stretch max-[425px]:h-auto max-[425px]:flex-wrap' ,
134140 'max-[320px]:py-3 max-[320px]:items-start' ,
135141 ) }
@@ -141,7 +147,7 @@ function Hero({t, statsInfo}: Props): ReactElement {
141147 'bg-transparent border-0 text-center max-w-[100px] p-2' ,
142148 'absolute' ,
143149 ) }
144- text = { < SearchIcon size = { 22 } fill = "#FFF " /> }
150+ text = { < SearchIcon size = { 22 } className = "text-gray8 dark:text-white " /> }
145151 />
146152 < div
147153 className = { clsx (
@@ -158,15 +164,15 @@ function Hero({t, statsInfo}: Props): ReactElement {
158164 />
159165 < span
160166 className = { clsx (
161- 'text-white ' ,
167+ 'text-gray5 dark:text-gray3 ' ,
162168 'mx-3 body3 text-[22px]' ,
163169 'max-[425px]:invisible max-[425px]:hidden' ,
164170 ) }
165171 >
166172 /
167173 </ span >
168174 < TextInput
169- className = "text-white"
175+ className = "text-gray7 dark:text- white placeholder:text-gray5 dark:placeholder:text-gray4 "
170176 { ...register ( 'githubID' ) }
171177 placeholder = { t . githubUsername }
172178 onChange = { ( e ) => {
@@ -183,10 +189,15 @@ function Hero({t, statsInfo}: Props): ReactElement {
183189 className = { clsx (
184190 'max-w-[800px] flex-1 self-stretch' ,
185191 'flex flex-col' ,
192+ 'rounded-[20px] p-6 mt-6' ,
193+ 'bg-white/50 dark:bg-black/40' ,
194+ 'backdrop-blur-2xl' ,
195+ 'border border-black/10 dark:border-white/20' ,
196+ 'shadow-[0_20px_60px_-15px_rgba(0,0,0,0.2)]' ,
186197 ) }
187198 >
188199 < ButtonGroup
189- className = "py-[4px] w-[98%] mt-[18px] mb-[10px] "
200+ className = "py-[4px] w-full mb-4 "
190201 selectedIndex = { isBasic ? 0 : 1 }
191202 buttons = { [ { label : t . basic } , { label : t . advanced } ] }
192203 onClick = { ( index ) => {
0 commit comments