-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav_bar_paige.html
278 lines (230 loc) · 6.75 KB
/
nav_bar_paige.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Socials</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: grid;
font-family: "Poppins", sans-serif;
place-items: center;
}
.wrapper {
padding-top: 10px;
display: inline-flex;
}
.icon {
/* Change the icon size here */
font-size: 3em;
/* Change the icons colours here*/
color: #0b0b0b
}
.blog:hover {
color: #ffbd2f;
}
.email:hover {
color: #23c8c8;
}
.facebook:hover {
color: #4267B2;
}
.instagram:hover {
color: rgb(241, 102, 217);
}
.linkedin:hover {
color: #0e76a8;
}
.twitter:hover {
color: #26a7de;
}
#canva {
position:relative;
height:281px;
width:50px;
margin:0 auto;
margin-top: 10px;
}
#canva img {
position:absolute;
left:0;
-webkit-transition: opacity 0s ease-in-out;
-moz-transition: opacity 0s ease-in-out;
-o-transition: opacity 0s ease-in-out;
transition: opacity 0s ease-in-out;
}
#canva img.top:hover {
opacity:0;
}
#bitly {
position:relative;
height:281px;
width:50px;
margin:0 auto;
margin-top: 10px;
margin-left: 10px;
margin-right: 5px;
}
#bitly img {
position:absolute;
left:0;
-webkit-transition: opacity 0s ease-in-out;
-moz-transition: opacity 0s ease-in-out;
-o-transition: opacity 0s ease-in-out;
transition: opacity 0s ease-in-out;
}
#bitly img.top:hover {
opacity:0;
}
#mlspin {
font-size: 0.95em;
}
.mlspin:hover {
color: #51a7cc;
}
#hootsuite {
position:relative;
height:281px;
width:50px;
margin:0 auto;
margin-top: 10px;
margin-right: 5px;
}
#hootsuite img {
position:absolute;
left:0;
-webkit-transition: opacity 0s ease-in-out;
-moz-transition: opacity 0s ease-in-out;
-o-transition: opacity 0s ease-in-out;
transition: opacity 0s ease-in-out;
}
#hootsuite img.top:hover {
opacity:0;
}
#farrelly {
position:relative;
height:281px;
width:50px;
margin:0 auto;
margin-top: 10px;
}
#farrelly img {
position:absolute;
left:0;
-webkit-transition: opacity 0s ease-in-out;
-moz-transition: opacity 0s ease-in-out;
-o-transition: opacity 0s ease-in-out;
transition: opacity 0s ease-in-out;
}
#farrelly img.top:hover {
opacity:0;
}
.social {
position: relative;
margin: 10px;
cursor: pointer;
}
</style>
</head>
<body>
<body>
<div class="wrapper">
<!-- Start email Icon -->
<div id="email" onclick="navigate(this.id)" class="social">
<span class="icon email"><i class="fa-solid fa-envelope"></i></span>
</div>
<!-- End email Icon -->
<!-- Start facebook Icon -->
<div id="facebook" onclick="navigate(this.id)" class="social">
<span class="icon facebook"><i class="fab fa-facebook"></i></span>
</div>
<!-- End facebook Icon -->
<!-- Start instagram Icon -->
<div id="instagram" onclick="navigate(this.id)" class="social">
<span class="icon instagram"><i class="fab fa-instagram"></i></span>
</div>
<!-- End instagram Icon -->
<!-- Start linkedin Icon -->
<div id="linkedin" onclick="navigate(this.id)" class="social">
<span class="icon linkedin"><i class="fab fa-linkedin"></i></span>
</div>
<!-- End linkedin Icon -->
<!-- Start twitter Icon -->
<div id="twitter" onclick="navigate(this.id)" class="social">
<span class="icon twitter"><i class="fab fa-twitter"></i></span>
</div>
<!-- End twitter Icon -->
<!-- Start canva Icon -->
<div id="canva" onclick="navigate(this.id)" class="social">
<img class="bottom" src="images/canva_icon_hover.png" />
<img class="top" src="images/canva_icon.png" />
</div>
<!-- End canva Icon -->
<!-- Start bitly Icon -->
<div id="bitly" onclick="navigate(this.id)" class="social">
<img class="bottom" src="images/bitly_icon_hover.png" />
<img class="top" src="images/bitly_icon.png" />
</div>
<!-- End bitly Icon -->
<!-- Start mlspin Icon -->
<div id="mlspin" onclick="navigate(this.id)" class="social">
<span class="icon mlspin"><i class="fas fa-house-user"></i></span>
</div>
<!-- End mlspin Icon -->
<!-- Start hootsuite Icon -->
<div id="hootsuite" onclick="navigate(this.id)" class="social">
<img class="bottom" src="images/hootsuite_icon_hover.png" />
<img class="top" src="images/hootsuite_icon.png" />
</div>
<!-- End hootsuite Icon -->
<!-- Start farrelly Icon -->
<div id="farrelly" onclick="navigate(this.id)" class="social">
<img class="bottom" src="images/farrelly_icon_hover.png" />
<img class="top" src="images/farrelly_icon.png" />
</div>
<!-- End farrelly Icon -->
</div>
<script>
function navigate(id) {
//if you want the URL to open in the same window use '_parent' instead of '_blank'
if (id === "email") {
window.open("https://www.gmail.com", '_blank').focus();
}
else if (id === "facebook") {
window.open("https://www.facebook.com/", '_blank').focus();
}
else if (id === "instagram") {
window.open("https://www.instagram.com", '_blank').focus();
}
else if (id === "linkedin") {
window.open("https://www.linkedin.com/", '_blank').focus();
}
else if (id === "twitter") {
window.open("https://www.twitter.com/", '_blank').focus();
}
else if (id === "canva") {
window.open("https://www.canva.com/", '_blank').focus();
}
else if (id === "bitly") {
window.open("https://www.bitly.com/", '_blank').focus();
}
else if (id === "mlspin") {
window.open("https://www.mlspin.com/", '_blank').focus();
}
else if (id === "hootsuite") {
window.open("https://www.hootsuite.com/", '_blank').focus();
}
else if (id === "farrelly") {
window.open("https://www.farrellyrealtygroup.com/", '_blank').focus();
}
}
</script>
</body>
</html>