@@ -15,155 +15,158 @@ import { Footer } from "../components/footer";
15
15
import { Logo } from "../components/logo" ;
16
16
17
17
interface WelcomeEmailProps {
18
- userFirstname : string ;
18
+ userFirstname ? : string ;
19
19
}
20
20
21
- export const WelcomeEmail = ( { userFirstname } : WelcomeEmailProps ) => (
22
- < Html >
23
- < Head >
24
- < Font
25
- fontFamily = "Geist"
26
- fallbackFontFamily = "Helvetica"
27
- webFont = { {
28
- url : "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap" ,
29
- format : "woff2" ,
30
- } }
31
- fontWeight = { 400 }
32
- fontStyle = "normal"
33
- />
34
- </ Head >
35
- < Preview >
36
- Welcome to Tech Companies Portugal - Discover your next career
37
- opportunity!
38
- </ Preview >
39
- < Tailwind >
40
- < Body className = "bg-slate-50" >
41
- < Container className = "flex flex-col max-w-[600px] mx-auto p-4" >
42
- { /* Header Section */ }
43
- < Section
44
- className = "bg-white border-2 border-slate-200 rounded-none p-4 mb-5"
45
- style = { {
46
- border : "2px solid #e2e8f0" ,
47
- backgroundColor : "#ffffff" ,
48
- borderBottom : "5px solid #f1f5f9" ,
49
- borderRight : "5px solid #f1f5f9" ,
50
- padding : "16px" ,
51
- marginBottom : "20px" ,
52
- } }
53
- >
54
- < Logo />
21
+ export default function WelcomeEmail ( {
22
+ userFirstname = "there" ,
23
+ } : WelcomeEmailProps ) {
24
+ return (
25
+ < Html >
26
+ < Head >
27
+ < Font
28
+ fontFamily = "Geist"
29
+ fallbackFontFamily = "Helvetica"
30
+ webFont = { {
31
+ url : "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap" ,
32
+ format : "woff2" ,
33
+ } }
34
+ fontWeight = { 400 }
35
+ fontStyle = "normal"
36
+ />
37
+ </ Head >
38
+ < Preview >
39
+ Welcome to Tech Companies Portugal - Discover your next career
40
+ opportunity!
41
+ </ Preview >
42
+ < Tailwind >
43
+ < Body className = "bg-slate-50" >
44
+ < Container className = "flex flex-col max-w-[600px] mx-auto p-4" >
45
+ { /* Header Section */ }
46
+ < Section
47
+ className = "bg-white border-2 border-slate-200 rounded-none p-4 mb-5"
48
+ style = { {
49
+ border : "2px solid #e2e8f0" ,
50
+ backgroundColor : "#ffffff" ,
51
+ borderBottom : "5px solid #f1f5f9" ,
52
+ borderRight : "5px solid #f1f5f9" ,
53
+ padding : "16px" ,
54
+ marginBottom : "20px" ,
55
+ } }
56
+ >
57
+ < Logo />
55
58
56
- < Heading className = "text-3xl font-bold text-gray-800 text-center mt-4 mb-4 leading-tight" >
57
- Welcome to Tech Companies Portugal! 🇵🇹
58
- </ Heading >
59
+ < Heading className = "text-3xl font-bold text-gray-800 text-center mt-4 mb-4 leading-tight" >
60
+ Welcome to Tech Companies Portugal! 🇵🇹
61
+ </ Heading >
59
62
60
- < Text className = "text-lg text-gray-600 text-center leading-relaxed" >
61
- Hi { userFirstname } , thanks for joining the community 🎉
62
- </ Text >
63
- </ Section >
63
+ < Text className = "text-lg text-gray-600 text-center leading-relaxed" >
64
+ Hi { userFirstname } , thanks for joining the community 🎉
65
+ </ Text >
66
+ </ Section >
64
67
65
- { /* Main Content */ }
66
- < Section
67
- className = "bg-orange-100 border-2 border-orange-200 rounded-none p-4 mb-5"
68
- style = { {
69
- border : "2px solid #fed7aa" ,
70
- backgroundColor : "#ffedd5" ,
71
- borderBottom : "5px solid #fed7aa" ,
72
- borderRight : "5px solid #fed7aa" ,
73
- padding : "16px" ,
74
- marginBottom : "20px" ,
75
- } }
76
- >
77
- < Text className = "text-base text-gray-700 leading-relaxed mb-6" >
78
- 🚀 < strong > Ready to start exploring?</ strong >
79
- </ Text >
68
+ { /* Main Content */ }
69
+ < Section
70
+ className = "bg-orange-100 border-2 border-orange-200 rounded-none p-4 mb-5"
71
+ style = { {
72
+ border : "2px solid #fed7aa" ,
73
+ backgroundColor : "#ffedd5" ,
74
+ borderBottom : "5px solid #fed7aa" ,
75
+ borderRight : "5px solid #fed7aa" ,
76
+ padding : "16px" ,
77
+ marginBottom : "20px" ,
78
+ } }
79
+ >
80
+ < Text className = "text-base text-gray-700 leading-relaxed mb-6" >
81
+ 🚀 < strong > Ready to start exploring?</ strong >
82
+ </ Text >
80
83
81
- < Text className = "text-sm text-gray-600 leading-relaxed mb-3 pl-5" >
82
- • Explore < strong > 300+</ strong > tech companies across Portugal
83
- </ Text >
84
+ < Text className = "text-sm text-gray-600 leading-relaxed mb-3 pl-5" >
85
+ • Explore < strong > 300+</ strong > tech companies across Portugal
86
+ </ Text >
84
87
85
- < Text className = "text-sm text-gray-600 leading-relaxed mb-3 pl-5" >
86
- • Filter by location, category and more!
87
- </ Text >
88
+ < Text className = "text-sm text-gray-600 leading-relaxed mb-3 pl-5" >
89
+ • Filter by location, category and more!
90
+ </ Text >
88
91
89
- < Text className = "text-sm text-gray-600 leading-relaxed pl-5" >
90
- • Reveive notifications when new companies are added (coming soon)
91
- </ Text >
92
+ < Text className = "text-sm text-gray-600 leading-relaxed pl-5" >
93
+ • Reveive notifications when new companies are added (coming
94
+ soon)
95
+ </ Text >
92
96
93
- < Section className = "text-center py-4" >
94
- < Button
95
- href = "https://techcompaniesportugal.fyi"
96
- className = "bg-white text-slate-900 text-base font-semibold no-underline py-3.5 px-7 rounded-none border-2 border-slate-900 inline-block"
97
- style = { {
98
- backgroundColor : "#ffffff" ,
99
- color : "#0f172a" ,
100
- textDecoration : "none" ,
101
- fontSize : "16px" ,
102
- fontWeight : "600" ,
103
- padding : "14px 28px" ,
104
- border : "2px solid #0f172a" ,
105
- borderBottom : "5px solid #0f172a" ,
106
- borderRight : "5px solid #0f172a" ,
107
- display : "inline-block" ,
108
- } }
109
- >
110
- Explore Companies Now →
111
- </ Button >
97
+ < Section className = "text-center py-4" >
98
+ < Button
99
+ href = "https://techcompaniesportugal.fyi"
100
+ className = "bg-white text-slate-900 text-base font-semibold no-underline py-3.5 px-7 rounded-none border-2 border-slate-900 inline-block"
101
+ style = { {
102
+ backgroundColor : "#ffffff" ,
103
+ color : "#0f172a" ,
104
+ textDecoration : "none" ,
105
+ fontSize : "16px" ,
106
+ fontWeight : "600" ,
107
+ padding : "14px 28px" ,
108
+ border : "2px solid #0f172a" ,
109
+ borderBottom : "5px solid #0f172a" ,
110
+ borderRight : "5px solid #0f172a" ,
111
+ display : "inline-block" ,
112
+ } }
113
+ >
114
+ Explore Companies Now →
115
+ </ Button >
116
+ </ Section >
112
117
</ Section >
113
- </ Section >
114
118
115
- { /* Features Section */ }
116
- < Section
117
- className = "bg-white border-2 border-slate-200 rounded-none p-4 mb-5"
118
- style = { {
119
- border : "2px solid #e2e8f0" ,
120
- backgroundColor : "#ffffff" ,
121
- borderBottom : "5px solid #f1f5f9" ,
122
- borderRight : "5px solid #f1f5f9" ,
123
- padding : "16px" ,
124
- marginBottom : "20px" ,
125
- } }
126
- >
127
- < Heading className = "text-xl font-semibold text-gray-800 mb-5" >
128
- Open source 💙
129
- </ Heading >
119
+ { /* Features Section */ }
120
+ < Section
121
+ className = "bg-white border-2 border-slate-200 rounded-none p-4 mb-5"
122
+ style = { {
123
+ border : "2px solid #e2e8f0" ,
124
+ backgroundColor : "#ffffff" ,
125
+ borderBottom : "5px solid #f1f5f9" ,
126
+ borderRight : "5px solid #f1f5f9" ,
127
+ padding : "16px" ,
128
+ marginBottom : "20px" ,
129
+ } }
130
+ >
131
+ < Heading className = "text-xl font-semibold text-gray-800 mb-5" >
132
+ Open source 💙
133
+ </ Heading >
130
134
131
- < Text className = "text-sm text-gray-600 leading-relaxed mb-4" >
132
- 🌐 < strong > Open Source Platform:</ strong > Our web application is
133
- completely open source and transparent:{ " " }
134
- < a
135
- href = "https://github.com/alexmarqs/frontend-tech-companies-portugal"
136
- target = "_blank"
137
- rel = "noreferrer"
138
- >
139
- tech-companies-portugal-app
140
- </ a >
141
- </ Text >
135
+ < Text className = "text-sm text-gray-600 leading-relaxed mb-4" >
136
+ 🌐 < strong > Open Source Platform:</ strong > Our web application is
137
+ completely open source and transparent:{ " " }
138
+ < a
139
+ href = "https://github.com/alexmarqs/frontend-tech-companies-portugal"
140
+ target = "_blank"
141
+ rel = "noreferrer"
142
+ >
143
+ tech-companies-portugal-app
144
+ </ a >
145
+ </ Text >
142
146
143
- < Text className = "text-sm text-gray-600 leading-relaxed mb-4" >
144
- 🤝 < strong > Community Powered Data:</ strong > We source our company
145
- data from the amazing open source repository maintained by the
146
- Portuguese tech community, keeping it always fresh through their
147
- contributions:{ " " }
148
- < a
149
- href = "https://github.com/marmelo/tech-companies-in-portugal"
150
- target = "_blank"
151
- rel = "noreferrer"
152
- >
153
- tech-companies-in-portugal
154
- </ a >
155
- </ Text >
156
- </ Section >
147
+ < Text className = "text-sm text-gray-600 leading-relaxed mb-4" >
148
+ 🤝 < strong > Community Powered Data:</ strong > We source our
149
+ company data from the amazing open source repository maintained
150
+ by the Portuguese tech community, keeping it always fresh
151
+ through their contributions:{ " " }
152
+ < a
153
+ href = "https://github.com/marmelo/tech-companies-in-portugal"
154
+ target = "_blank"
155
+ rel = "noreferrer"
156
+ >
157
+ tech-companies-in-portugal
158
+ </ a >
159
+ </ Text >
160
+ </ Section >
157
161
158
- < Footer />
159
- </ Container >
160
- </ Body >
161
- </ Tailwind >
162
- </ Html >
163
- ) ;
162
+ < Footer />
163
+ </ Container >
164
+ </ Body >
165
+ </ Tailwind >
166
+ </ Html >
167
+ ) ;
168
+ }
164
169
165
170
WelcomeEmail . PreviewProps = {
166
171
userFirstname : "Alex" ,
167
172
} as WelcomeEmailProps ;
168
-
169
- export default WelcomeEmail ;
0 commit comments