MCPcopy Index your code
hub / github.com/simstudioai/sim / WelcomeEmail

Function WelcomeEmail

apps/sim/components/emails/auth/welcome-email.tsx:11–51  ·  view source on GitHub ↗
({ userName }: WelcomeEmailProps)

Source from the content-addressed store, hash-verified

9}
10
11export function WelcomeEmail({ userName }: WelcomeEmailProps) {
12 const brand = getBrandConfig()
13 const baseUrl = getBaseUrl()
14
15 return (
16 <EmailLayout preview={`Welcome to ${brand.name}`} showUnsubscribe={false}>
17 <Text style={{ ...baseStyles.paragraph, marginTop: 0 }}>
18 {userName ? `Hey ${userName},` : 'Hey,'}
19 </Text>
20 <Text style={baseStyles.paragraph}>
21 Welcome to {brand.name}! Your account is ready. Start building, testing, and deploying AI
22 workflows in minutes.
23 </Text>
24
25 <Link href={`${baseUrl}/login`} style={{ textDecoration: 'none' }}>
26 <Text style={baseStyles.button}>Get Started</Text>
27 </Link>
28
29 <Text style={baseStyles.paragraph}>
30 If you have any questions or feedback, just reply to this email. I read every message!
31 </Text>
32
33 <Text style={baseStyles.paragraph}>
34 Want to chat?{' '}
35 <Link href={`${baseUrl}/team`} style={baseStyles.link}>
36 Schedule a call
37 </Link>{' '}
38 with our team.
39 </Text>
40
41 <Text style={baseStyles.paragraph}>- Emir, co-founder of {brand.name}</Text>
42
43 {/* Divider */}
44 <div style={baseStyles.divider} />
45
46 <Text style={{ ...baseStyles.footerText, textAlign: 'left' }}>
47 You're on the Community plan with 1,000 credits to get started.
48 </Text>
49 </EmailLayout>
50 )
51}
52
53export default WelcomeEmail

Callers 1

renderWelcomeEmailFunction · 0.90

Calls 2

getBrandConfigFunction · 0.90
getBaseUrlFunction · 0.90

Tested by

no test coverage detected