-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
389 lines (344 loc) · 14.9 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
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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- --------- UNICONS ---------- -->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.8/css/line.css">
<!-- --------- CSS -------------- -->
<link rel="stylesheet" href="styleSheet.css">
<!-- --------- ICON ------------- -->
<link rel="icon" href="Assets/S.png" type="image/x-icon">
<title>Portfolio | SarahRabah</title>
</head>
<body>
<div class="container">
<!-- --------------- HEADER --------------- -->
<nav id="header">
<div class="nav-logo">
<p class="nav-name">Sarah Rabah</p>
<span></span>
</div>
<div class="nav-menu" id="myNavMenu">
<ul class="nav_menu_list">
<li class="nav_list">
<a href="#home" class="nav-link active-link">Home</a>
<div class="circle"></div>
</li>
<li class="nav_list">
<a href="#about" class="nav-link">About</a>
<div class="circle"></div>
</li>
<li class="nav_list">
<a href="#projects" class="nav-link">Projects</a>
<div class="circle"></div>
</li>
<li class="nav_list">
<a href="#contact" class="nav-link">Contact</a>
<div class="circle"></div>
</li>
</ul>
</div>
<div class="nav-button">
<a href="assets/CV.pdf">
<button class="btn">Download CV <i class="uil uil-file-alt"></i></button>
</a>
</div>
<div class="nav-menu-btn">
<i class="uil uil-bars" onclick="myMenuFunction()"></i>
</div>
</nav>
<!-- -------------- MAIN ---------------- -->
<main class="wrapper">
<!-- -------------- FEATURED BOX ---------------- -->
<section class="featured-box" id="home">
<div class="featured-text">
<div class="featured-text-card">
<span>Sarah Rabah</span>
</div>
<div class="featured-name">
<p>I'm A <span class="typedText"></span></p>
</div>
<div class="featured-text-info">
<p>software engineering student Currently at the Univerity of Auckland, Looking to up my skills
and use them in real world probelms.
</p>
</div>
<div class="featured-text-btn">
<a href="assets/CV.pdf">
<button class="btn">Download CV <i class="uil uil-file-alt"></i></button>
</a>
</div>
<div class="social_icons">
<a href="https://www.linkedin.com/in/srab017/">
<div class="icon"><i class="uil uil-linkedin-alt"></i></div>
</a>
<a href="https://github.com/srab017 ">
<div class="icon"><i class="uil uil-github-alt"></i></div>
</a>
</div>
</div>
<div class="featured-image">
<div class="image">
<img src="assets/personal.jpg" alt="profile Image">
</div>
</div>
<div class="scroll-icon-box">
<a href="#about" class="scroll-btn">
<i class="uil uil-mouse-alt"></i>
<p>Scroll Down</p>
</a>
</div>
</section>
<!-- -------------- ABOUT BOX ---------------- -->
<section class="section" id="about">
<div class="top-header">
<h1>About Me</h1>
</div>
<div class="row">
<div class="col">
<div class="about-info">
<h3>My introduction</h3>
<p>I’m a third-year software engineering student at the University of Auckland, and if you
had told me a few years ago that I’d be deep into coding, I wouldn’t have believed you.
My background isn’t your typical tech story—I’ve worked in retail, led clubs at
university, and somehow, these experiences led me to fall in love with software
development.
</p>
<div class="about-btn">
<a href="assets/CV.pdf">
<button class="btn">Download CV <i class="uil uil-import"></i></button>
</a>
</div>
</div>
</div>
<div class="col">
<div class="skills-box">
<div class="skills-header">
<h3>Frontend</h3>
</div>
<div class="skills-list">
<span>HTML</span>
<span>CSS</span>
<span>JavaScript</span>
</div>
</div>
<div class="skills-box">
<div class="skills-header">
<h3>Backend</h3>
</div>
<div class="skills-list">
<span>JAVA</span>
<span>Python</span>
<span>C++</span>
</div>
</div>
<div class="skills-box">
<div class="skills-header">
<h3>Database</h3>
</div>
<div class="skills-list">
<span>MySQL</span>
<span>PostgreSQL</span>
</div>
</div>
</div>
</div>
</section>
<!-- -------------- PROJECT BOX ---------------- -->
<section class="section" id="projects">
<div class="top-header">
<h1>Projects</h1>
</div>
<div class="project-container">
<div class="project-box">
<h3>Scape room</h3>
<label>JAVA</label>
</div>
<div class="project-box">
<h3>Insurance system</h3>
<label>JAVA</label>
</div>
<div class="project-box">
<h3>Tic Tac Toe</h3>
<label>HTML/CSS/JAVASCRIPT</label>
</div>
</div>
<div class="top-header">
<h1> </h1>
<h1>Current Projects</h1>
</div>
<div class="project-container">
<div class="project-box">
<h3>Short.me</h3>
<label>URL shortner</label>
</div>
<div class="project-box">
<h3>Home-Cooked</h3>
<label>Blog</label>
</div>
<div class="project-box">
<h3>Calculator</h3>
<label>React</label>
</div>
</div>
</section>
<!-- -------------- CONTACT BOX ---------------- -->
<section class="section" id="contact">
<div class="top-header">
<h1>Get in touch</h1>
<span>Do you have a project in your mind, contact me here</span>
</div>
<div class="row">
<div class="col">
<div class="contact-info">
<h2>Find Me <i class="uil uil-corner-right-down"></i></h2>
<p><i class="uil uil-envelope"></i> Email: [email protected]</p>
<p><i class="uil uil-phone"></i> Tel: +64224587146</p>
</div>
</div>
<div class="col">
<div class="form-control">
<div class="form-inputs">
<input type="text" class="input-field" placeholder="Name">
<input type="text" class="input-field" placeholder="Email">
</div>
<div class="text-area">
<textarea placeholder="Message"></textarea>
</div>
<div class="form-button">
<button class="btn">Send <i class="uil uil-message"></i></button>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- --------------- FOOTER --------------- -->
<footer>
<div class="top-footer">
<p>Sarah Rabah</p>
</div>
<div class="middle-footer">
<ul class="footer-menu">
<li class="footer_menu_list">
<a href="#home">Home</a>
</li>
<li class="footer_menu_list">
<a href="#about">About</a>
</li>
<li class="footer_menu_list">
<a href="#projects">Projects</a>
</li>
<li class="footer_menu_list">
<a href="#contact">Contact</a>
</li>
</ul>
</div>
<div class="footer-social-icons">
<a href="https://www.linkedin.com/in/srab017/">
<div class="icon"><i class="uil uil-linkedin-alt"></i></div>
</a>
<a href="https://github.com/srab017 ">
<div class="icon"><i class="uil uil-github-alt"></i></div>
</a>
</div>
<div class="bottom-footer">
<p>Copyright © <a href="#home" style="text-decoration: none;">Sarah Rabah</a> - All rights reserved
</p>
</div>
</footer>
</div>
<!-- ----- TYPING JS Link ----- -->
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
<!-- ----- SCROLL REVEAL JS Link----- -->
<script src="https://unpkg.com/scrollreveal"></script>
<!-- ----- MAIN JS ----- -->
<script src="assets/js/main.js"></script>
<script>
/* ----- NAVIGATION BAR FUNCTION ----- */
function myMenuFunction() {
var menuBtn = document.getElementById("myNavMenu");
if (menuBtn.className === "nav-menu") {
menuBtn.className += " responsive";
} else {
menuBtn.className = "nav-menu";
}
}
/* ----- ADD SHADOW ON NAVIGATION BAR WHILE SCROLLING ----- */
window.onscroll = function () { headerShadow() };
function headerShadow() {
const navHeader = document.getElementById("header");
if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
navHeader.style.boxShadow = "0 1px 6px rgba(0, 0, 0, 0.1)";
navHeader.style.height = "70px";
navHeader.style.lineHeight = "70px";
} else {
navHeader.style.boxShadow = "none";
navHeader.style.height = "90px";
navHeader.style.lineHeight = "90px";
}
}
/* ----- TYPING EFFECT ----- */
var typingEffect = new Typed(".typedText", {
strings: ["Designer", "Developer", "student :)"],
loop: true,
typeSpeed: 100,
backSpeed: 80,
backDelay: 2000
})
/* ----- ## -- SCROLL REVEAL ANIMATION -- ## ----- */
const sr = ScrollReveal({
origin: 'top',
distance: '80px',
duration: 2000,
reset: true
})
/* -- HOME -- */
sr.reveal('.featured-text-card', {})
sr.reveal('.featured-name', { delay: 100 })
sr.reveal('.featured-text-info', { delay: 200 })
sr.reveal('.featured-text-btn', { delay: 200 })
sr.reveal('.social_icons', { delay: 200 })
sr.reveal('.featured-image', { delay: 300 })
/* -- PROJECT BOX -- */
sr.reveal('.project-box', { interval: 200 })
/* -- HEADINGS -- */
sr.reveal('.top-header', {})
/* ----- ## -- SCROLL REVEAL LEFT_RIGHT ANIMATION -- ## ----- */
/* -- ABOUT INFO & CONTACT INFO -- */
const srLeft = ScrollReveal({
origin: 'left',
distance: '80px',
duration: 2000,
reset: true
})
srLeft.reveal('.about-info', { delay: 100 })
srLeft.reveal('.contact-info', { delay: 100 })
/* -- ABOUT SKILLS & FORM BOX -- */
const srRight = ScrollReveal({
origin: 'right',
distance: '80px',
duration: 2000,
reset: true
})
srRight.reveal('.skills-box', { delay: 100 })
srRight.reveal('.form-control', { delay: 100 })
/* ----- CHANGE ACTIVE LINK ----- */
const sections = document.querySelectorAll('section[id]')
function scrollActive() {
const scrollY = window.scrollY;
sections.forEach(current => {
const sectionHeight = current.offsetHeight,
sectionTop = current.offsetTop - 50,
sectionId = current.getAttribute('id')
if (scrollY > sectionTop && scrollY <= sectionTop + sectionHeight) {
document.querySelector('.nav-menu a[href*=' + sectionId + ']').classList.add('active-link')
} else {
document.querySelector('.nav-menu a[href*=' + sectionId + ']').classList.remove('active-link')
}
})
}
window.addEventListener('scroll', scrollActive)
</script>
</body>