-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·203 lines (195 loc) · 6.65 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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html 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>Ultimate Animation</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<nav>
<a href="./index.html" class="logo">iPhone 13 Pro</a>
<div class="nav-links">
<a href="#">Overview</a>
<a href="#">Switching to iPhone</a>
<a href="#">Tech Specs</a>
<button class="buy-button">Buy</button>
</div>
</nav>
<section class="first-page">
<div class="first-page-text">
<h1 class="first-page-title">iPhone 13 Pro</h1>
<h2 class="first-page-subtitle">Oh. So. Pro</h2>
</div>
<!-- Add front page video -->
<video
class="intro-video"
autoplay
muted
src="./images/intro-animation.mov"
></video>
</section>
<!-- 2nd Page -->
<section class="second-page">
<video
class="smoke-video"
src="./images/smoke-video.mp4"
autoplay
muted
loop
></video>
<div class="second-text">
<p class="text-container">
<span class="highlight"
>A dramatically more powerfull camera system.</span
>
<span class="highlight"
>A display so responsive, every interaction feels new again.</span
>
<span class="highlight">The world's fastes smartphone chip.</span>
<span class="highlight">Exceptional durability.</span>
<span class="highlight">And a huge leap in battery life.</span>
<br />
<br />
<span class="highlight"> Let's Pro </span>
</p>
</div>
</section>
<!-- 3rd Page -->
<section class="third-page">
<div class="product-text-container">
<div class="product-text-left">
<p class="phone-title">iPhone 13 Pro Max</p>
<p class="phone-size prosize">6.7"</p>
</div>
<div class="product-text-right">
<p class="phone-title">iPhone 13 Max</p>
<p class="phone-size prosize">6.1"</p>
</div>
</div>
<div class="product-images">
<img src="./images/large-phone.png" class="large-phone" alt="" />
<img src="./images/small-phone.png" class="small-phone" alt="" />
</div>
<p class="retina-line">Super Retina XDR display with ProMotion</p>
</section>
<!-- 4th Page Silde -->
<section class="forth-page">
<div class="purchase-left">
<div class="phone-gallery">
<div class="phone-gallery-container blue-cont">
<img class="blue-back" src="./images/blue-iphone-back.png" alt="" />
</div>
<div class="phone-gallery-container blue-cont">
<img
class="silver-back"
src="./images/silver-iphone-back.png"
alt=""
/>
</div>
<div class="phone-gallery-container blue-cont">
<img class="gold-back" src="./images/gold-iphone-back.png" alt="" />
</div>
<div class="phone-gallery-container blue-cont">
<img
class="graphite-back"
src="./images/graphite-iphone-back.png"
alt=""
/>
</div>
</div>
<div class="swatch-container">
<div class="swatches">
<img src="./images/swatch-blue.svg" swatch="blue" alt="" />
<img src="./images/swatch-silver.svg" swatch="silver" alt="" />
<img src="./images/swatch-gold.svg" swatch="gold" alt="" />
<img src="./images/swatch-graphite.svg" swatch="graphite" alt="" />
</div>
<p>
<span>Sierra Blue</span>, <span>Silver</span>, <span>Gold</span>,
<span>Graphite</span>
</p>
</div>
</div>
<div class="purchase-right">
<img src="./images/blue-closeup.png" class="blue phone" alt="" />
<img src="./images/silver-closeup.png" class="silver phone" alt="" />
<img src="./images/gold-closeup.png" class="gold phone" alt="" />
<img
src="./images/graphite-closeup.png"
class="graphite phone"
alt=""
/>
</div>
</section>
<!-- Fift Page Video Scroll -->
<section class="fifth-page">
<video
class="product-video"
src="./images/output-2.mp4"
muted
></video>
<div class="product-info-container">
<div class="left-info">
<h3>
up to <br />
<span>25% brighter outdoors</span><br />for content that looks even
more vivid in sunlight
</h3>
<h3>
<span>Even more display area</span><br />
Thanks to smaller camera system
</h3>
</div>
<div class="right-info">
<h3>
<span>Custom OLED technology </span><br />
pushes the display's incredible resolution and color right to the
edge
</h3>
<h3>
up to
<span>1200 nits</span> peak brightness for your HDR photos and
videos
</h3>
</div>
</div>
</section>
<section class="sixth-page">
<div class="photo-description">
<h3 class="photo-title">
Customize <br />
your camera to
</h3>
<h4 class="photo-subtitle">lock in your look.</h4>
</div>
<div class="portrait-container">
<img src="./images/portrait.jpg" class="portrait" alt="">
</div>
<div class="phone-video">
<img src="./images/iphone-frame.png" alt="">
<video src="./images//iphone-camera-video.mp4" autoplay muted loop></video>
</div>
</section>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.8.0/gsap.min.js"
integrity="sha512-eP6ippJojIKXKO8EPLtsUMS+/sAGHGo1UN/38swqZa1ypfcD4I0V/ac5G3VzaHfDaklFmQLEs51lhkkVaqg60Q=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.8.0/ScrollTrigger.min.js"
integrity="sha512-CPA5LMoJI/a5HkSIAKcBtFXe4gqGjPUL2ExF/3PmhrrHI17wod9xOqqF+0WZQRKIIq0KwF8oG5BaiWobtrke3A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="./app.js"></script>
</body>
</html>