Updated dependencies. Moved email assets from base64 to attachments to improve support in Gmail. Implemented custom email branding support. Implemented custom print branding support. Moved image assets to email/kiosk directory. Implemented kiosk dark mode logo support. Updated README.md

This commit is contained in:
Glenn de Haan
2025-12-02 18:42:35 +01:00
parent 4e3ca28f7a
commit 24bfbedc42
10 changed files with 107 additions and 16 deletions

View File

@@ -114,7 +114,7 @@
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top">
<p>
<center>
<img src="https://github.com/glenndehaan/unifi-voucher-site/blob/master/public/images/icon/logo_192x192.png?raw=true" height="75px"/>
<img src="cid:logo@unifi-voucher-site.com" height="75px" alt="Logo" style="height: 75px;"/>
<br/>
<h1 style="font-weight: 400; font-size: 1.75rem; line-height: 1.2;"><%= t('title') %></h1>
</center>
@@ -134,7 +134,7 @@
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0;"><%= t('connect') %>: <span style="font-weight: bold;"><%= unifiSsid %></span> <%= t('or') %>,</p>
<% } %>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0;"><%= t('scan') %>:</p>
<img src="<%= qr %>" />
<img src="cid:qr@unifi-voucher-site.com" alt="Scan to Connect QR Code" />
</center>
<p style="font-family: sans-serif; font-size: 5px; margin: 0; margin-bottom: 5px;">&nbsp;</p>
<% } %>