Skip to content

Commit a85daee

Browse files
committed
fix button styling & refactor code
1 parent de60df5 commit a85daee

File tree

1 file changed

+33
-22
lines changed

1 file changed

+33
-22
lines changed

main.go

Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,15 @@ const welcome_template = `
153153
}
154154
.button {
155155
background-color: #007bff;
156-
color: white;
156+
color: white !important;
157157
padding: 12px 24px;
158158
text-decoration: none;
159159
border-radius: 4px;
160160
font-weight: bold;
161161
display: inline-block;
162162
margin: 20px 0;
163+
text-shadow: none;
164+
opacity: 1;
163165
}
164166
.button:hover {
165167
background-color: #0069d9;
@@ -209,7 +211,7 @@ const welcome_template = `
209211
<div class="contact-info">
210212
<p>If you have any questions or need assistance, please contact our support team:</p>
211213
<p>Email: <a href="mailto:support@ragodevs.com">support@ragodevs.com</a><br>
212-
Phone: 0654051622</p>
214+
Phone: +255 654 051 622</p>
213215
</div>
214216
215217
<p>We look forward to helping you streamline your property management operations.</p>
@@ -218,7 +220,7 @@ const welcome_template = `
218220
<p>The Rent Management System Team</p>
219221
220222
<div class="footer">
221-
<p><a href="https://www.rent.ragodevs.com">www.rent.ragodevs.com</a></p>
223+
<p><a href="https://rent.ragodevs.com">rent.ragodevs.com</a></p>
222224
<p>© 2025 Rent Management System. All rights reserved.</p>
223225
</div>
224226
</div>
@@ -250,16 +252,20 @@ const activate_template = `
250252
.content {
251253
padding: 0 20px 20px 20px;
252254
}
255+
253256
.button {
254257
background-color: #007bff;
255-
color: white;
258+
color: white !important;
256259
padding: 12px 24px;
257260
text-decoration: none;
258261
border-radius: 4px;
259262
font-weight: bold;
260263
display: inline-block;
261264
margin: 20px 0;
265+
text-shadow: none;
266+
opacity: 1;
262267
}
268+
263269
.button:hover {
264270
background-color: #0069d9;
265271
}
@@ -303,7 +309,7 @@ const activate_template = `
303309
<div class="contact-info">
304310
<p>If you have any questions or need assistance, please contact our support team:</p>
305311
<p>Email: <a href="mailto:support@ragodevs.com">support@ragodevs.com</a><br>
306-
Phone: 0654051622</p>
312+
Phone: +255 654 051 622</p>
307313
</div>
308314
309315
<p>We look forward to helping you streamline your property management operations.</p>
@@ -312,7 +318,7 @@ const activate_template = `
312318
<p>The Rent Management System Team</p>
313319
314320
<div class="footer">
315-
<p><a href="https://www.rent.ragodevs.com">www.rent.ragodevs.com</a></p>
321+
<p><a href="https://rent.ragodevs.com">www.ragodevs.com</a></p>
316322
<p>© 2025 Rent Management System. All rights reserved.</p>
317323
</div>
318324
</div>
@@ -344,18 +350,20 @@ const pwdreset_template = `
344350
.content {
345351
padding: 0 20px 20px 20px;
346352
}
347-
.button {
348-
background-color: #007bff;
349-
color: white !important; /* Added !important to override any other styles */
350-
padding: 12px 24px;
351-
text-decoration: none;
352-
border-radius: 4px;
353-
font-weight: bold;
354-
display: inline-block;
355-
margin: 20px 0;
356-
text-shadow: none; /* Ensures no text shadow is affecting visibility */
357-
opacity: 1; /* Ensures the text is fully opaque */
353+
354+
.button {
355+
background-color: #007bff;
356+
color: white !important;
357+
padding: 12px 24px;
358+
text-decoration: none;
359+
border-radius: 4px;
360+
font-weight: bold;
361+
display: inline-block;
362+
margin: 20px 0;
363+
text-shadow: none;
364+
opacity: 1;
358365
}
366+
359367
.button:hover {
360368
background-color: #0069d9;
361369
}
@@ -398,14 +406,14 @@ const pwdreset_template = `
398406
<div class="contact-info">
399407
<p>If you have any questions or need assistance, please contact our support team:</p>
400408
<p>Email: <a href="mailto:support@ragodevs.com">support@ragodevs.com</a><br>
401-
Phone: 0654051622</p>
409+
Phone: +255 654 051 622</p>
402410
</div>
403411
404412
<p>Best regards,</p>
405413
<p>The Rent Management System Team</p>
406414
407415
<div class="footer">
408-
<p><a href="https://www.rent.ragodevs.com">www.rent.ragodevs.com</a></p>
416+
<p><a href="https://rent.ragodevs.com">rent.ragodevs.com</a></p>
409417
<p>© 2025 Rent Management System. All rights reserved.</p>
410418
</div>
411419
</div>
@@ -437,15 +445,18 @@ const completedreset_template = `
437445
.content {
438446
padding: 0 20px 20px 20px;
439447
}
448+
440449
.button {
441450
background-color: #007bff;
442-
color: white;
451+
color: white !important;
443452
padding: 12px 24px;
444453
text-decoration: none;
445454
border-radius: 4px;
446455
font-weight: bold;
447456
display: inline-block;
448457
margin: 20px 0;
458+
text-shadow: none;
459+
opacity: 1;
449460
}
450461
.button:hover {
451462
background-color: #0069d9;
@@ -484,14 +495,14 @@ const completedreset_template = `
484495
<div class="contact-info">
485496
<p>If you have any questions or need assistance, please contact our support team:</p>
486497
<p>Email: <a href="mailto:support@ragodevs.com">support@ragodevs.com</a><br>
487-
Phone: 0654051622</p>
498+
Phone: +255 654 051 622</p>
488499
</div>
489500
490501
<p>Best regards,</p>
491502
<p>The Rent Management System Team</p>
492503
493504
<div class="footer">
494-
<p><a href="https://www.rent.ragodevs.com">www.rent.ragodevs.com</a></p>
505+
<p><a href="https://rent.ragodevs.com">rent.ragodevs.com</a></p>
495506
<p>© 2025 Rent Management System. All rights reserved.</p>
496507
</div>
497508
</div>

0 commit comments

Comments
 (0)