habulaj commited on
Commit
d6c009a
·
verified ·
1 Parent(s): 4e0092a

Update routes/emails.py

Browse files
Files changed (1) hide show
  1. routes/emails.py +13 -7
routes/emails.py CHANGED
@@ -70,10 +70,8 @@ def generate_email_html(email_type: str, to: str) -> str:
70
  }
71
 
72
  .logo {
73
- font-size: 28px;
74
- font-weight: 700;
75
- color: #6b46c1;
76
- letter-spacing: -0.5px;
77
  }
78
 
79
  .hero-section {
@@ -166,17 +164,25 @@ def generate_email_html(email_type: str, to: str) -> str:
166
  }
167
  }
168
  </style>
 
 
 
 
 
 
 
 
169
  </head>
170
  <body>
171
  <div class="email-container">
172
  <!-- Header -->
173
  <div class="header">
174
- <div class="logo">ClosetCoach</div>
175
  </div>
176
 
177
  <!-- Hero Section -->
178
  <div class="hero-section">
179
- <img src="https://huggingface.co/spaces/habulaj/connect/resolve/main/brazuca.jpg" alt="Style transformation illustration" class="hero-image">
180
 
181
  <h1 class="headline">Welcome to your style journey</h1>
182
 
@@ -184,7 +190,7 @@ def generate_email_html(email_type: str, to: str) -> str:
184
  Connect with professional stylists who understand your unique style and help you create looks that make you feel confident and authentic.
185
  </p>
186
 
187
- <a href="#" class="cta-button">Start Your Style Quiz</a>
188
  </div>
189
 
190
  <!-- Footer -->
 
70
  }
71
 
72
  .logo {
73
+ height: 60px;
74
+ width: auto;
 
 
75
  }
76
 
77
  .hero-section {
 
164
  }
165
  }
166
  </style>
167
+ <script>
168
+ function redirectToApp() {
169
+ // Define o deep link para a página search do app
170
+ const deepLink = "closetcoach://closetcoach.com/search";
171
+ // Redireciona automaticamente
172
+ window.location.href = deepLink;
173
+ }
174
+ </script>
175
  </head>
176
  <body>
177
  <div class="email-container">
178
  <!-- Header -->
179
  <div class="header">
180
+ <img src="https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/saa-s-cloud-file-management-dashboard-u57zo5/assets/0pftsthmbtm5/IMG_5348_1.png" alt="ClosetCoach Logo" class="logo">
181
  </div>
182
 
183
  <!-- Hero Section -->
184
  <div class="hero-section">
185
+ <img src="https://huggingface.co/spaces/habulaj/connect/resolve/main/brazuca.png" alt="Style transformation illustration" class="hero-image">
186
 
187
  <h1 class="headline">Welcome to your style journey</h1>
188
 
 
190
  Connect with professional stylists who understand your unique style and help you create looks that make you feel confident and authentic.
191
  </p>
192
 
193
+ <a href="#" class="cta-button" onclick="redirectToApp()">Meet Your Stylists</a>
194
  </div>
195
 
196
  <!-- Footer -->