-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtnc.html
More file actions
204 lines (188 loc) · 10.3 KB
/
Copy pathtnc.html
File metadata and controls
204 lines (188 loc) · 10.3 KB
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
<!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>Register Here</title>
<link rel="icon" href="./files/logo.png">
<link rel="stylesheet" type="text/css" href="css/style.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=Paytone+One&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/boxicons@latest/css/boxicons.min.css">
</head>
<body class="register-body">
<nav>
<img src="./files/logo.png" class="logo" alt="Logo" title="FirstFlight Travels">
<ul class="navbar">
<li>
<a href="./index.html">Home</a>
<a href="./index.html#locations">Locations</a>
<a href="./index.html#package">Packages</a>
<a href="./about.html">About Us</a>
<a href="./contact.html">Contact Us</a>
</li>
</ul>
<button id="signout-btn" class="signout-btn" style="height: 40px; width: 100px; margin: 20px; color: rgb(21, 74, 74); font-size: 18px;
padding: auto 30px;
border-radius: 4px;
font-weight: 500;
border:none; " onclick={handleSignOut()}>SIGN OUT</button>
</nav>
<section class="registration">
<div class="register-form">
<h2>Terms <span>and </span>Conditions</h2>
<br>
<h5>
<ui>
<li>
1. Acceptance of Terms: By accessing and using the First Flight Travels website, you agree to be
bound by these Terms and Conditions. If you do not agree with any part of these terms, please
refrain from using the website.
</li><br>
<li>
2. Services Offered: First Flight Travels provides an online platform for users to search,
compare, and book flights, hotels, car rentals, and other travel-related services. The website
also offers travel guides, tips, and other information.
</li><br>
<li>
3. User Responsibilities: Users are responsible for providing accurate and up-to-date
information during the booking process. It is the user's responsibility to ensure that they meet
all the necessary requirements for travel, such as valid passports, visas, and health-related
documents.
</li><br>
<li>
4. Booking and Payments: All bookings made through First Flight Travels are subject to
availability. Users must provide valid payment information and authorize the payment for the
booking. Prices displayed on the website are subject to change without notice and may vary based
on factors such as currency exchange rates and availability.
</li><br>
<li>
5. Cancellations and Refunds: Cancellation and refund policies vary depending on the service
provider and the specific booking. Users are advised to review the cancellation and refund
policies of the respective service providers before making a booking. First Flight Travels is
not responsible for any cancellations or refunds.
</li><br>
<li>
6. Intellectual Property: The content, design, and logo of the First Flight Travels website are
protected by copyright and other intellectual property laws. Users are prohibited from copying,
modifying, distributing, or using any content from the website without prior written consent.
</li><br>
<li>
7. Privacy Policy: First Flight Travels respects the privacy of its users. The collection and
use of personal information are governed by the Privacy Policy, which can be found on the
website. By using the website, you consent to the collection and use of your personal
information as outlined in the Privacy Policy.
</li><br>
<li>
8. Limitation of Liability: First Flight Travels strives to provide accurate and up-to-date
information, but does not guarantee the accuracy, completeness, or reliability of any content on
the website. Users agree that First Flight Travels shall not be liable for any direct, indirect,
incidental, consequential, or punitive damages arising out of the use or inability to use the
website.
</li><br>
<li>
9. Third-Party Links: The First Flight Travels website may contain links to third-party websites
or services. These links are provided for convenience and do not imply endorsement or
responsibility for the content, products, or services offered by these third parties. Users
access these links at their own risk.
</li><br>
<li>
10. Modification of Terms: First Flight Travels reserves the right to modify these Terms and
Conditions at any time without prior notice. Users are responsible for regularly reviewing the
terms to stay informed of any changes.
</li><br>
<li>
11. Governing Law: These Terms and Conditions shall be governed by and construed in accordance
with the laws of the jurisdiction in which First Flight Travels operates.
</li><br>
<li>
12. Severability: If any provision of these Terms and Conditions is found to be invalid or
unenforceable, the remaining provisions shall continue to be valid and enforceable to the
fullest extent permitted by law.
</li><br>
<li>
By using the First Flight Travels website, you acknowledge that you have read, understood, and
agreed to these Terms and Conditions.
</li>
</ui>
</h5>
</div>
</section>
<section class="footer">
<div class="foot">
<div class="footer-content">
<div class="footlinks">
<h4>Quick Links</h4>
<ul>
<li><a href="./register.html">Register</a></li>
<li><a href="./about.html">About Us</a></li>
<li><a href="./contact.html">Contact Us</a></li>
</ul>
</div>
<div class="footlinks">
<h4>Connect</h4>
<div class="social">
<a href=""><i class='bx bxl-facebook'></i></a>
<a href="https://www.instagram.com/vivek_.l8" target="_blank"><i
class='bx bxl-instagram'></i></a>
<a href="https://www.linkedin.com/in/vivekparmar1812" target="_blank"><i
class='bx bxl-linkedin'></i></a>
<a href=""><i class='bx bxl-youtube'></i></a>
<a href="https://github.com/VivekParmar-18" target="_blank"><i class='bx bxl-github'></i></a>
<a href=""><i class='bx bxs-map'></i></a>
</div>
</div>
</div>
</div>
<div class="end">
<p>Copyright © 2022 Firstflight Travels All Rights Reserved.<br>Website developed by: Vivek Parmar</p>
</div>
</section>
<!-- Javascript
<script>
const action_url = "https://script.google.com/macros/s/AKfycbxRICVzy-1N2X1LDtLq7NzCW5Ltk2-fh_e9Lb76P8bjFd5YzYWugureOoOhUh8ta19Q/exec";
const formRegister = document.forms["register-user"];
// const proxyUrl = 'https://cors-anywhere.herokuapp.com/'
formRegister.addEventListener("submit", async (e) => {
e.preventDefault();
console.log(new FormData(formRegister));
await fetch(action_url, {
method: "POST",
body: new FormData(formRegister),
}).then((response) => {
console.log(response)
alert(" Booking Done!!", response);
formRegister.reset();
window.location.href="./index.html"
}).catch((error) => {
console.log(error);
alert(error.message);
})
}) -->
<script>
window.onload = function () {
if (localStorage.getItem("login") === "true") {
document.getElementById("signout-btn").style.display = "block";
document.getElementById("signout-btn").textContent = "SIGN OUT";
} else if (localStorage.getItem("login") === "false") {
document.getElementById("signout-btn").style.display = "block"
document.getElementById("signout-btn").textContent = "LOGIN";
}
}
function handleSignOut() {
let text = document.getElementById("signout-btn").textContent;
console.log(text)
if (text === "LOGIN") {
window.location.href = "./login.html"
} else if (text === "SIGN OUT") {
document.getElementById("signout-btn").textContent = "LOGIN";
localStorage.setItem("login", false);
}
}
</script>
</body>
</html>