forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feedback.html
204 lines (183 loc) · 8.02 KB
/
feedback.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
204
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-pUA-Compatible" content="ie=edge" />
<title>Star Rating</title>
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/remixicon@3.2.0/fonts/remixicon.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style_.css">
<link rel="stylesheet" href="styles.css">
<!-- FontAwsome-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<style>
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(71, 240, 255, 0.3), rgba(0, 119, 255, 0.3));
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
</style>
</head>
<body>
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
<div class="nav-container">
<nav class="newNav">
<a href="index.html" class="nav__logo" data-aos="fade-right">Tourguide<span>.</span></a>
<ul class="navLinks">
<li class="link home" data-aos="fade-down"><a href="./index.html#home" target="_blank">Home</a></li>
<li class="link" data-aos="fade-down"><a href="./index.html#AboutUs" target="_blank">AboutUs</a></li>
<li class="link" data-aos="fade-down"><a href="./index.html#Destinations" target="_blank">Destinations</a></li>
<li class="link" data-aos="fade-down"><a href="./index.html#trip" target="_blank">Pricing</a></li>
<li class="link" data-aos="fade-down"><a href="./index.html#ReviewGallery" target="_blank">Trip Gallery</a></li>
<li class="link" data-aos="fade-down"><a href="./index.html#testimonials" target="_blank">Testimonials</a></li>
<li class="link" data-aos="fade-down"><a href="./index.htmlfeedback.html" target="_blank">Rate Us?</a></li>
<li class="link" data-aos="fade-down"><a href="./index.html#contact" target="_blank">Contact Us</a></li>
</ul>
<a href="newLogin.html" class="contact-btn"><button class="btn" id="btn-style" style="margin: 0;"
data-aos="fade-down">Login/SignUp</button></a>
<div class="toggle-container" data-aos="fade-down">
<input id="themeToggle" class="toggle" type="checkbox">
</div>
<div class="hamburger" data-aos="fade-down">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</nav>
</div>
<div class="sidebyside">
<div class="image">
<!-- <img src="./img/rateus.jpg"></img> -->
</div>
<div class="container">
<div class="glassmorphism-container">
<h1 class="feedback-heading">Rate Our Service</h1><hr>
<!-- <div class="stars" id="stars-container"> -->
<!-- Stars will be added dynamically using JavaScript -->
<!-- </div> -->
<p>How easy was it to navigate through the website?</p>
<div class="rate">
<div class="stars" id="navEase-stars-container"></div>
<p id="navEase-rating-text">Rating: 0</p>
</div><hr>
<p>How much straightforward and easy was the booking process</p>
<div class="rate">
<div class="stars" id="bookingProcess-stars-container"></div>
<p id="bookingProcess-rating-text">Rating: 0</p>
</div><hr>
<p>Did the payment options meet your needs? Were you comfortable with the security measures in place?</p>
<div class="rate">
<div class="stars" id="paymentOptions-stars-container"></div>
<p id="paymentOptions-rating-text">Rating: 0</p>
</div><hr>
<p>How responsive and helpful was the customer support team?</p>
<div class="rate">
<div class="stars" id="customerSupport-stars-container"></div>
<p id="customerSupport-rating-text">Rating: 0</p>
</div><hr>
<p>How much would you recommend this travel website to others?</p>
<div class="rate">
<div class="stars" id="recommendation-stars-container"></div>
<p id="recommendation-rating-text">Rating: 0</p>
</div><hr>
<p>If you've taken a package tour from this website, how was the overall experience?</p>
<div class="rate">
<div class="stars" id="packageTour-stars-container"></div>
<p id="packageTour-rating-text">Rating: 0</p>
</div><hr>
<!-- Feedback input box section -->
<div>
<label for="feedback-input" id="rating-text">Your Feedback:</label>
<br><br>
<textarea id="feedback-input" placeholder="Remember to be nice please!"></textarea>
</div>
<button class="button" onclick="submitFeedback()">Submit</button>
<div><button class="button button2" onclick="location.href = 'index.html';">Return To Home Page</button></div>
</div>
</div>
</div>
<!-- SweetAlert2 -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="feedback.js" defer></script>
</body>
</html>