mirror of
https://github.com/lukin/keywind.git
synced 2025-01-25 08:46:27 +00:00
feat: optional email heading logo
This commit is contained in:
parent
8e48911ca4
commit
0e16737407
3 changed files with 17 additions and 3 deletions
|
@ -2,7 +2,13 @@
|
|||
<table cellpadding="0" cellspacing="0" border="0" align="center" class="text-center">
|
||||
<tr class="text-center">
|
||||
<td align="center" class="text-center">
|
||||
<img class="h-10" src="https://mailwind.blob.core.windows.net/website/logo.png" alt="logo" />
|
||||
<#if (properties.headingLogoUrl!"") != "">
|
||||
<img class="h-10" src="${properties.headingLogoUrl}" alt="logo" />
|
||||
<#else>
|
||||
<h1 class="text-center text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white">
|
||||
${kcSanitize(kcSanitize(realmName!""))}
|
||||
</h1>
|
||||
</#if>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -2,7 +2,13 @@
|
|||
<table cellpadding="0" cellspacing="0" border="0" align="center" class="text-center" style="text-align: center;">
|
||||
<tr class="text-center" style="text-align: center;">
|
||||
<td align="center" class="text-center" style="text-align: center;">
|
||||
<img class="h-10" src="https://mailwind.blob.core.windows.net/website/logo.png" alt="logo" style="height: 40px;">
|
||||
<#if (properties.headingLogoUrl!"") != "">
|
||||
<img class="h-10" src="${properties.headingLogoUrl}" alt="logo" style="height: 40px;">
|
||||
<#else>
|
||||
<h1 class="text-center text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white" style="text-align: center; font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -0.025em; color: #111827;">
|
||||
${kcSanitize(kcSanitize(realmName!""))}
|
||||
</h1>
|
||||
</#if>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
parent=base
|
||||
parent=base
|
||||
|
||||
headingLogoUrl=
|
||||
|
|
Loading…
Reference in a new issue