@@ -24,7 +24,7 @@ const wallet = new BeaconWallet({
2424export const Header = ( ) => {
2525 const history = useHistory ( )
2626 const context = useContext ( HicetnuncContext )
27-
27+ const style = { fontSize : '30px' }
2828 useEffect ( ( ) => {
2929 context . setAccount ( )
3030 context . setTheme ( getItem ( 'theme' ) || setItem ( 'theme' , 'dark' ) )
@@ -49,7 +49,7 @@ export const Header = () => {
4949 //console.log(activeAccount)
5050 const handleRoute = ( path ) => {
5151 context . setMenu ( true )
52- history . push ( '#' + path )
52+ history . push ( path )
5353 }
5454
5555 const handleSyncUnsync = ( ) => {
@@ -117,19 +117,19 @@ export const Header = () => {
117117 < nav className = { styles . content } >
118118 < ul >
119119 < li >
120- < Button onClick = { ( ) => handleRoute ( '/' ) } >
121- < Primary > home</ Primary >
120+ < Button >
121+ < Primary > < a style = { style } href = { '/' } > home</ a > </ Primary >
122122 </ Button >
123123 </ li >
124124 < li >
125125 < Button >
126- < Primary > < Link to = ' galleries'> galleries</ Link > </ Primary >
126+ < Primary > < a style = { style } href = '/ galleries'> galleries</ a > </ Primary >
127127 </ Button >
128128 </ li >
129129 < li >
130130 < Button onClick = { ( ) => handleRoute ( '/mint' ) } >
131131 < Primary >
132- OBJKT< span style = { { fontSize : '16px' } } > (mint)</ span >
132+ < a style = { style } href = { '/mint' } > OBJKT< span style = { { fontSize : '16px' } } > (mint)</ span > </ a >
133133 </ Primary >
134134 </ Button >
135135 </ li >
@@ -139,27 +139,27 @@ export const Header = () => {
139139 </Button>
140140 </li> */ }
141141 < li >
142- < Button onClick = { ( ) => handleRoute ( '/sync' ) } >
143- < Primary > manage assets</ Primary >
142+ < Button >
143+ < Primary > < a style = { style } href = '/sync' > manage assets</ a > </ Primary >
144144 </ Button >
145145 </ li >
146146 { context . acc ?. address ?
147147 < li >
148- < Button onClick = { ( ) => handleRoute ( '/config' ) } >
149- < Primary > edit profile</ Primary >
148+ < Button >
149+ < Primary > < a style = { style } href = '/config' > edit profile</ a > </ Primary >
150150 </ Button >
151151 </ li >
152152 :
153153 null
154154 }
155155 < li >
156- < Button onClick = { ( ) => handleRoute ( '/about' ) } >
157- < Primary > about</ Primary >
156+ < Button >
157+ < Primary > < a style = { style } href = '/ about' > about </ a > </ Primary >
158158 </ Button >
159159 </ li >
160160 < li >
161- < Button onClick = { ( ) => handleRoute ( '/faq' ) } >
162- < Primary > faq</ Primary >
161+ < Button >
162+ < Primary > < a style = { style } href = ' faq' > faq </ a > </ Primary >
163163 </ Button >
164164 </ li >
165165 </ ul >
0 commit comments