7
7
IconButton ,
8
8
InputBase ,
9
9
Link ,
10
+ ListItem ,
10
11
Toolbar ,
11
12
Typography ,
12
13
} from '@mui/material' ;
@@ -18,10 +19,12 @@ import {
18
19
AiOutlineTwitter ,
19
20
AiOutlineGlobal ,
20
21
AiOutlineMenu ,
22
+ AiFillInfoCircle ,
21
23
} from 'react-icons/ai' ;
22
24
import SearchIcon from '@mui/icons-material/Search' ;
23
25
24
26
import { grey } from '@mui/material/colors' ;
27
+ import { HtmlTooltip } from './HtmlTooltip' ;
25
28
26
29
interface Props {
27
30
onChange ?: ( value : ChangeEvent < HTMLInputElement > ) => void ;
@@ -94,13 +97,13 @@ export const Navbar = ({ onChange }: Props) => {
94
97
< AppBar >
95
98
< Toolbar >
96
99
{ /* Drawer menu */ }
97
- { /* <NextLink href={'/'} passHref>
100
+ < NextLink href = { '/' } passHref >
98
101
< Link >
99
102
< IconButton >
100
103
< AiOutlineMenu />
101
104
</ IconButton >
102
105
</ Link >
103
- </NextLink> */ }
106
+ </ NextLink >
104
107
105
108
< NextLink href = { '/' } passHref >
106
109
< Link
@@ -115,28 +118,55 @@ export const Navbar = ({ onChange }: Props) => {
115
118
< Box flex = { 1 } />
116
119
117
120
< Box sx = { { display : { xs : 'block' } } } >
118
- < IconButton onClick = { gitHubLink } >
119
- < AiOutlineGithub />
120
- </ IconButton >
121
+ < HtmlTooltip
122
+ title = {
123
+ < >
124
+ < Typography variant = 'subtitle1' color = 'inherit' >
125
+ Directory App
126
+ </ Typography >
127
+ < Typography variant = 'subtitle2' >
128
+ Is an easy & quick search to find google fonts using{ ' ' }
129
+ < NextLink
130
+ href = 'https://github.com/expo/google-fonts'
131
+ passHref
132
+ >
133
+ < a target = '_blank' > @expo-google-fonts</ a >
134
+ </ NextLink > { ' ' }
135
+ for your React Native App. Developed with ❤️ by{ ' ' }
136
+ < NextLink href = 'https://atiladev.com/en' passHref >
137
+ < a target = '_blank' > AtilaDev</ a >
138
+ </ NextLink >
139
+ </ Typography >
140
+ </ >
141
+ }
142
+ >
143
+ < IconButton >
144
+ < AiFillInfoCircle />
145
+ </ IconButton >
146
+ </ HtmlTooltip >
121
147
122
- < IconButton onClick = { linkedInLink } >
123
- < AiOutlineLinkedin />
148
+ < IconButton onClick = { atilaDevLink } >
149
+ < AiOutlineGlobal />
124
150
</ IconButton >
125
151
126
152
{ /* Put inside of Drawer in the future */ }
127
153
< Grid item sx = { { display : { xs : 'none' , sm : 'inline' } } } >
128
- < IconButton onClick = { atilaDevLink } >
129
- < AiOutlineGlobal />
154
+ < IconButton onClick = { gitHubLink } >
155
+ < AiOutlineGithub />
156
+ </ IconButton >
157
+
158
+ < IconButton onClick = { linkedInLink } >
159
+ < AiOutlineLinkedin />
130
160
</ IconButton >
131
161
132
162
< IconButton onClick = { twitterLink } >
133
163
< AiOutlineTwitter />
134
164
</ IconButton >
135
- </ Grid >
136
165
137
- < IconButton onClick = { mailLink } >
138
- < AiOutlineMail />
139
- </ IconButton >
166
+ < IconButton onClick = { mailLink } >
167
+ < AiOutlineMail />
168
+ </ IconButton >
169
+ </ Grid >
140
170
</ Box >
141
171
142
172
< Box borderColor = { 'black' } >
0 commit comments