-
Notifications
You must be signed in to change notification settings - Fork 11
/
signup-thankyou.html
42 lines (40 loc) · 1.88 KB
/
signup-thankyou.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A ficticious robot company website for a Bootstrap and jQuery code-along in class" />
<title>Thank you for signing up!</title>
<!-- google font -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@400;700&display=swap" rel="stylesheet">
<!-- bootstrap css -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<!-- custom -->
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body class="bg-dark text-white">
<main class="container">
<div class="card bg-transparent border-success text-center text-light mt-5 p-3">
<h1 class="card-title">Thanks for signing up!</h1>
<h6 class="card-subtitle mb-2">We sent an email to <a id="email"></a></h6>
<p class="card-text">Please check your inbox to verify your account.</p>
<p class="card-text"><a href="/index.html">← Back to Home</a></p>
</div>
</main>
<!-- bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<!-- custom JS -->
<script>
// get email address out of query params
var params = new URLSearchParams(window.location.search)
var email = params.get('email')
if (email) {
// display in #email anchor tag above
var emailAnchor = document.getElementById('email')
emailAnchor.href = 'mailto:' + email
emailAnchor.innerText = email
}
</script>
</body>
</html>