habulaj commited on
Commit
7f6e7be
·
verified ·
1 Parent(s): 4c76272

Update routes/emails.py

Browse files
Files changed (1) hide show
  1. routes/emails.py +4 -112
routes/emails.py CHANGED
@@ -83,8 +83,9 @@ def generate_email_html(email_type: str, to: str) -> str:
83
 
84
  .hero-image {
85
  width: 100%;
86
- max-width: 400px;
87
- height: auto;
 
88
  margin: 0 auto 50px;
89
  border-radius: 20px;
90
  box-shadow: 0 20px 40px rgba(107, 70, 193, 0.1);
@@ -130,51 +131,6 @@ def generate_email_html(email_type: str, to: str) -> str:
130
  box-shadow: 0 12px 32px rgba(107, 70, 193, 0.4);
131
  }
132
 
133
- .features {
134
- padding: 0 40px 60px;
135
- }
136
-
137
- .feature-grid {
138
- display: grid;
139
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
140
- gap: 40px;
141
- margin-top: 50px;
142
- }
143
-
144
- .feature-item {
145
- text-align: center;
146
- padding: 30px 20px;
147
- border-radius: 16px;
148
- background-color: #fafafa;
149
- border: 1px solid #f5f5f7;
150
- }
151
-
152
- .feature-icon {
153
- width: 60px;
154
- height: 60px;
155
- background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
156
- border-radius: 50%;
157
- margin: 0 auto 24px;
158
- display: flex;
159
- align-items: center;
160
- justify-content: center;
161
- font-size: 24px;
162
- color: white;
163
- }
164
-
165
- .feature-title {
166
- font-size: 20px;
167
- font-weight: 600;
168
- color: #1d1d1f;
169
- margin-bottom: 12px;
170
- }
171
-
172
- .feature-description {
173
- font-size: 16px;
174
- color: #6e6e73;
175
- line-height: 1.5;
176
- }
177
-
178
  .footer {
179
  text-align: center;
180
  padding: 40px;
@@ -188,31 +144,6 @@ def generate_email_html(email_type: str, to: str) -> str:
188
  margin-bottom: 16px;
189
  }
190
 
191
- .social-links {
192
- display: flex;
193
- justify-content: center;
194
- gap: 24px;
195
- margin-top: 20px;
196
- }
197
-
198
- .social-link {
199
- display: inline-block;
200
- width: 40px;
201
- height: 40px;
202
- background-color: #6b46c1;
203
- border-radius: 50%;
204
- color: white;
205
- text-decoration: none;
206
- line-height: 40px;
207
- font-size: 18px;
208
- transition: all 0.3s ease;
209
- }
210
-
211
- .social-link:hover {
212
- background-color: #553c9a;
213
- transform: translateY(-2px);
214
- }
215
-
216
  @media (max-width: 480px) {
217
  .header {
218
  padding: 40px 20px 20px;
@@ -230,15 +161,6 @@ def generate_email_html(email_type: str, to: str) -> str:
230
  font-size: 18px;
231
  }
232
 
233
- .features {
234
- padding: 0 20px 40px;
235
- }
236
-
237
- .feature-grid {
238
- grid-template-columns: 1fr;
239
- gap: 30px;
240
- }
241
-
242
  .footer {
243
  padding: 30px 20px;
244
  }
@@ -265,29 +187,6 @@ def generate_email_html(email_type: str, to: str) -> str:
265
  <a href="#" class="cta-button">Start Your Style Quiz</a>
266
  </div>
267
 
268
- <!-- Features -->
269
- <div class="features">
270
- <div class="feature-grid">
271
- <div class="feature-item">
272
- <div class="feature-icon">✨</div>
273
- <h3 class="feature-title">Personal Styling</h3>
274
- <p class="feature-description">Get matched with expert stylists who curate looks just for you</p>
275
- </div>
276
-
277
- <div class="feature-item">
278
- <div class="feature-icon">👗</div>
279
- <h3 class="feature-title">Wardrobe Refresh</h3>
280
- <p class="feature-description">Discover new ways to style pieces you already own</p>
281
- </div>
282
-
283
- <div class="feature-item">
284
- <div class="feature-icon">💜</div>
285
- <h3 class="feature-title">Confidence Boost</h3>
286
- <p class="feature-description">Feel amazing in clothes that truly reflect who you are</p>
287
- </div>
288
- </div>
289
- </div>
290
-
291
  <!-- Footer -->
292
  <div class="footer">
293
  <p class="footer-text">
@@ -295,15 +194,8 @@ def generate_email_html(email_type: str, to: str) -> str:
295
  Ready to transform your style? Let's get started!
296
  </p>
297
 
298
- <div class="social-links">
299
- <a href="#" class="social-link">f</a>
300
- <a href="#" class="social-link">t</a>
301
- <a href="#" class="social-link">i</a>
302
- </div>
303
-
304
  <p class="footer-text" style="margin-top: 24px;">
305
- © 2025 ClosetCoach. All rights reserved.<br>
306
- San Francisco, CA • [email protected]
307
  </p>
308
  </div>
309
  </div>
 
83
 
84
  .hero-image {
85
  width: 100%;
86
+ max-width: 280px;
87
+ height: 200px;
88
+ object-fit: cover;
89
  margin: 0 auto 50px;
90
  border-radius: 20px;
91
  box-shadow: 0 20px 40px rgba(107, 70, 193, 0.1);
 
131
  box-shadow: 0 12px 32px rgba(107, 70, 193, 0.4);
132
  }
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  .footer {
135
  text-align: center;
136
  padding: 40px;
 
144
  margin-bottom: 16px;
145
  }
146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  @media (max-width: 480px) {
148
  .header {
149
  padding: 40px 20px 20px;
 
161
  font-size: 18px;
162
  }
163
 
 
 
 
 
 
 
 
 
 
164
  .footer {
165
  padding: 30px 20px;
166
  }
 
187
  <a href="#" class="cta-button">Start Your Style Quiz</a>
188
  </div>
189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  <!-- Footer -->
191
  <div class="footer">
192
  <p class="footer-text">
 
194
  Ready to transform your style? Let's get started!
195
  </p>
196
 
 
 
 
 
 
 
197
  <p class="footer-text" style="margin-top: 24px;">
198
+ © 2025 ClosetCoach. All rights reserved.
 
199
  </p>
200
  </div>
201
  </div>