-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
172 lines (134 loc) · 6.05 KB
/
about.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Secret family cookbook app marketing page</title>
<link href="https://fonts.googleapis.com/css?family=Amatic+SC|Open+Sans+Condensed:300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="css/about.css" type="text/css" rel="stylesheet" />
<script src="js/index.js" type="text/javascript" async></script>
</head>
<body class="aboutHome">
<div class="backgroundColor">
<nav id="myNav" class="overlay">
<a href="javascript:void(0)" class="closebtn" id="xClose">×</a>
<div class="overlay-content">
<a href="index.html">Home</a>
</div>
</nav>
<span id = "navbtn" class="navbtn" style="font-size:30px;cursor:pointer">☰ menu</span>
<!-- <div class="img"> -->
<img class="gf" src="img/gf.jpg" alt="GF">
<div class="h1Mission">
<h1>about us</h1>
<p>These are the lovely people who have been working on the Secret Family Recipe Cookbook app and marketing webpage...</p>
</div>
<div class="profiles">
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closeX" id="x">×</a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-google"></a>
<a href="#" class="fa fa-linkedin"></a>
<p id = "biotext"></p>
</div>
<!-- 1 -->
<div class="mains" id="main">
<h2>Andrew Bastian</h2>
<span class="profilebtn" id="andrew" style="font-size:30px;cursor:pointer">
<img src="img/andrew.jpg" alt=""></span>
</div>
<!-- 2 -->
<div class="mains" id="main">
<h2>Barbara Mayfield</h2>
<span class="profilebtn" id="barbara" style="font-size:30px;cursor:pointer">
<img src="img/IMG_1558_bm.JPG" alt="Profile Picture of Barbara Mayfield"></span>
<!-- <div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closeX" id="x">×</a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-google"></a>
<a href="#" class="fa fa-linkedin"></a>
<p>"Hey there, I'm Barbara. I am a student studying Full Stack Web Development at Lambda School.
Our team created this landing page and the Secret Family Recipes Cookbook app."</p>
</div> -->
</div>
<!-- 3 -->
<div class="mains" id="main">
<h2>Juan Reys</h2>
<span class="profilebtn" id="juan" style="font-size:30px;cursor:pointer">
<img src="img/Juan.jpg" alt=""></span>
<!-- <div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closeX" id="x">×</a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-google"></a>
<a href="#" class="fa fa-linkedin"></a>
<p>Juan has worked as a skydive instructor and is at Lambda because he can do it from home</p>
</div> -->
</div>
<!-- 4 -->
<div class="mains" id="main">
<h2>Spencer Summrville</h2>
<span class="profilebtn" id="profile" style="font-size:30px;cursor:pointer">
<img src="img/P11104650.jpg" alt=""></span>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closeX" id="x">×</a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-google"></a>
<a href="#" class="fa fa-linkedin"></a>
<p>Grew up in Blaine WA and is at Lambda because of the no upfront cost</p>
</div> -->
</div>
</div>
<img src="img/line.gif" alt="">
<footer>
<a href="#" class="fa fa-facebook"></a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-google"></a>
<a href="#" class="fa fa-linkedin"></a>
</footer>
<!--nav bar -->
<script type="text/javascript">
var navBtn = document.getElementById("navbtn");
var myNav = document.getElementById("myNav");
navBtn.addEventListener("click", (event) => {
myNav.style.height = "10%";
})
// function openNav() {
// document.getElementById("myNav").style.height = "10%";
// }
/* Close */
var navX = document.getElementById('xClose');
navX.addEventListener("click", (event)=>{
myNav.style.height = "0";
})
// function closeNav() {
// document.getElementById("myNav").style.height = "0%";
// }
</script>
// profile
<script type="text/javascript">
var profiles = Array.from(document.getElementsByClassName('profilebtn'));
var sidebar = document.getElementById('mySidenav');
let mains = Array.from(document.getElementsByClassName('mains'));
var profileData = {"andrew": "I'm Andrew. Ejoyed this 1st build week a lot. It has been satifying to dig into a bigger project.",
"barbara": "Hey there, I'm Barbara. I am a student studying Full Stack Web Development at Lambda School. Our team created this landing page and the Secret Family Recipes Cookbook app.",
"juan" : 'Juan has worked as a skydive instructor and is at Lambda because he can do it from home',
"spencer" : 'Grew up in Blaine WA and is at Lambda because of the no upfront cost'};
profiles.forEach((profile, i) => {
profile.addEventListener('click', (event) => {
document.getElementById('biotext').innerText = profileData[profile.id];
sidebar.style.width = "250px";
mains.forEach(element => element.style.marginLeft = "250px")
})
})
var x = Array.from(document.getElementsByClassName("closeX"));
let sidenav = Array.from(document.getElementsByClassName('sidenav'));
x.forEach((element, i) => {
element.addEventListener('click', (event) => {
sidenav[i].style.width = "0";
mains.forEach(element => element.style.marginLeft = "0")
})
})
</script>
</body>
</html>