-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
222 lines (194 loc) · 9.52 KB
/
index.html
File metadata and controls
222 lines (194 loc) · 9.52 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
219
220
221
222
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="style/style.css"/>
<link href="https://fonts.googleapis.com/css?family=Rubik:700|Montserrat:300&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/d7a3d54a7e.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
<link rel="manifest" href="./site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<link rel="manifest" href="./manifest.json" />
<!-- Primary Meta Tags -->
<title>Robin's Easter Eggs</title>
<meta name="title" content="Robin's Easter Eggs">
<meta name="description" content="Fun little website designed to display my previous work and find an internship opportunity!">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://robinlallier.github.io">
<meta property="og:title" content="Robin's Easter Eggs">
<meta property="og:description" content="Fun little website designed to display my previous work and find an internship opportunity!">
<meta property="og:image" content="https://robinlallier.github.io/caption.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://robinlallier.github.io">
<meta property="twitter:title" content="Robin's Easter Eggs">
<meta property="twitter:description" content="Fun little website designed to display my previous work and find an internship opportunity!">
<meta property="twitter:image" content="https://robinlallier.github.io/caption.png">
<title>Robin's Easter Eggs</title>
<script>
let counter = 0;
let eggList = [];
function clickCounter(id) {
if(eggList.indexOf(id) === -1){
eggList.push(id);
let elem = document.getElementById(id);
elem.classList.add("eggFound");
counter++;
document.getElementById("result").innerHTML = counter;
setTimeout(function() {
elem.parentNode.removeChild(elem);
}, 2000);
}
}
</script>
</head>
<body>
<div class="grid">
<section class="navy" id="gridIntro">
<h1>Robin's Easter Eggs</h1>
<p>Hello stranger, and welcome to this little website. I've hidden multiple easter eggs throughout this page, using CSS and HTML tricks I've learnt along the years. There are up to 5 eggs to find, each one necessiting different interactions with the website. Try clicking the visible one to begin with! <u id="introHidden">This project was designed for desktop-first, some of the tricks won't work on mobiles. </u></p>
</section>
<section class="yellow" id="middle">
<img class="easterEgg" id="middleEgg" src="./assets/easter1.png" alt="Easter Egg" onclick="clickCounter('middleEgg')" />
</section>
<section class="orange" id="scrollEgg">
<div id="scrollBox">
<img class="easterEgg" id="scrollXEgg" src="./assets/easter1.png" alt="Easter Egg" onclick="clickCounter('scrollXEgg')"/>
</div>
</section>
<section class="yellow" id="counter">
<h1>Total eggs found : <span id="result">0</span>/5</h1>
</section>
<section class="orange" id="egg1">
<a href="#">
<img class="easterEgg" src="./assets/easter1.png" alt="Easter Egg" id="focusEgg" onclick="clickCounter('focusEgg')"/>
</a>
</section>
<section id="invisible">
<img class="easterEgg" src="./assets/easter.png" alt="Easter Egg" id="invisibleEgg" onclick="clickCounter('invisibleEgg')"/>
</section>
<section class="orange" id="skills">
<h1>PAST PROJECTS</h1>
<div class="innerGrid">
<figure id="innerSuricate" onclick="openModal('modalSuricate')">
<img src="./assets/suricate2.png" alt="suricate-nat project" />
<legend>Suricate-Nat</legend>
</figure>
<figure id="innerDOTK" onclick="openModal('modalDOTK')">
<img src="./assets/dotk.png" alt="DOTK project" />
<legend>DOTK</legend>
</figure>
<figure id="innerWeazer" onclick="openModal('modalWeazer')">
<img src="./assets/wanted2.png" alt="Weazer project" />
<legend>Weazer</legend>
</figure>
<figure id="innerEcotravel" onclick="openModal('modalEcotravel')">
<img src="./assets/ecotravel.png" alt="Ecotravel project" />
<legend>Ecotravel</legend>
</figure>
</div>
</section>
<section id="linkBehind">
<a href="#behindEgg" ><i class="fas fa-bell"></i></a>
</section>
<section class="yellow" id="social">
<a href="https://github.com/RobinLallier" target="_blank"><i class="fab fa-github-square"></i></a>
<a href="https://www.linkedin.com/in/robin-lallier-57069b119/" target="_blank"><i class="fab fa-linkedin"></i></a>
</section>
<section id="behindSection">
<img class="easterEgg" id="behindEgg" src="./assets/easter.png" alt="Easter Egg" onclick="clickCounter('behindEgg')"/>
</section>
<section class="navy" id="contact">
<h1>Enjoyed the hunt ?</h1>
<p>I’m currently looking for jobs or internships in front-end development. Want to discuss an opportunity, or give me new ways to hide easter eggs here?
<adress><a href="mailto:robin.lallier29@gmail.com" target="_blank"><u>Reach out for me!</u></a></adress>
</p>
</section>
</div>
<div class="modal">
<div class="modal-content" id="modalDOTK">
<div class="modal-figure">
<a href="https://robinlallier.github.io/dotk/" target="_blank" >
<img src="./assets/dotk.png" alt="DOTK project" />
</a>
</div>
<div>
<i class="fas fa-times" onclick="closeModal('modalDOTK')"></i>
<article>
<h2><a href="https://robinlallier.github.io/dotk/" target="_blank" >Descriptive Ontology of Territorial Knowledge</a></h2>
<p><u>Technologies :</u> React, D3.js, Sketch</p>
<p><u>Nature :</u> Study project</p>
<p><u>Description :</u> Built datavizualisation sketches to represent PhD work of Amer Ezoji. Then built a website using d3.js to showcase his work.</p>
</article>
</div>
</div>
<div class="modal-content" id="modalWeazer">
<div class="modal-figure">
<img src="./assets/wanted2.png" alt="Weazer project" />
</div>
<div>
<i class="fas fa-times" onclick="closeModal('modalWeazer')"></i>
<article>
<h2>Weazer</h2>
<p><u>Technologies :</u> Sketch, inVision, React Native</p>
<p><u>Nature :</u> Freelance project</p>
<p><u>Description :</u> Delivered a first proof of concept and inVision prototype to a client. Later, contributed to the React Native app development in collaboration with the developer team.</p>
</article>
</div>
</div>
<div class="modal-content" id="modalSuricate">
<div class="modal-figure">
<img src="./assets/suricate2.png" alt="suricate-nat project" />
</div>
<div>
<i class="fas fa-times" onclick="closeModal('modalSuricate')"></i>
<article>
<h2>Suricate-Nat</h2>
<p><u>Technologies :</u> Sketch</p>
<p><u>Nature :</u> Freelance project</p>
<p><u>Description :</u> UX and ergonomic study of the existing website Suricate-nat. Concept and mockup integrating feedback from the former study.</p>
</article>
</div>
</div>
<div class="modal-content" id="modalEcotravel">
<div class="modal-figure">
<a href="https://robinlallier.github.io/ecotravel/" target="_blank">
<img src="./assets/ecotravel.png" alt="Ecotravel project" />
</a>
</div>
<div>
<i class="fas fa-times" onclick="closeModal('modalEcotravel')"></i>
<article>
<h2><a href="https://robinlallier.github.io/ecotravel/" target="_blank">Ecotravel</a></h2>
<p><u>Technologies :</u> React, Node.js, HTTP request, API</p>
<p><u>Nature :</u> Freelance project</p>
<p><u>Description :</u> Ecotravel is a no-database service that allows traveler to compare different solutions (mostly train, car, carpooling or bike) and their ecological footprint. It relies on multiple external API and gives a non-arbitrary comparison between these different solutions.</p>
</article>
</div>
</div>
</div>
<script>
let modalBack = document.getElementsByClassName('modal')[0];
function openModal(modalId){
let modalContent = document.getElementById(modalId);
modalBack.style.display = "block";
modalContent.style.display = "flex";
}
function closeModal(modalId){
let modalContent = document.getElementById(modalId);
modalBack.style.display = "none";
modalContent.style.display = "none";
}
window.onclick = function(event) {
if (event.target == modalBack) {
modalBack.style.display = "none";
}
}
</script>
</body>
</html>