✨ Account contacts APIs
💄 Redesign emails
			
			
This commit is contained in:
		| @@ -1,59 +1,37 @@ | ||||
| @using DysonNetwork.Sphere.Localization | ||||
| @using Microsoft.Extensions.Localization | ||||
| @using EmailResource = DysonNetwork.Sphere.Localization.EmailResource | ||||
|  | ||||
| <EmailLayout> | ||||
|     <table class="container"> | ||||
|         <tr> | ||||
|             <td class="columns"> | ||||
|                 <h1 style="font-size: 1.875rem; font-weight: 700; color: #111827; margin: 0; text-align: center;"> | ||||
|                     @(Localizer["AccountDeletionHeader"]) | ||||
|                 </h1> | ||||
|             </td> | ||||
|         </tr> | ||||
|     <tr> | ||||
|         <td class="wrapper"> | ||||
|             <p class="font-bold">@(Localizer["AccountDeletionHeader"])</p> | ||||
|             <p>@(Localizer["AccountDeletionPara1"]) @@@Name,</p> | ||||
|             <p>@(Localizer["AccountDeletionPara2"])</p> | ||||
|             <p>@(Localizer["AccountDeletionPara3"])</p> | ||||
|  | ||||
|         <tr> | ||||
|             <td class="columns"> | ||||
|                 <p style="color: #374151; margin: 0;"> | ||||
|                     @(Localizer["AccountDeletionPara1"]) @@@Name, | ||||
|                 </p> | ||||
|                 <p style="color: #374151; margin: 0;"> | ||||
|                     @(Localizer["AccountDeletionPara2"]) | ||||
|                 </p> | ||||
|                 <p style="color: #374151; margin: 0;"> | ||||
|                     @(Localizer["AccountDeletionPara3"]) | ||||
|                 </p> | ||||
|             </td> | ||||
|         </tr> | ||||
|             <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary"> | ||||
|                 <tbody> | ||||
|                 <tr> | ||||
|                     <td align="left"> | ||||
|                         <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | ||||
|                             <tbody> | ||||
|                             <tr> | ||||
|                                 <td> | ||||
|                                     <a href="@Link" target="_blank"> | ||||
|                                         @(Localizer["AccountDeletionButton"]) | ||||
|                                     </a> | ||||
|                                 </td> | ||||
|                             </tr> | ||||
|                             </tbody> | ||||
|                         </table> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|                 </tbody> | ||||
|             </table> | ||||
|  | ||||
|         <tr> | ||||
|             <td class="columns"> | ||||
|                 <div style="text-align: center;"> | ||||
|                     <a href="@Link" target="_blank" | ||||
|                        style="background-color: #2563eb; color: #ffffff; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; text-decoration: none;"> | ||||
|                         @(Localizer["AccountDeletionButton"]) | ||||
|                     </a> | ||||
|                 </div> | ||||
|             </td> | ||||
|         </tr> | ||||
|  | ||||
|         <tr> | ||||
|             <td class="columns"> | ||||
|                 <p style="color: #374151; margin: 0;"> | ||||
|                     @(LocalizerShared["EmailLinkHint"]) | ||||
|                     <br> | ||||
|                     <a href="@Link" style="color: #2563eb; word-break: break-all;">@Link</a> | ||||
|                 </p> | ||||
|                 <p style="color: #374151; margin: 0;"> | ||||
|                     @(Localizer["AccountDeletionPara4"]) | ||||
|                 </p> | ||||
|                 <p style="color: #374151; margin: 2rem 0 0 0;"> | ||||
|                     @(LocalizerShared["EmailFooter1"]) <br /> | ||||
|                     @(LocalizerShared["EmailFooter2"]) | ||||
|                 </p> | ||||
|             </td> | ||||
|         </tr> | ||||
|     </table> | ||||
|             <p>@(Localizer["AccountDeletionPara4"])</p> | ||||
|         </td> | ||||
|     </tr> | ||||
| </EmailLayout> | ||||
|  | ||||
| @code { | ||||
| @@ -61,5 +39,4 @@ | ||||
|     [Parameter] public required string Link { get; set; } | ||||
|  | ||||
|     [Inject] IStringLocalizer<EmailResource> Localizer { get; set; } = null!; | ||||
|     [Inject] IStringLocalizer<SharedResource> LocalizerShared { get; set; } = null!; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user