-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
124 lines (111 loc) · 4.36 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
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Questrial" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet">
<link href = "about.css" rel = "stylesheet">
<link href = "navigation.css" rel = "stylesheet">
</head>
<body>
<div class = "nav-bar">
<div class = "logo">Azure Sky</div>
<div class = "menu-container">
<div class = "menu" onclick = "pageTransition()">
<div class = "l1"></div>
<div class = "l2"></div>
<div class = "l3"></div>
</div>
</div>
</div>
<div class = "box-1">
<div class = "hero-container">
<div class = "hero-paragraph">
We are a passionately curated international team united
by the same intention — to create remarkably beautiful
things that make an impact, shape culture and connect people.
</div>
<div class = "image-container">
<!-- <img src = "images/dallas-skyline.jpg"> -->
<div class = "alpha">
<div class = "image">
<img src = "images/dallas-skyline.jpg">
</div>
<div class = "image">
<img src = "images/dallas-skyline.jpg">
</div>
<div class = "image">
<img src = "images/dallas-skyline.jpg">
</div>
<!-- <div class = "words">
to create remarkably beautiful
things that make an impact, shape culture a
</div> -->
</div>
<!-- <img src = "images/dallas-skyline.jpg"> -->
<div class = "sitcky-area"></div>
</div>
</div>
</div>
<div class = "box-2">
<div class = "who">
Based in Dallas, Texas
</div>
</div>
<div class = "box-3">
<div class = "more-words">
to create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture ato create remarkably beautiful
things that make an impact, shape culture a
</div>
<div class = "work-link">
<a href = "work.html">view our work→</a>
</div>
</div>
<!-- <div class = "box-4">
</div>
<div class = "box-5">
</div> -->
<script>
function pageTransition() {
document.body.style.opacity = "0";
setTimeout(function() {
window.location.href = 'index.html';
}, 500);
}
document.addEventListener("scroll", function() {
var y = window.pageYOffset;
var transformNum = y - screen.height;
var transformNumLeft = y;
var lineHeight = 60 + y / 10;
var opacityNum = 1 - y / 400;
if (transformNum >= 0) {
document.querySelector(".alpha").style.transform = "translateX(-" + transformNum + "px)";
}
else {
document.querySelector(".alpha").style.transform = "translateX(0px)";
}
document.querySelector(".who").style.transform = "translateX(" + transformNumLeft + "px)";
console.log(lineHeight);
document.querySelector('.hero-paragraph').style.lineHeight = lineHeight + "px";
document.querySelector('.hero-paragraph').style.opacity = opacityNum;
});
</script>
</body>
</html>