-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·220 lines (208 loc) · 7.82 KB
/
index.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>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Portfolio</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/font-awesome.css">
<script src="js/jquery.js"></script>
<script src="js/jquery-color.js"></script>
<script src="js/jquery-shadow.js"></script>
<script src="js/bootstrap.js"></script>
<script>
function make_active(element){
var buttons=$(".nav li");
for(var i=0 ; i<3 ; i++)
buttons[i].classList.remove("active");
element.classList.add("active");
}
$(document).ready(function(){
//Form text-input animation
$(".form-control").on("input",function(){
var input=$(this);
if(input.val().length==0){
input.prev().css({"top":"auto","bottom":"auto"}).animate({"bottom":"0%"}).fadeOut();
}
else{
input.prev().css("bottom","0%").show().animate({"top":"0%"});
}
});
//End of form text-input animation
//font-awesome animation
$("#main-footer .fa").mouseenter(function(){
$(".fa").css({
"textShadow":"0px 0px 0px white",
}).animate({"color":"silver"},100);
$(this).css({
"textShadow":"2px 2px 5px white",
"fontWeight":"bold",
}).animate({"color":"black"},100);
});
$("#main-footer .fa").mouseleave(function(){
$(this).css({
"textShadow":"2px 2px 5px white",
"fontWeight":"normal",
});
});
//End of font-awesome animation
//nav bar onclick events
$(".nav li").click(function(){make_active(this)});
//End nav bar onclick events
});
</script>
</head>
<body>
<div class="row">
<div class="navbar navbar-toggleable-sm navbar-inverse navbar-fixed-top navbar-custom">
<div class="container">
<div class="navbar-header" style="display:inline-block;">
<a href="index.html" class="navbar-brand" style="font-size:30px;">Elshaaer</a>
</div>
<button class="navbar-toggle" data-toggle="collapse" data-target="#mainNav">
<i class="icon-bar"></i>
<i class="icon-bar"></i>
<i class="icon-bar"></i>
</button>
<div class="collapse navbar-collapse" id="mainNav">
<ul class="nav navbar-nav navbar-right">
<li class="nav-button active" ><a href="#header">ABOUT</a></li>
<li class="nav-button " ><a href="index.html#portfolio">PORTFOLIO</a></li>
<li class="nav-button "><a href="index.html#contact_us">CONTACT US</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-sm-12 col-xs-12">
<div class="jumbotron">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<header id="header">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 text-center">
<div class="row">
<p id="header-about-1">Mouhammed Hafez Elshaaer, Undergraduate Software Engineer </p>
</div>
<div class="row">
<hr class="col-lg-8 col-lg-offset-2 col-md-8 col-md-offset-2 col-sm-8 col-sm-offset-2 col-xs-8 col-xs-offset-2">
</div>
<div class="row">
<p id="header-about-2">Front-End Web Developer - User Experience Designer </p>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<img src="images/personal_img-1.jpg" alt="" id="header-img" class="img-responsive img-thumbnail img-circle">
</div>
</div>
</header>
</div>
</div>
<div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-10 col-md-offset-1 col-sm-10 col-sm-offset-1 col-xs-10 col-xs-offset-1">
<main>
<div class="row">
<section id="portfolio">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 col-lg-offset-3 col-md-offset-3 col-sm-offset-3">
<h2 class="text-center">PORTFOLIO</h2>
<hr class=""><br><br>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12" style="">
<img src="images/proj_1.png" alt="" class="img-responsive img-thumbnail">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<img src="images/proj_4.png" alt="" class="img-responsive img-thumbnail">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<img src="images/proj_4_1.png" alt="" class="img-responsive img-thumbnail">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<img src="images/proj_4_2.png" alt="" class="img-responsive img-thumbnail">
</div>
</div>
</section>
</div>
<div class="row"><hr class="divider"></div>
<div class="row">
<section id="contact_us">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 col-lg-offset-3 col-md-offset-3 col-sm-offset-3">
<h2 class="text-center">CONTACT ME</h2>
<hr class=""><br><br>
</div>
</div>
<div class="row">
<div class="form col-lg-5 col-md-5 col-sm-12 col-xs-12">
<form>
<div class="form-group">
<div class="input_container">
<div class="label">Username</div>
<input id="username" type="text" class="form-control" placeholder="Username">
</div>
</div>
<div class="form-group">
<div class="input_container">
<div class="label">Email Address</div>
<input type="text" class="form-control" placeholder="Email Address" >
</div>
</div>
<div class="form-group">
<div class="input_container">
<div class="label" >Phone Number</div>
<input type="text" class="form-control" placeholder="Phone Number">
</div>
</div>
<div class="form-group">
<div class="input_container">
<div class="label">Message</div>
<input type="text" class="form-control" placeholder="Message">
</div>
</div>
<div class="form-group">
<button class="form-control btn btn-default">Submit</button>
</div>
</form>
</div>
<div class="col-lg-6 col-lg-offset-1 col-md-6 col-md-offset-1 col-sm-12 col-xs-12">
<p id="form-text-1">Want to get in touch with me? Be it to request more info about myself or my experience, to ask for my resume, tips on how to solve your sudoku, random questions about the universe and the meaning of life, or even if only for some nice Fika here in stunning Toronto... just feel free to drop me a line anytime.
</p>
<p id="form-text-2">I promise to reply A.S.A.P.</p>
</div>
</div>
</section>
</div>
</main>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div id="main-footer">
<div class="text-center">
<div class="row">
<h2>AROUND THE WEB</h2>
</div>
<div class="row">
<a href="https://www.facebook.com/M.shaaer" target="_blank"><i class="fa fa-facebook-square font-awesome"></i></a>
<a href="https://twitter.com/ElshaaerEl" target="_blank"><i class="fa fa-twitter font-awesome" id="active"></i></a>
<a href="https://www.linkedin.com/in/mouhammed-elshaaer-4a9015144/" target="_blank"><i class="fa fa-linkedin font-awesome"></i></a>
<a href="https://github.com/MouhammedElshaaer" target="_blank"><i class="fa fa-github font-awesome"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<footer style="">
<div class="text-center"><h4>copyrights©Elshaaer2017</h4></div>
</footer>
</div>
</body>
</html>