-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsocial_media_icons.html
220 lines (168 loc) · 5.69 KB
/
social_media_icons.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
<!DOCTYPE html>
<!-- Auther: Shorouk Abdelaziz https://shorouk.dev -->
<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: 2em;
/* Change the icons colours here*/
color: #7a7a7a
}
.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;
}
.reddit:hover {
color: #ff4500;
}
.tiktok:hover {
color: #ff0050;
}
.youtube:hover {
color: #FF0000;
}
.pinterest:hover {
color: #c8232c;
}
.telegram:hover {
color: #2AABEE;
}
.social {
position: relative;
margin: 10px;
cursor: pointer;
}
</style>
</head>
<body>
<body>
<div class="wrapper">
<!-- Start blog Icon -->
<div id="blog" onclick="navigate(this.id)" class="social">
<span class="icon blog"><i class="fa-solid fa-blog"></i></span>
</div>
<!-- End blog Icon -->
<!-- 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 reddit Icon -->
<div id="reddit" onclick="navigate(this.id)" class="social">
<span class="icon reddit"><i class="fab fa-reddit"></i></span>
</div>
<!-- End reddit Icon -->
<!-- Start tiktok Icon -->
<div id="tiktok" onclick="navigate(this.id)" class="social">
<span class="icon tiktok"><i class="fab fa-tiktok"></i></span>
</div>
<!-- End tiktok Icon -->
<!-- Start youtube Icon -->
<div id="youtube" onclick="navigate(this.id)" class="social">
<span class="icon youtube"><i class="fab fa-youtube"></i></span>
</div>
<!-- End youtube Icon -->
<!-- Start pinterest Icon -->
<div id="pinterest" onclick="navigate(this.id)" class="social">
<span class="icon pinterest"><i class="fab fa-pinterest"></i></span>
</div>
<!-- End pinterest Icon -->
<!-- Start telegram Icon -->
<div id="telegram" onclick="navigate(this.id)" class="social">
<span class="icon telegram"><i class="fab fa-telegram"></i></span>
</div>
<!-- End telegram Icon -->
</div>
<script>
function navigate(id) {
//if you want the URL to open in the same window use '_parent' instead of '_blank'
if (id === "blog")
window.open("https://blog.shorouk.dev", '_blank').focus(); //Add the url to your blog
else if (id === "email") {
window.open("mailto:[email protected]", '_blank').focus(); //Add your email after "mailto:""
}
else if (id === "facebook") {
window.open("https://facebook.com/", '_blank').focus(); //Add the url to your facebook page or account
}
else if (id === "instagram") {
window.open("instagram.com", '_blank').focus(); //Add the url to your instagram account
}
else if (id === "linkedin") {
window.open("https://www.linkedin.com/", '_blank').focus(); //Add the url to your pinterest account
}
else if (id === "twitter") {
window.open("https://twitter.com/", '_blank').focus(); //Add the url to your pinterest account
}
else if (id === "reddit") {
window.open("https://www.reddit.com/", '_blank').focus(); //Add the url to your reddit account
}
else if (id === "tiktok") {
window.open("https://www.tiktok.com/", '_blank').focus(); //Add the url to your tiktok account
}
else if (id === "youtube") {
window.open("https://www.youtube.com/", '_blank').focus(); //Add the url to your youtube account
}
else if (id === "pinterest") {
window.open("https://www.pinterest.com/", '_blank').focus(); //Add the url to your pinterest account
}
else if (id === "telegram") {
window.open("https://web.telegram.org/", '_blank').focus(); //Add the url to your telegram account
}
}
</script>
</body>
</html>