summary refs log tree commit diff
path: root/assets/email_templates/verify_email.html
blob: dda453014244840c5e047b54d93f3ea05dbfad44 (plain) (blame)
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
<!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" />
		<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
		<title>Verify Email Address for {instanceName}</title>

		<style>
			* {
				font-size: 16px;
				line-height: 24px;
				font-family: Arial, Helvetica, sans-serif;
			}
			p {
				color: white;
			}
			.ExternalClass {
				width: 100%;
			}
		</style>
	</head>
	<body>
		<div style="background-color: #202225;">
			<img
				src="https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/svg/Spacebar__Logo-Blue.svg"
				alt="Branding"
				style="
					width: 100%;
					max-width: 200px;
					margin: 0 auto;
					display: block;
					padding: 20px;
				"
			/>
			<div
				style="
					width: 100%;
					max-width: 500px;
					margin: 0 auto;
					padding: 40px 50px;
					background-color: #32353b;
					border-radius: 5px;
				"
			>
				<p
					style="
						font-weight: 600;
						font-size: 20px;
						letter-spacing: 0.27px;
						line-height: 24px;
					"
				>
					Hey {userUsername},
				</p>
				<p>
					Thanks for registering for an account on {instanceName}!
					Before we get started, we just need to confirm that this is
					you. Click below to verify your email address:
				</p>
				<div>
					<div
						style="
							text-align: center;
							justify-content: center;
							padding-bottom: 10px;
						"
					>
						<a
							class="btn"
							href="{emailVerificationUrl}"
							target="_blank"
							style="
								font-size: 15px;
								border: none;
								border-radius: 3px;
								text-decoration: none;
								color: white;
								cursor: pointer;
								padding: 15px 19px;
								background-color: #ff5f00;
								border-radius: 5px;
							"
							>Verify Email</a
						>
					</div>
					<hr />
					<div style="text-align: center">
						<p>
							Alternatively, you can directly paste this link into
							your browser:
						</p>
						<a href="{emailVerificationUrl}" target="_blank" style="word-wrap: break-word;"
							>{emailVerificationUrl}</a
						>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>