@@ -75,7 +75,7 @@ export const Header: React.FC = () => {
7575
7676 const userInfo = user ?. lichessId ? (
7777 < div
78- className = "relative flex items-center gap-2 rounded-full bg-background-1/50 px-3 py-1.5 transition-all duration-200 hover:bg-background-1 "
78+ className = "relative flex items-center gap-2 rounded-full border border-white/10 bg-[#171214] px-3 py-1.5 transition-all duration-200 hover:border-white/20 "
7979 onMouseEnter = { ( ) => setShowProfileDropdown ( true ) }
8080 onMouseLeave = { ( ) => setShowProfileDropdown ( false ) }
8181 >
@@ -99,26 +99,28 @@ export const Header: React.FC = () => {
9999 animate = { { opacity : 1 , y : 0 } }
100100 exit = { { opacity : 0 , y : - 10 } }
101101 transition = { { duration : 0.2 } }
102- className = "absolute bottom-[100%] left-0 z-50 w-full overflow-hidden rounded border border-white/10 bg-background-1 shadow-lg md:bottom-auto md:top-[100%]"
102+ className = "absolute bottom-[100%] left-0 z-50 w-full overflow-hidden rounded-md border border-white/10 bg-[#171214] md:bottom-auto md:top-[100%]"
103103 >
104- < Link
105- href = "/profile"
106- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
107- >
108- Profile
109- </ Link >
110- < Link
111- href = "/settings"
112- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
113- >
114- Settings
115- </ Link >
116- < button
117- onClick = { logout }
118- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
119- >
120- Logout
121- </ button >
104+ < div className = "divide-y divide-white/5" >
105+ < Link
106+ href = "/profile"
107+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
108+ >
109+ Profile
110+ </ Link >
111+ < Link
112+ href = "/settings"
113+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
114+ >
115+ Settings
116+ </ Link >
117+ < button
118+ onClick = { logout }
119+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
120+ >
121+ Logout
122+ </ button >
123+ </ div >
122124 </ motion . div >
123125 ) }
124126 </ AnimatePresence >
@@ -164,28 +166,30 @@ export const Header: React.FC = () => {
164166 animate = { { opacity : 1 , y : 0 } }
165167 exit = { { opacity : 0 , y : - 10 } }
166168 transition = { { duration : 0.2 } }
167- className = "absolute left-0 top-[100%] z-30 w-48 overflow-hidden rounded border border-white/10 bg-background-1 shadow-lg "
169+ className = "absolute left-0 top-[100%] z-30 w-48 overflow-hidden rounded-md border border-white/10 bg-[#171214] "
168170 >
169- < button
170- onClick = { ( ) => startGame ( 'againstMaia' ) }
171- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
172- >
173- Play Maia
174- </ button >
175- < button
176- onClick = { ( ) => startGame ( 'handAndBrain' ) }
177- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
178- >
179- Play Hand and Brain
180- </ button >
181- < a
182- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
183- href = "https://lichess.org/@/maia1"
184- target = "_blank"
185- rel = "noreferrer"
186- >
187- Play Maia on Lichess
188- </ a >
171+ < div className = "divide-y divide-white/5" >
172+ < button
173+ onClick = { ( ) => startGame ( 'againstMaia' ) }
174+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
175+ >
176+ Play Maia
177+ </ button >
178+ < button
179+ onClick = { ( ) => startGame ( 'handAndBrain' ) }
180+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
181+ >
182+ Play Hand and Brain
183+ </ button >
184+ < a
185+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
186+ href = "https://lichess.org/@/maia1"
187+ target = "_blank"
188+ rel = "noreferrer"
189+ >
190+ Play Maia on Lichess
191+ </ a >
192+ </ div >
189193 </ motion . div >
190194 ) }
191195 </ AnimatePresence >
@@ -248,30 +252,32 @@ export const Header: React.FC = () => {
248252 animate = { { opacity : 1 , y : 0 } }
249253 exit = { { opacity : 0 , y : - 10 } }
250254 transition = { { duration : 0.2 } }
251- className = "absolute left-0 top-[100%] z-30 w-32 overflow-hidden rounded border border-white/10 bg-background-1 shadow-lg "
255+ className = "absolute left-0 top-[100%] z-30 w-32 overflow-hidden rounded-md border border-white/10 bg-[#171214] "
252256 >
253- < Link
254- href = "/blog"
255- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
256- >
257- Blog
258- </ Link >
259- < a
260- target = "_blank"
261- rel = "noreferrer"
262- href = "https://twitch.tv/maiachess"
263- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
264- >
265- Watch
266- </ a >
267- < a
268- target = "_blank"
269- rel = "noreferrer"
270- href = "https://forms.gle/XYeoTJF4YgUu4Vq28"
271- className = "flex w-full items-center justify-start px-3 py-2 text-sm hover:bg-background-2/60"
272- >
273- Feedback
274- </ a >
257+ < div className = "divide-y divide-white/5" >
258+ < Link
259+ href = "/blog"
260+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
261+ >
262+ Blog
263+ </ Link >
264+ < a
265+ target = "_blank"
266+ rel = "noreferrer"
267+ href = "https://twitch.tv/maiachess"
268+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
269+ >
270+ Watch
271+ </ a >
272+ < a
273+ target = "_blank"
274+ rel = "noreferrer"
275+ href = "https://forms.gle/XYeoTJF4YgUu4Vq28"
276+ className = "flex w-full items-center justify-start px-3 py-2 text-sm text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)]"
277+ >
278+ Feedback
279+ </ a >
280+ </ div >
275281 </ motion . div >
276282 ) }
277283 </ AnimatePresence >
0 commit comments