File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ html.dark {
2222 --secondary-text-color : # a2a7ad ;
2323 --overlay-background-color : # 7985958a ;
2424 --language-dot-background-color : # 424d5a ;
25+ --icons-accent-color : # ffffff ;
2526
2627 --dark-mode-background-color : # 1c2026 ;
2728 --dark-mode-text-color : # f0c73d ;
@@ -110,6 +111,7 @@ html.light {
110111 --overlay-background-color : # 0000005c ;
111112 --primary-hover-text-color : # 495a6b ;
112113 --language-dot-background-color : # cfddec ;
114+ --icons-accent-color : # 3c5065 ;
113115
114116 --scrollbar-background-color : # eff6ff ;
115117 --scrollbar-accent-color : # b9cadc ;
Original file line number Diff line number Diff line change 11import { useEffect , useState } from 'react'
22import { BsFillBookmarksFill , BsFillGearFill , BsMoonFill } from 'react-icons/bs'
33import { CgTab } from 'react-icons/cg'
4- import { FaUser } from 'react-icons/fa'
54import { IoMdSunny } from 'react-icons/io'
65import { MdDoDisturbOff } from 'react-icons/md'
76import { Link , useLocation , useNavigate } from 'react-router-dom'
7+ import { ReactComponent as AvatarPlaceholder } from 'src/assets/icons/avatar.svg'
88import { ReactComponent as StreakIcon } from 'src/assets/icons/fire_icon.svg'
99import { ReactComponent as HackertabLogo } from 'src/assets/logo.svg'
10+
1011import { SearchBar } from 'src/components/Elements/SearchBar'
1112import { UserTags } from 'src/components/Elements/UserTags'
1213import { useAuth } from 'src/features/auth'
@@ -94,15 +95,15 @@ export const Header = () => {
9495 } } >
9596 { isConnected ? (
9697 < >
97- < img className = "profileImage s " src = { user ?. imageURL } />
98+ < img className = "profileImage" src = { user ?. imageURL } />
9899 < div className = "streak" >
99100 < span className = "content" >
100101 < StreakIcon className = "icon" /> { user ?. streak || 1 }
101102 </ span >
102103 </ div >
103104 </ >
104105 ) : (
105- < FaUser style = { { fontSize : '1.2em' } } />
106+ < AvatarPlaceholder className = "profileImage" />
106107 ) }
107108 </ CircleButton >
108109 </ div >
You can’t perform that action at this time.
0 commit comments