-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·70 lines (59 loc) · 2.13 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>|| suzanne wen ||</title>
<link rel="stylesheet" href="assets/css/app.css">
</head>
<body>
<!-- homepage -->
<body>
<section class="hero" id="heroImg">
<div class="row">
<div class="small-3 columns">
<a href="https://www.linkedin.com/in/suzannewen1" class="icon-button linkedin">
<i class="fi-social-linkedin"></i><span></span>
</a>
<a href="https://www.yelp.com/user_details?userid=UpmNauGZeWK8Lg40317qXw" class="icon-button yelp">
<i class="fi-social-yelp"></i><span></span>
</a>
<a href="https://www.facebook.com/suzanne.wen" class="icon-button facebook">
<i class="fi-social-facebook"></i><span></span>
</a>
</div>
</div>
<div class="row intro">
<div class="small-12 small-centered columns">
<h1>suzanne wen</h1>
</div>
<div class="row nav">
<div class="small-12 small-centered columns">
<a href="blog.html" style="color: white;">PERSONAL BLOG</a> | <a href="assets/components/suzannewen_resume.pdf" style="color: white">RESUME</a>
</div>
</div>
</section>
</body>
<script>
var index = 0;
window.onload = function () {
var imgArray = [
"assets/img/heroSuz.jpg",
"assets/img/muir.jpg",
"assets/img/buffalo.jpg",
"assets/img/SF.jpg"];
setInterval(function () { // rotates through 4 pictures
document.getElementById("heroImg").style.background = "url(" + imgArray[index] + ") no-repeat center center";
document.getElementById("heroImg").style.backgroundSize = "cover";
document.getElementById("heroImg").style.height = "100vh";
index ++;
if (index === 4) {
index = 0;
}
}, 3000)
};
</script>
<script src="assets/js/app.js"></script>
</body>
</html>