-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththank-you.html
More file actions
51 lines (49 loc) · 2.68 KB
/
thank-you.html
File metadata and controls
51 lines (49 loc) · 2.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You - IGNOU Assignments</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
.thankyou-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-color), #1e3a5f); }
.thankyou-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 2.5rem; max-width: 560px; width: 92%; text-align: center; }
.thankyou-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 1rem; }
.thankyou-title { font-weight: 800; color: #2c3e50; margin-bottom: 0.75rem; }
.thankyou-text { color: var(--text-muted); margin-bottom: 1.5rem; }
.thankyou-actions .btn { border-radius: 50px; padding: 12px 24px; font-weight: 600; }
</style>
<script>
// Simple auto-redirect back home after some seconds
document.addEventListener('DOMContentLoaded', function () {
const backLink = document.getElementById('backHome');
let seconds = 8;
const label = document.getElementById('countdown');
const tick = () => {
if (seconds <= 0) { window.location.href = 'index.html#home'; return; }
label.textContent = seconds;
seconds -= 1;
setTimeout(tick, 1000);
};
tick();
backLink.addEventListener('click', function(e){ e.preventDefault(); window.location.href = 'index.html#home'; });
});
</script>
</head>
<body>
<div class="thankyou-container">
<div class="thankyou-card">
<div class="thankyou-icon"><i class="fas fa-check-circle"></i></div>
<h1 class="thankyou-title">Thank You!</h1>
<p class="thankyou-text">We received your query. Our team will contact you shortly.</p>
<div class="thankyou-actions">
<a id="backHome" href="index.html#home" class="btn btn-primary me-2"><i class="fas fa-home me-2"></i>Back to Home</a>
<a href="https://wa.me/919821933855" target="_blank" class="btn btn-success"><i class="fab fa-whatsapp me-2"></i>WhatsApp Us</a>
</div>
<p class="small text-muted mt-3">Redirecting in <span id="countdown">8</span>s...</p>
</div>
</div>
</body>
</html>