-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (81 loc) · 3.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Platja d'Aro</title>
<link rel="stylesheet" href="assets/css/styles.css">
<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=Mukta:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<!-- Slick Carousel CSS -->
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/slick-carousel/slick/slick.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/slick-carousel/slick/slick-theme.css"/>
</head>
<body>
<header>
<div class="logo">
<img src="images/logo-ever.png" alt="Logo">
</div>
</header>
<section class="hero">
<div class="video-container">
<video autoplay muted loop class="hero-video">
<source src="images/169441-841382808_small.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="video-overlay"></div>
</div>
<div class="hero-content">
<h2>Bienvenue à</h2>
<h1>PLATJA D'ARO</h1>
<a href="loading.html" class="cta-button" id="cta-button">Explorez la ville</a>
</div>
<div class="carousel">
<div class="slides">
<div class="card">
<img src="images/carousel/1.png" alt="Image 1">
<div class="card-content">
<h5>GOLF</h5>
</div>
</div>
<div class="card">
<img src="images/carousel/2.png" alt="Image 2">
<div class="card-content">
<h5>NATURE</h5>
</div>
</div>
<div class="card">
<img src="images/carousel/3.png" alt="Image 3">
<div class="card-content">
<h5>PLAGE</h5>
</div>
</div>
<div class="card">
<img src="images/carousel/4.png" alt="Image 4">
<div class="card-content">
<h5>FOOD</h5>
</div>
</div>
<div class="card">
<img src="images/carousel/5.png" alt="Image 5">
<div class="card-content">
<h5>FOOT</h5>
</div>
</div>
</div>
</div>
</section>
<!-- jQuery, Popper.js, and Slick Carousel JS -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/slick-carousel/slick/slick.min.js"></script>
<script src="js/script.js"></script>
<script>
document.addEventListener('mousemove', function(e) {
const kite = document.querySelector('.kite');
kite.style.transform = `translate(${e.clientX - 50}px, ${e.clientY - 50}px)`;
});
</script>
</body>
</html>