-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
218 lines (212 loc) · 7.29 KB
/
index.html
File metadata and controls
218 lines (212 loc) · 7.29 KB
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
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header class="header" role="banner" id="top">
<div class="row">
<nav class="nav" role="navigation">
<ul class="nav-items">
<li class="nav-item"><a href="#" class="nav-link">Portfolio</a></li>
<li class="nav-item"><a href="#" class="nav-link">Experience</a></li>
<li class="nav-item"><a href="#" class="nav-link">About</a></li>
<li class="nav-item"><a href="#" class="nav-link">Contacts</a></li>
</ul>
</nav>
</div>
<div class="header-text-box row">
<div class="header-text">
<h1 class="heading-primary">
<span>Yusuf Yetunde</span>
</h1>
<p>A girl that learn to code</p>
<a href="#" class="btn btn--red">Know More</a>
</div>
<div class="header-img">
<img src="img/person_1.jpg">
</div>
</div>
</header>
<main role="main">
<section class="work" id="work">
<div class="row">
<h2>Portfolio</h2>
<div class="work-boxes">
<div class="work-box">
<div class="work-text">
<h3>Airslide</h3>
<p>A Stress free website for travellers</p>
<ul class="work-list">
<li>HTML</li>
<li>CSS</li>
<li>Javascript</li>
</ul>
<div class="work-links">
<a href="#" target="_blank" class="link-text">
Visit Site<span>→</span>
</a>
<a href="#" title="view code" target="_blank">
<img src="img/github.png" class="work-code" alt="github">
</a>
</div>
</div>
<div class="work-image-box">
<img src="img/index.png" class="work-image" alt="project1">
</div>
</div>
<div class="work-box">
<div class="work-text">
<h3>Babies Daycare</h3>
<p>A 30min build landing page</p>
<ul class="work-list">
<li>HTML</li>
<li>CSS</li>
<li>Javascript</li>
</ul>
<div class="work-links">
<a href="#" class="link-text">
Visit site<span>&arr;</span>
</a>
<a href="#">
<img src="img/github.png" class="work-code" title="view source" alt="github">
</a>
</div>
</div>
<div class="work-image-box">
<img src="img/a.png" class="work-image" alt="project2">
</div>
</div>
<div class="work-box">
<div class="work-text">
<h3>Portfolio</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
</p>
<ul class="work-list">
<li>HTML</li>
<li>CSS</li>
<li>Javascript</li>
</ul>
<div class="work-links">
<a href="#" class="link-text">
Visit Site<span>→</span>
</a>
<a href="#">
<img src="img/github.png" class="work-code" title="view source" alt="github">
</a>
</div>
</div>
<div class="work-image-box">
<img src="img/port.png" class="work-image" alt="project3">
</div>
</div>
</div>
</div>
</section>
<section class="client" id="Clients">
<div class="row">
<h2>Experience</h2>
<div class="client-logos">
<img src="img/clients/1.png" class="client-logo" alt="company 1">
<img src="img/clients/2.png" class="client-logo" alt="company 2">
<img src="img/clients/3.png" class="client-logo" alt="company 3">
<img src="img/clients/4.png" class="client-logo" alt="company 4">
<img src="img/clients/35.png" class="client-logo" alt="company 5">
</div>
</div>
</section>
<section class="about" id="about">
<div class="row">
<h2>About</h2>
<div class="about-content">
<div class="about-text">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<a href="#" class="btn">MyResume</a>
</div>
<div class="about-photo-container">
<img src="img/yetty.jpg" class="about-photo" alt="">
</div>
</div>
</div>
</section>
</main>
<section class="Contact" id="Contact">
<div class="row">
<h2>Know More</h2>
<div class="Contact-info">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<a href="yusufyetunde13@gmail.com" class="btn">My mail</a>
</div>
</div>
</section>
<footer role="contentinfo" class="footer">
<div class="row">
<ul class="footer-social-links">
<li class="footer-social-link-item">
<a href="#twitter" title="Link to twitter"></a>
<img src="img/twitter.png" class="footer-social-image" alt="twitter">
</li>
<li class="footer-social-link-item">
<a href="#github" title="Link to github"></a>
<img src="img/github.png" class="footer-social-image" alt="github">
</li>
<li class="footer-social-link-item">
<a href="#linkedin" title="Link to linkedin"></a>
<img src="img/linkedin.png" class="footer-social-image" alt="linkedin">
</li>
</ul>
<p>© 2020</p>
<div class="footer-github-buttons">
<iframe src="" frameborder="0" scrolling="0" width="170" height="20" title="watch on github"></iframe>
</div>
</div>
</footer>
<a href="#top" class="back-to-top" title="back-to-top">
<img src="img/arrow" alt="back-to-top-image">
</a>
<script type="text/javascript">
const handleFirstTab = (e) => {
if(e.key == 'tab'){
document.body.classList.add('user-is-tabbing')
window.removeEventListener('keydown', handleFirstTab)
window.addEventListener('mousedown', handleMouseDownOnce)
}
}
const handleMouseDownOnce = () =>{
document.body.classList.remove('user-is-tabbing')
window.removeEventListener('mousedown', handleMouseDownOnce)
window.addEventListener('keydown',handleFirstTab)
}
window.addEventListener('keydown', handleFirstTab)
const backToTopButton = document.querySelector(".back-to-top");
let isBackToTopRendered = false;
let alterStyles = (isBackToTopRendered) => {
backToTopButton.style.visibility = isBackToTopRendered ? "visible" : "hidden";
backToTopButton.style.opacity = isBackToTopRendered ? 1: 0;
backToTopButton.style.transform = isBackToTopRendered
?"scale(1)"
: " scale(0)";
};
window.addEventListener("scroll", () =>{
if(window.scrollY > 700){
isBackToTopRendered - true;
alterStyles(isBackToTopRendered);
}else{
isBackToTopRendered = false;
alterStyles(isBackToTopRendered);
}
});
</script>
</body>
</html>