@@ -56,20 +56,20 @@ export const Header = () => {
5656
5757 return (
5858 < >
59- < header className = "AppHeader " >
60- < span className = "AppName " >
61- < i className = "logo " >
62- < CgTab />
59+ < header className = "sticky top-0 z-[1] mx-[1%] mt-[10px] mb-0 flex flex-row flex-wrap content-center items-center gap-[10px] md:h-auto " >
60+ < span className = "flex items-center pt-[4px] md:w-auto md:grow-0 " >
61+ < i className = "me-[8px] " >
62+ < CgTab size = { 24 } />
6363 </ i > { ' ' }
6464 < Link to = "/" >
65- < HackertabLogo aria-label = "hackertab.dev" className = "logoText " />
65+ < HackertabLogo aria-label = "hackertab.dev" className = "h-[16px] w-auto fill-ht-900 " />
6666 </ Link >
6767 < Changelog />
6868 </ span >
6969 < SearchBar />
70- < div className = "buttonsFlex extras " >
70+ < div className = "inline-flex flex-row items-center gap-[8px] " >
7171 { isDNDModeActive ( ) && (
72- < Button onClick = { onUnpauseClicked } className = "dndButton " >
72+ < Button onClick = { onUnpauseClicked } className = "font-bold " >
7373 < MdDoDisturbOff />
7474 Unpause
7575 </ Button >
@@ -86,7 +86,7 @@ export const Header = () => {
8686 </ CircleButton >
8787 < CircleButton
8888 isLoading = { isConnecting }
89- className = { clsx ( 'profileImageContainer ' , ! isConnected && 'overflowHidden ' ) }
89+ className = { clsx ( 'relative ' , ! isConnected && 'overflow-hidden ' ) }
9090 onClick = { ( ) => {
9191 if ( isConnected ) {
9292 navigate ( '/settings/general' )
@@ -96,15 +96,19 @@ export const Header = () => {
9696 } } >
9797 { isConnected ? (
9898 < >
99- < img className = "profileImage" src = { user ?. imageURL } />
100- < div className = "streak" >
101- < span className = "content" >
102- < StreakIcon className = "icon" /> { user ?. streak || 1 }
103- </ span >
99+ < img
100+ className = "size-[40px] rounded-full outline-2 outline-amber-600"
101+ src = { user ?. imageURL }
102+ />
103+ < div className = "absolute mr-0 -mb-12 ml-0 inline-block" >
104+ < div className = "flex items-center justify-end rounded-[12px] border-2 border-ht-100 bg-amber-600 text-[11px] font-bold text-white" >
105+ < StreakIcon className = "-mt-[2px] ml-0 w-[2.2em]" /> { ' ' }
106+ < span className = "me-2 justify-self-end" > { user ?. streak || 1 } </ span >
107+ </ div >
104108 </ div >
105109 </ >
106110 ) : (
107- < AvatarPlaceholder className = "avatarPlaceholder " />
111+ < AvatarPlaceholder className = "mt-[10px] size-[34px] rounded-[20px] " />
108112 ) }
109113 </ CircleButton >
110114 </ div >
0 commit comments