-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (91 loc) · 4.39 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
<meta name="viewport" content="width=1024">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-->
<meta http-equiv="X-UA-Compatible" content="id=edge" />
<title> Carrying home in digital echoes </title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p> <a name="backtotop"> </a>
<header>
<h1> Carrying <i>home</i> in digital echoes.</h1>
<a href="#animation"> <div class="blob" > click here to begin
</div></a>
</header>
<a name="animation"></a>
<section class="animation">
<h2 class="p1">
Canada now embraces me, but old habits pull me back. </br>
I sink into the comforting glow of my phone, my true home, my digital identity. </br>
Every refresh, a desperate grasp for familiarity. </br>
Why does this digital abyss feel like an escape? <br>
</h2>
<img src="img/me.png" class="me" alt="me">
<img src="img/trees1.png" class="trees1" data-speed="-0.5" alt="trees">
<img src="img/trees2.png" class="trees2" data-speed="0.2" alt="trees">
<img src="img/trees2.png" class="trees3" data-speed="0.4" alt="trees">
<img src="img/trees1.png" class="trees4" data-speed="0.4" alt="trees">
</div>
</div>
</section>
<section class="animation1">
<a name="animation1"></a>
<img src="img/me2.png" class="me2" alt="me">
<h2 class="p2">
Conversations here feel alien.
Old chats and memories offer a familiar comfort.
If I vanished online, would anyone notice?
</br>
</h2>
<img src="img/fish.png" class="fish" data-speed="-0.5" alt="fish">
<img src="img/fish.png" class="fish2" data-speed="-0.5" alt="fish">
<img src="img/mountains-pink.png" class="mountains1" data-speed="-0.5" alt="mountains">
<img src="img/mountains-pink.png" class="mountains2" data-speed="0.2" alt="mountains">
<img src="img/mountains-pink.png" class="mountains3" data-speed="0.4" alt="mountains">
</div>
</div>
</section>
<section class="animation2">
<a name="animation2"></a>
<!-- me -->
<img src="img/me3.png" class="me3" alt="me">
<h2 class="p1">
A balance seems elusive.
My home has traveled here, but it's essence feels altered.
</h2>
<img src="img/floor.png" class="floor" data-speed="-0.5" alt="fish">
<img src="img/plants1.png" class="plants1" data-speed="-0.5" alt="plants">
<img src="img/plants2.png" class="plants2" data-speed="-0.5" alt="plants">
</div>
</div>
</section>
<!-- I learnt that order matters when loading these scripts -->
<!-- scroll magic -->
<!-- TweenMax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenMax.min.js"></script>
<!-- Tweenlite -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TweenLite.min.js" ></script>
<!-- TimelineLite -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TimelineLite.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/plugins/CSSPlugin.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.6/ScrollMagic.min.js"></script>
<!-- to combine gsap and scroll magic together -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.6/plugins/animation.gsap.js" ></script>
<!-- To animate on a path -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/plugins/BezierPlugin.min.js" ></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TimelineMax.min.js" ></script> -->
<script src="app.js"></script>
<!-- to Visualize scrollers -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.6/plugins/debug.addIndicators.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs//gsap/3.3.1/ScrollTrigger.min.js"> </script>
<footer>
<!-- <h1>back to top</h1> -->
<a href="#backtotop"> <div class="blob" > Repeat story</div></a>
</footer>
</body>
</html>