-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (98 loc) · 4.21 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
<!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>Traventure</title>
<link rel="stylesheet" href="./src/styles/styles.css">
</head>
<body>
<section id="hero">
<img class="hero" src="./src/assets/hero-bg.jpg" alt="">
<div class="navbar">
<div class="logo">
<img id="logo" src="./src/assets/TraVenture.svg" alt="Logo of Traventure">
</div>
<div id="nav" class="nav">
<ul>
<li>Search</li>
<li>Menu</li>
</ul>
</div>
</div>
<div id="headline" class="headline">
<h1>peace of <span class="italic">mind</span></h1>
</div>
</section>
<section id="data">
<div class="data_general content-1">
<div class="side lorem lorem-left-1">
<div class="text">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it
read more.
<span class="btn">
read more
</span>
</p>
</div>
</div>
<div class="img lorem lorem-right-1">
<img src="./src/assets/first.jpg" alt="Photo of an old car in snow">
</div>
</div>
<div class="data_general data_2">
<div class="side lorem-right-2">
<div class="text">
<h3>Lorem Ipsum</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it
read more.
</p>
</div>
</div>
<div class="img lorem-left-2">
<img src="./src/assets/second.jpg" alt="Photo of an old car in snow">
</div>
</div>
<div class="data_general">
<div class="side lorem-left-3">
<div class="text">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it
read more.
<span class="btn">
read more
</span>
</p>
</div>
</div>
<div class="img lorem-right-3">
<img src="./src/assets/third.jpg" alt="Photo of an old car in snow">
</div>
</div>
</section>
<section id="popup">
<div class="info">
<h2>Traventure</h2>
<p>A HTML template with full page animation. I used SCSS for
styling and Gsap for animations. <br>
In the #hero section the .navbar and .headline fade-in and on scroll the #hero
background image scale up and also the .nvarbar is fixed that changes the color when it's necessary. <br>
In the #data section on scroll the contents of section fade-in from both righ & left sides and fade-out when it's not the main element.
</p>
<span>Inspired by: <a href="https://singita.com/"> Singita</a></span>
<div class="close-icon">
<span class="close">Close</span>
</div>
</div>
</section>
<div class="info-icon">
<h5 class="info-title">Info</h5>
</div>
<footer>
All rights reserved © 2022 Traventure
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.2/ScrollTrigger.min.js"></script>
<script src="./src/script.js"></script>
</body>
</html>