-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwelcome-email.jsx
More file actions
258 lines (217 loc) · 8.01 KB
/
welcome-email.jsx
File metadata and controls
258 lines (217 loc) · 8.01 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
import { Resend } from "resend";
import fs from "fs";
import path from "path";
import React from "react";
import {
Html,
Head,
Preview,
Body,
Container,
Section,
Text,
Button,
Link,
} from "@react-email/components";
export default function WelcomeEmail({ name }) {
return (
<Html>
<Head />
<Preview>
Welcome to Debugging Disciples, {name}! Let’s grow in faith and tech.
</Preview>
<Body style={main}>
<Container style={container}>
{/* Header */}
<Section style={header}>
<Text style={logo}>Debugging Disciples</Text>
</Section>
{/* Main Card */}
<Section style={card}>
<Text style={greeting}>🎉 Welcome, {name}!</Text>
<Text style={paragraph}>
You’ve officially joined <strong>Debugging Disciples</strong> and
we’re genuinely excited to have you here.
</Text>
<Text style={paragraph}>
This community exists at the intersection of faith, technology,
and purpose. Whether you’re navigating college, your career,
building projects, or growing in your walk with God, you’re not
meant to do it alone.
</Text>
<Text style={sectionTitle}>📖 What We’re Doing Right Now</Text>
<Text style={paragraph}>
We’re currently studying <strong>1 Samuel</strong> together,
walking through David’s story and what it teaches us about
obedience, leadership, and trusting God in every season.
</Text>
<Text style={paragraph}>
We meet Sundays at <strong>5pm EST</strong>. You’re always welcome
to jump in.
</Text>
<Text style={sectionTitle}>💬 Channels You’ll Love</Text>
<Text style={paragraph}>
• <strong>#introductions</strong> – Tell us who you are and what
you’re building
<br />
• <strong>#wins</strong> – Share what God is doing in your life
<br />
• <strong>#faith-circle</strong> – Deeper conversations and
encouragement
<br />
• <strong>#prayer-requests</strong> – Ask for prayer or pray for
others
<br />
• <strong>#career</strong> – Opportunities and info sessions
</Text>
<Text style={sectionTitle}>🤖 Built by Builders, for Builders</Text>
<Text style={paragraph}>
We even have our own internal SlackBot. Try commands like:
<br />
<br />
-pray4me: [request]
<br />
"prayer requests"
<br />
-bible: [Book] [Chapter]:[Verse(s)]
<br />
-explain: [topic]
</Text>
<Text style={sectionTitle}>🚀 Want to Build With Us?</Text>
<Text style={paragraph}>
If you enjoy building meaningful projects, we have an open
community project you can contribute to:
</Text>
<Section style={buttonContainer}>
<a
style={button}
href="https://www.github.com/Debugging-Disciples/PurePath-App"
target="_blank"
>
Contribute to PurePath
</a>
</Section>
<Text style={sectionTitle}>🌍 Stay Connected</Text>
<Text style={paragraph}>
Follow us on LinkedIn to stay updated on community highlights,
career opportunities, and upcoming collaborations.
</Text>
<Section style={buttonContainer}>
<a
href="https://www.linkedin.com/company/debuggingdisciples"
target="_blank"
style={buttonSecondary}
>
Follow Us on LinkedIn
</a>
</Section>
<Text style={paragraph}>
Or explore everything happening in the community:
</Text>
<Section style={buttonContainer}>
<a
href="https://www.debuggingdisciples.org/"
target="_blank"
style={button}
>
Explore Our Community
</a>
</Section>
<Text style={closing}>
We’re really glad you’re here, {name}. Introduce yourself and
let’s grow together in faith and excellence.
</Text>
<Text style={team}>Debugging Disciples Team</Text>
</Section>
{/* Footer */}
<Section style={footer}>
<Text style={footerText}>
© 2026 Debugging Disciples. All rights reserved.
</Text>
</Section>
</Container>
</Body>
</Html>
);
}
/* Styles */
const main = {
backgroundColor: "#f6f9fc",
fontFamily:
'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
padding: "40px 0",
};
const container = {
backgroundColor: "#ffffff",
margin: "0 auto",
padding: "0",
borderRadius: "8px",
maxWidth: "600px",
overflow: "hidden",
};
const header = {
backgroundColor: "#0f172a",
padding: "20px",
textAlign: "center",
};
const logo = {
color: "#ffffff",
fontSize: "20px",
fontWeight: "bold",
};
const card = {
padding: "32px",
};
const greeting = {
fontSize: "22px",
fontWeight: "bold",
marginBottom: "16px",
};
const sectionTitle = {
fontSize: "16px",
fontWeight: "bold",
marginTop: "24px",
marginBottom: "8px",
};
const paragraph = {
fontSize: "14px",
lineHeight: "22px",
color: "#374151",
marginBottom: "16px",
};
const buttonContainer = {
textAlign: "center",
margin: "20px 0",
};
const button = {
backgroundColor: "#2563eb",
color: "#ffffff",
padding: "12px 20px",
borderRadius: "6px",
textDecoration: "none",
fontSize: "14px",
};
const buttonSecondary = {
backgroundColor: "#0a66c2",
color: "#ffffff",
padding: "12px 20px",
borderRadius: "6px",
textDecoration: "none",
fontSize: "14px",
};
const closing = {
marginTop: "24px",
fontSize: "14px",
};
const team = {
marginTop: "8px",
fontWeight: "bold",
};
const footer = {
padding: "20px",
textAlign: "center",
};
const footerText = {
fontSize: "12px",
color: "#9ca3af",
};