-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathverify-email.php
More file actions
70 lines (66 loc) · 2.89 KB
/
verify-email.php
File metadata and controls
70 lines (66 loc) · 2.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verify Email - INFund</title>
<link rel="stylesheet" href="./assets/css/login.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<!-- Left Side - Hero Section -->
<div class="hero-section">
<div class="hero-content">
<h2 class="hero-title">Decentralized crowdfunding for universities</h2>
<img src="./assets/images/static/hero.png" alt="INFund" class="hero-image">
</div>
</div>
<!-- Right Side - Verification Status -->
<div class="form-section">
<div class="form-container">
<div class="logo-container">
<div class="logo-circle">
<img src="./assets/images/static/logo.png" alt="INFund Logo" class="logo">
</div>
</div>
<!-- Loading State (Initially Shown) -->
<div id="loadingState" class="verification-state">
<div class="spinner"></div>
<h2>Verifying your email...</h2>
<p>Please wait while we confirm your email address</p>
</div>
<!-- Success State (Initially Hidden) -->
<div id="successState" class="verification-state hidden">
<div class="success-icon">
<i class="fas fa-check-circle"></i>
</div>
<h2>Email Verified!</h2>
<p>Your email has been successfully verified.</p>
<button onclick="window.location.href='./user/home'" class="submit-button">
Continue to Login
</button>
</div>
<!-- Error State (Initially Hidden) -->
<div id="errorState" class="verification-state hidden">
<div class="error-icon">
<i class="fas fa-exclamation-circle"></i>
</div>
<h2>Verification Failed</h2>
<p>The verification link may have expired or is invalid.</p>
<div class="error-actions">
<button onclick="resendVerification()" class="submit-button outline">
Resend Verification Email
</button>
<a href="index.html" class="back-link">
<i class="fas fa-arrow-left"></i>
Back to Login
</a>
</div>
</div>
</div>
</div>
</div>
<script src="verify-email.js"></script>
</body>
</html>