-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
77 lines (71 loc) · 3.45 KB
/
main.js
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
const mainMenu = document.querySelector('.mainMenu');
const closeMenu = document.querySelector('.mainMenu');
const openMenu = document.querySelector('.openMenu');
function show() {
mainMenu.style.display = 'flex';
mainMenu.style.top = '0';
}
function close() {
mainMenu.style.top = '-100%';
}
openMenu.addEventListener('click', show);
closeMenu.addEventListener('click', close);
const team = [
{
name: 'Melanie Sigrid',
title: 'CEO, Founder and Front End Developer',
description: 'Melanie started her journey in Front-End Development in 2020, when COVID quarantines made her take Web Development as a hobby, and later consider a change of career. Through her journey, she fell in love with UX/UI design, and started dreaming of Orange Studio in 2021. With the help of her friends and colleagues, it is a dream that has come true.',
picture: 'images/melanie.jpg',
alt: 'Melanie Sigrid',
},
{
name: 'Fernando Marques',
title: 'Rails Back-End Engineer and CTO',
description: 'Fernando is a powerful back-end engineer, with a wide arrange of skills which include: HTML and CSS, Javascript, Ruby, Ruby on Rails, NodeJS, React and React Native, C#, MVC, .NET & .NET Core, Python, Flask, RPA with UiPath, Powershell, Unity, SQL and NoSQL Databases',
picture: 'images/fernando.jpg',
alt: 'Fernando Marques',
},
{
name: 'Santiago Velosa',
title: 'Full-Stack Developer',
description: 'Santiago is an experienced Full-Stack Developer, with experience in a variety of technologies. He has proven an indispensable part of the team at Orange Studio.',
picture: 'images/santiago.jpg',
alt: 'Santiago Velosa',
},
{
name: 'Roberto (Bowy) Monterroso',
title: 'Designer',
description: 'Bowy Monterroso has always been interested in everything artful. He started his journey as an Industrial Designer, which he dropped out from to study Music at the Institute of Contemporary Music Performance in London. He has since worked on diverse projects like the design and building of Restaurante Montecasino and is our main guru when it comes to design.',
picture: 'images/bowy.jpg',
alt: 'Bowy Monterroso',
},
{
name: 'Fabiano Frank',
title: 'Full-Stack Developer',
description: 'Fabiano is one of our most experienced Full-Stack Developers. He has been working with Melanie since they were dreaming of entering Microverse, an intensive online school for full-stack development. He has proven a valuable asset to the team.',
picture: 'images/frank.jpg',
alt: 'Fabiano Frank',
},
{
name: 'Kerolous Samy Grace',
title: 'Full-Stack Developer',
description: 'Kerolous has worked and lived in several different countries. Throughout his career as a software developer, he has worked with a lot of different projects which have allowed him to gain a lot of experience.',
picture: 'images/kero.jpg',
alt: 'Kerolous Samy',
},
];
let cards = '';
team.forEach((p) => {
cards += `<div class="speaker-card">
<div class="image-parent">
<img src="images/grid.png" class="decorative-image" alt="decorative image">
<img src="${p.picture}" class="speaker-image" alt="${p.alt}">
</div>
<div class="speaker-text">
<h3 class="speaker-name">${p.name}</h3>
<h4 class="speaker-title">${p.title}</h4>
<p class="speaker-description">${p.description}</p>
</div>
</div>`;
});
document.getElementById('speakers').innerHTML += cards;