-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
158 lines (121 loc) · 7.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
integrity="sha384-b6lVK+yci+bfDmaY1u0zE8YYJt0TZxLEAFyYSLHId4xoVvsrQu3INevFKo+Xir8e" crossorigin="anonymous">
<title>McLAREN | Sports Car Website Landing page</title>
</head>
<body>
<!-- Header -->
<header>
<!--<span class="year">2018-2023</span>-->
<a href="/" class="logo"><img src="./images/logo (1).png" alt="logo" /></a>
<a href="#" class="menu" onclick="toggleMenu();"></a>
</header>
<!-- Navigation -->
<div class="banner">
<ul class="nav">
<li><a href="#">Supercars</a></li>
<li><a href="#">GT</a></li>
<li><a href="#">Ultimate</a></li>
<li><a href="#">Solus GT</a></li>
<li><a href="#">Legacy</a></li>
</ul>
<div class="bg-video-list">
<video class="bg-video mclaren-1 active" src="./assets/mclaren-1.mp4" autoplay loop muted></video>
<video class="bg-video mclaren-2 " src="./assets/mclaren-2.mp4" autoplay loop muted></video>
<video class="bg-video mclaren-3 " src="./assets/mclaren-3.mp4" autoplay loop muted></video>
<video class="bg-video mclaren-4 " src="./assets/mclaren-4.mp4" autoplay loop muted></video>
<video class="bg-video mclaren-5 " src="./assets/mclaren-5.mp4" autoplay loop muted></video>
</div>
<div class="content">
<h1>McLAREN</h1>
<h3 class="model mclaren-1 active">765LT SPIDER</h3>
<h3 class="model mclaren-2 " style="color: #92ff00;">ARTURA</h3>
<h3 class="model mclaren-3 " style="color: #ff0015;">750S</h3>
<h3 class="model mclaren-4 " style="color: #ff2e00;">765LT </h3>
<h3 class="model mclaren-5 " style="color: #bbc0dd;">760S SPIDER</h3>
<p>
Sculpting dreams into aerodynamic masterpieces, McLaren's roaring engines and sleek designs redefine the limits of speed. With a legacy that races through time, each car is a symphony of power and precision, a testament to pushing boundaries and igniting the thrill of the open road.
</p>
<a href="#">Enquire</a>
</div>
<div class="screen">
<div class="shadow"></div>
<div>
<span style="--i: 0">
<!-- Insert the screen video-->
<!-- Video data mapping -->
<!-- Match the video name with the class name -->
<video class="trailer mclaren-1 screen-video active" src="./assets/mclaren-1.mp4" autoplay loop muted></video>
<video class="trailer mclaren-2 screen-video " src="./assets/mclaren-2.mp4" autoplay loop muted></video>
<video class="trailer mclaren-3 screen-video " src="./assets/mclaren-3.mp4" autoplay loop muted></video>
<video class="trailer mclaren-4 screen-video " src="./assets/mclaren-4.mp4" autoplay loop muted></video>
<video class="trailer mclaren-5 screen-video " src="./assets/mclaren-5.mp4" autoplay loop muted></video>
</span>
<span style="--i: 1">
<video src="./assets/trailer-1.mp4" class="screen-video" autoplay loop muted></video>
</span>
<span style="--i: 2">
<video src="./assets/trailer-2.mp4" class="screen-video" autoplay loop muted></video>
</span>
<span style="--i: 3">
<video src="./assets/trailer-3.mp4" class="screen-video" autoplay loop muted></video>
</span>
</div>
</div>
<!-- Gallery Section -->
<div class="gallery">
<div class="carousel">
<a class="carousel-item" href="#" onclick="changeVideo('mclaren-1');">
<img src="./images/cars/mclaren-1.jpg" alt="" />
<h4 >765LT SPIDER</h4>
</a>
<a class="carousel-item" href="#" onclick="changeVideo('mclaren-2');">
<img src="./images/cars/mclaren-2.jpg" alt="" />
<h4 style="color: #92ff00;">ARTURA</h4>
</a>
<a class="carousel-item" href="#" onclick="changeVideo('mclaren-3');">
<img src="./images/cars/mclaren-3.jpeg" alt="" />
<h4 style="color: #ff0015;">750S</h4>
</a>
<a class="carousel-item" href="#" onclick="changeVideo('mclaren-4');">
<img src="./images/cars/mclaren-4.jpeg" alt="" />
<h4 style="color: #ff2e00;">765LT</h4>
</a>
<a class="carousel-item" href="#" onclick="changeVideo('mclaren-5');">
<img src="./images/cars/mclaren-5.jpeg" alt="" />
<h4 style="color: #bbc0dd;">750S SPIDER</h4>
</a>
</div>
</div>
</div>
<ul class="sci">
<li><a href="#"><i class="bi bi-facebook"></i></a></li>
<li><a href="#"><i class="bi bi-instagram"></i></a></li>
<li><a href="#"><i class="bi bi-youtube"></i></a></li>
</ul>
<script src="https://code.jquery.com/jquery-3.7.0.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="./script.js"></script>
<script type="text/javascript">
var jq = jQuery.noConflict();
jq(document).ready(function(){
jq('.carousel').carousel();
});
</script>
<footer id="footer">
<div class="footer-logo text-center"><img src="./images/logo (1).png" alt=""></div>
<div class="credite text-center">
Designed By <a href="https://github.com/sonadukane18" target="_blank">@SonaDukane18</a>
</div>
<div class="copyright text-center">
© Copyright <strong><span>McLAREN | Sports Car Website Landing page</span></strong>. All Rights Reserved
</div>
</footer>
</body>
</html>