-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathtandc.html
More file actions
286 lines (246 loc) · 7.2 KB
/
tandc.html
File metadata and controls
286 lines (246 loc) · 7.2 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Terms & Conditions | Job Junction</title>
<link rel="stylesheet" href="style.css" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"/>
<style>
:root {
--primary: #4f46e5;
--secondary: #06b6d4;
--bg-light: #ffffff;
--bg-gray: #f8fafc;
--text-primary: #1e293b;
--text-secondary: #64748b;
--shadow: rgba(15, 23, 42, 0.08);
--gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
font-family: "Poppins", sans-serif;
background: var(--bg-gray);
margin: 0;
padding: 0;
color: var(--text-primary);
}
/* Hero Section */
.hero {
background: var(--gradient);
color: white;
text-align: center;
padding: 80px 20px 60px;
border-bottom-left-radius: 40px;
border-bottom-right-radius: 40px;
box-shadow: 0 4px 20px var(--shadow);
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 15px;
}
.hero p {
font-size: 1.1rem;
color: #e0e7ff;
}
/* Cards Section */
.terms-section {
max-width: 900px;
margin: 60px auto;
padding: 0 20px 50px;
display: flex;
flex-direction: column;
gap: 25px;
}
.card {
background: var(--bg-light);
border-radius: 16px;
padding: 25px 25px 25px 80px;
box-shadow: 0 4px 10px var(--shadow);
transition: var(--transition);
position: relative;
border-left: 6px solid var(--primary);
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
}
.card h2 {
font-size: 1.2rem;
color: var(--primary);
margin-bottom: 10px;
}
.card p,
.card li {
color: var(--text-secondary);
font-size: 0.95rem;
line-height: 1.6;
}
.card ul {
margin-left: 20px;
}
.card i {
position: absolute;
left: 20px;
top: 25px;
font-size: 1.8rem;
color: var(--primary);
}
/* Accept Checkbox */
.accept-container {
text-align: center;
margin-top: 40px;
font-size: 0.95rem;
}
.accept-container input[type="checkbox"] {
margin-right: 10px;
width: 18px;
height: 18px;
cursor: pointer;
}
/* Back Button */
.back-btn {
display: block;
width: fit-content;
margin: 20px auto 60px;
padding: 12px 28px;
background: var(--gradient);
color: white;
border: none;
border-radius: 10px;
text-decoration: none;
font-weight: 500;
transition: var(--transition);
}
.back-btn:hover {
transform: translateY(-4px);
opacity: 0.9;
}
/* Disabled button if checkbox not checked */
.back-btn:disabled {
background: #a5b4fc;
cursor: not-allowed;
}
.accept-container {
text-align: center;
margin-top: 40px;
font-size: 0.95rem;
}
/* Custom checkbox label */
.custom-checkbox {
display: inline-flex;
align-items: center; /* Align checkbox and text */
cursor: pointer;
user-select: none;
font-size: 1rem;
gap: 10px; /* space between checkbox and text */
}
/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
display: none;
}
/* Create custom checkmark */
.custom-checkbox .checkmark {
width: 22px;
height: 22px;
background-color: var(--bg-light);
border: 2px solid var(--primary);
border-radius: 6px;
position: relative;
transition: all 0.3s ease;
}
/* Checkmark icon inside */
.custom-checkbox .checkmark::after {
content: "\f00c"; /* Font Awesome check icon */
font-family: "Font Awesome 6 Free";
font-weight: 900;
color: var(--secondary);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
transition: transform 0.2s ease;
font-size: 14px;
}
/* Show checkmark when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
transform: translate(-50%, -50%) scale(1);
}
/* Optional hover effect */
.custom-checkbox:hover .checkmark {
box-shadow: 0 0 6px var(--secondary);
}
</style>
</head>
<body>
<!-- Hero Section -->
<section class="hero">
<h1>Terms & Conditions</h1>
<p>Understand your rights and responsibilities while using <strong>Job Junction</strong>.</p>
</section>
<!-- Cards Section -->
<section class="terms-section">
<div class="card">
<i class="fas fa-file-contract"></i>
<h2>1. Acceptance of Terms</h2>
<p>By creating an account on Job Junction, you agree to follow all the terms and policies outlined here. If you disagree, please refrain from using the platform.</p>
</div>
<div class="card">
<i class="fas fa-user-shield"></i>
<h2>2. User Responsibilities</h2>
<ul>
<li>Provide accurate and complete information during registration.</li>
<li>Keep your password and login credentials secure.</li>
<li>Do not misuse or disrupt the website’s functionality.</li>
</ul>
</div>
<div class="card">
<i class="fas fa-user-secret"></i>
<h2>3. Privacy Policy</h2>
<p>Your personal data will be used for authentication and service improvements only. We value your privacy and will not share your data with third parties without consent.</p>
</div>
<div class="card">
<i class="fas fa-ban"></i>
<h2>4. Account Termination</h2>
<p>Accounts that violate rules, engage in fraudulent activity, or misuse the system may be suspended or permanently removed.</p>
</div>
<div class="card">
<i class="fas fa-copyright"></i>
<h2>5. Content Ownership</h2>
<p>All designs, images, and code belong to the contributors of Job Junction. Reuse or redistribution without permission is not allowed.</p>
</div>
<div class="card">
<i class="fas fa-edit"></i>
<h2>6. Modifications to Terms</h2>
<p>We may update these terms as needed. Continued use of your account means you accept any changes made.</p>
</div>
<div class="card">
<i class="fas fa-envelope"></i>
<h2>7. Contact Us</h2>
<p>Have questions? Reach out to us anytime through our <a href="ContactPage.html" style="color: var(--primary); text-decoration: none;">Contact Page</a>.</p>
</div>
</section>
<!-- Accept Checkbox -->
<div class="accept-container">
<label class="custom-checkbox">
<input type="checkbox" id="acceptTerms">
<span class="checkmark"></span>
I have read and agree to the Terms & Conditions
</label>
</div>
<!-- Back Button -->
<a href="signup.html" id="backBtn" class="back-btn">← Back to Sign Up</a>
<script>
const checkbox = document.getElementById('acceptTerms');
const backBtn = document.getElementById('backBtn');
// Disable button until checkbox checked
backBtn.addEventListener('click', (e) => {
if (!checkbox.checked) {
e.preventDefault();
alert("Please agree to the Terms & Conditions to proceed.");
}
});
</script>
</body>
</html>