This commit is contained in:
Tomas Dvorak
2025-10-29 21:20:16 +01:00
parent 823fabee02
commit 16e4533202
61 changed files with 2308 additions and 942 deletions
+10 -5
View File
@@ -201,6 +201,16 @@
{{if .ContactEmail}}<a href="mailto:{{.ContactEmail}}">E-mail</a>{{end}}
</p>
{{end}}
{{if .RecipientEmail}}
<p>Tento email byl odeslán na adresu <strong>{{.RecipientEmail}}</strong>.</p>
{{end}}
{{if or .UnsubscribeURL .ManageURL}}
<p>
{{if .UnsubscribeURL}}<a href="{{.UnsubscribeURL}}" class="unsubscribe-link">Odhlásit odběr</a>{{end}}
{{if and .UnsubscribeURL .ManageURL}} | {{end}}
{{if .ManageURL}}<a href="{{.ManageURL}}" class="unsubscribe-link">Upravit předvolby</a>{{end}}
</p>
{{end}}
{{if or .FacebookURL .InstagramURL .YouTubeURL .TwitterURL}}
<div class="social-links">
{{if .FacebookURL}}<a href="{{.FacebookURL}}" target="_blank">Facebook</a>{{end}}
@@ -211,11 +221,6 @@
{{end}}
<p>{{.ClubName}} &copy; {{now.Format "2006"}}. Všechna práva vyhrazena.</p>
<p>Pokud jste tento email obdrželi omylem, prosíme o jeho smazání.</p>
{{if .UnsubscribeURL}}
<p style="margin-top: 15px;">
<a href="{{.UnsubscribeURL}}" class="unsubscribe-link">Odhlásit se z odběru</a>
</p>
{{end}}
<p style="margin-top: 12px; font-size: 12px; color: #a0aec0;">
Made by <a href="https://sportcreative.cz/myclub" target="_blank" style="color:#718096;">MyClub by Sportcreative</a>
</p>
@@ -0,0 +1,19 @@
{{define "content"}}
<h2>Děkujeme za zprávu</h2>
<p>Vaši zprávu jsme úspěšně obdrželi. Ozveme se vám co nejdříve.</p>
<table cellpadding="10" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold; width: 150px;">Jméno:</td>
<td style="border: 1px solid #e0e0e0;">{{.Name}}</td>
</tr>
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold; vertical-align: top;">Vaše zpráva:</td>
<td style="border: 1px solid #e0e0e0; white-space: pre-wrap;">{{.Message}}</td>
</tr>
</table>
<p style="margin-top: 20px;">
<a href="{{if .ContactURL}}{{.ContactURL}}{{else}}{{.WebsiteURL}}{{end}}" class="btn">Otevřít web</a>
</p>
{{end}}
+9 -9
View File
@@ -1,39 +1,39 @@
{{define "content"}}
<h2>New Contact Form Submission</h2>
<p>You've received a new message from the contact form on your website.</p>
<h2>Nová zpráva z kontaktního formuláře</h2>
<p>Obdrželi jste novou zprávu z kontaktního formuláře na webu.</p>
<table cellpadding="10" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold; width: 150px;">Name:</td>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold; width: 150px;">Jméno:</td>
<td style="border: 1px solid #e0e0e0;">{{.Name}}</td>
</tr>
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">Email:</td>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">E-mail:</td>
<td style="border: 1px solid #e0e0e0;"><a href="mailto:{{.Email}}">{{.Email}}</a></td>
</tr>
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">Subject:</td>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">Předmět:</td>
<td style="border: 1px solid #e0e0e0;">{{.Subject}}</td>
</tr>
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold; vertical-align: top;">Message:</td>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold; vertical-align: top;">Zpráva:</td>
<td style="border: 1px solid #e0e0e0; white-space: pre-wrap;">{{.Message}}</td>
</tr>
{{if .IPAddress}}
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">IP Address:</td>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">IP adresa:</td>
<td style="border: 1px solid #e0e0e0;">{{.IPAddress}}</td>
</tr>
{{end}}
{{if .UserAgent}}
<tr>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">User Agent:</td>
<td style="border: 1px solid #e0e0e0; background-color: #f9f9f9; font-weight: bold;">Prohlížeč:</td>
<td style="border: 1px solid #e0e0e0;">{{.UserAgent}}</td>
</tr>
{{end}}
</table>
<p style="margin-top: 20px;">
<a href="mailto:{{.Email}}" class="btn">Reply to {{.Name}}</a>
<a href="mailto:{{.Email}}" class="btn">Odpovědět {{.Name}}</a>
</p>
{{end}}
+10 -8
View File
@@ -1,8 +1,10 @@
<html>
<body>
<h1>Vítejte v newsletteru</h1>
<p>Děkujeme za přihlášení k odběru. Klikněte na odkaz níže pro nastavení, jaké zprávy chcete dostávat:</p>
<p><a href="{{.SetupURL}}">Nastavit preference newsletteru</a></p>
<p>Pokud jste se k odběru nepřihlásili, můžete tento e-mail ignorovat nebo se odhlásit.</p>
</body>
</html>
{{define "content"}}
<h2 style="margin-top:0;">Vítejte v newsletteru</h2>
<p>Děkujeme za přihlášení k odběru. Klikněte na tlačítko níže a nastavte, jaké zprávy chcete dostávat:</p>
{{if .SetupURL}}
<p style="text-align:center;">
<a href="{{.SetupURL}}" class="btn">Nastavit preference</a>
</p>
{{end}}
<p>Pokud jste se k odběru nepřihlásili, můžete tento email ignorovat.</p>
{{end}}
+16 -93
View File
@@ -1,97 +1,20 @@
{{define "content"}}
<div style="max-width: 600px; margin: 0 auto; font-family: Arial, sans-serif; color: #2d3748; background: #ffffff;">
<!-- Header with club colors -->
<div style="background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); padding: 30px 20px; text-align: center; border-radius: 8px 8px 0 0;">
<img src="https://fotbalclub.cz/logo.png" alt="FK Fotbal Club" style="max-width: 180px; height: auto; margin-bottom: 15px;">
<h1 style="color: #ffffff; margin: 0; font-size: 28px; font-weight: 700;">Vítejte v našem newsletteru!</h1>
</div>
<!-- Main content -->
<div style="padding: 30px 25px; border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 8px 8px;">
<p style="font-size: 16px; line-height: 1.6; margin: 0 0 25px 0;">
Děkujeme, že jste se přihlásili k odběru našeho newsletteru. Jsme di, že jste součástí naší fotbalové komunity a budeme vás pravidelně informovat o nejnovějším dění v klubu.
<h2 style="margin-top:0;">Vítejte v našem newsletteru!</h2>
<p style="font-size:16px; line-height:1.6;">
Děkujeme, že jste se přihlásili k odběru našeho newsletteru. Jsme rádi, že jste součástí naší fotbalové komunity a budeme vás pravidelně informovat o nejnovějším dění v klubu.
</p>
<h3 style="margin:24px 0 8px;">Co pro vás připravujeme?</h3>
<ul style="margin:0 0 16px 18px; padding:0;">
<li><strong>Novinky z klubu:</strong> aktuality, rozhovory a zajímavosti ze zákulisí.</li>
<li><strong>Zápasy a výsledky:</strong> přehled nadcházejících zápasů a reporty z odehraných.</li>
<li><strong>Speciální nabídky:</strong> výhody a slevy pro odběratele.</li>
<li><strong>Rozhovory:</strong> s hči, trenéry a členy klubu.</li>
</ul>
<div style="background:#ebf8ff; border-left:4px solid #3182ce; padding:12px 14px; border-radius:0 6px 6px 0;">
<p style="margin:0; color:#2c5282; font-size:14px;">
Aby vám naše emaily nechyběly, přidejte si adresu <strong>{{.FromEmail}}</strong> do kontaktů.
</p>
<!-- Features grid -->
<div style="margin: 30px 0;">
<h2 style="color: #2d3748; font-size: 20px; margin: 0 0 20px 0; text-align: center; position: relative; padding-bottom: 10px;">
<span style="background: #fff; padding: 0 15px; position: relative; z-index: 1;">Co pro vás připravujeme?</span>
<span style="position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #e2e8f0; z-index: 0; display: block; margin-top: 15px;"></span>
</h2>
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px;">
<div style="background: #f8fafc; border-left: 4px solid #e53e3e; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">📰</span> Novinky z klubu
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Aktuality, rozhovory a zajímavosti ze zákulisí našeho klubu.</p>
</div>
<div style="background: #f8fafc; border-left: 4px solid #3182ce; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;"></span> Zápasy a výsledky
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Přehled nadcházejících zápasů a reporty z těch odehraných.</p>
</div>
<div style="background: #f8fafc; border-left: 4px solid #38a169; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">🎟️</span> Speciální nabídky
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Výhody a slevy výhradně pro naše odběratele.</p>
</div>
<div style="background: #f8fafc; border-left: 4px solid #d69e2e; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">👥</span> Rozhovory
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Rozhovory s hráči, trenéry a dalšími členy klubu.</p>
</div>
</div>
</div>
<!-- Next steps -->
<div style="background: #ebf8ff; border-left: 4px solid #3182ce; padding: 15px; margin: 25px 0; border-radius: 0 6px 6px 0;">
<h3 style="color: #2c5282; margin: 0 0 10px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;"></span> Důležité
</h3>
<p style="margin: 0; color: #2c5282; font-size: 14px; line-height: 1.5;">
Aby vám naše e-maily nechyběly, přidejte si adresu <strong>{{.FromEmail}}</strong> do vašich kontaktů.
</p>
</div>
<!-- Unsubscribe notice -->
<div style="margin: 35px 0 25px 0; text-align: center;">
<p style="font-size: 13px; color: #718096; margin: 0 0 15px 0; line-height: 1.5;">
Tento e-mail vám byl zaslán na adresu <strong>{{.Email}}</strong> v rámci odebírání novinek FK Fotbal Club.
</p>
<p style="font-size: 13px; color: #718096; margin: 0; line-height: 1.5;">
<a href="{{.UnsubscribeLink}}" style="color: #2b6cb0; text-decoration: underline;">Odhlásit odběr</a> |
<a href="https://fotbalclub.cz/nastaveni" style="color: #2b6cb0; text-decoration: underline;">Upravit předvolby</a> |
<a href="mailto:help@tdvorak.dev" style="color: #2b6cb0; text-decoration: underline;">Napsat nám</a>
</p>
</div>
<!-- Footer -->
<div style="border-top: 1px solid #e2e8f0; padding-top: 20px; margin-top: 20px; text-align: center;">
<p style="margin: 0 0 15px 0;">
<a href="https://facebook.com/fotbalclub" style="margin: 0 8px; display: inline-block;">
<img src="https://fotbalclub.cz/icons/facebook.png" alt="Facebook" style="width: 24px; height: 24px; opacity: 0.7;">
</a>
<a href="https://instagram.com/fotbalclub" style="margin: 0 8px; display: inline-block;">
<img src="https://fotbalclub.cz/icons/instagram.png" alt="Instagram" style="width: 24px; height: 24px; opacity: 0.7;">
</a>
<a href="https://youtube.com/fotbalclub" style="margin: 0 8px; display: inline-block;">
<img src="https://fotbalclub.cz/icons/youtube.png" alt="YouTube" style="width: 24px; height: 24px; opacity: 0.7;">
</a>
</p>
<p style="margin: 0 0 5px 0; font-size: 12px; color: #a0aec0;">
© {{.Year}} FK Fotbal Club. Všechna práva vyhrazena.
</p>
<p style="margin: 0; font-size: 12px; color: #a0aec0;">
Tento e-mail byl odeslán na adresu {{.Email}}
</p>
</div>
</div>
</div>
{{end}}
+11 -88
View File
@@ -1,90 +1,13 @@
{{define "content"}}
<div style="max-width: 600px; margin: 0 auto; font-family: Arial, sans-serif; color: #2d3748; background: #ffffff;">
<!-- Header with club colors -->
<div style="background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%); padding: 30px 20px; text-align: center; border-radius: 8px 8px 0 0;">
<img src="https://fotbalclub.cz/logo.png" alt="FK Fotbal Club" style="max-width: 180px; height: auto; margin-bottom: 15px;">
<h1 style="color: #ffffff; margin: 0; font-size: 28px; font-weight: 700;">Vítejte zpět u nás!</h1>
</div>
<!-- Main content -->
<div style="padding: 30px 25px; border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 8px 8px;">
<p style="font-size: 16px; line-height: 1.6; margin: 0 0 25px 0;">
Děkujeme, že jste se znovu přihlásili k odběru našeho newsletteru. Jsme opravdu rádi, že jste se k nám vrátili a těšíme se na vaši zpětnou vazbu!
</p>
<!-- What's new section -->
<div style="margin: 30px 0;">
<h2 style="color: #2d3748; font-size: 20px; margin: 0 0 20px 0; text-align: center; position: relative; padding-bottom: 10px;">
<span style="background: #fff; padding: 0 15px; position: relative; z-index: 1;">Co je u nás nového?</span>
<span style="position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #e2e8f0; z-index: 0; display: block; margin-top: 15px;"></span>
</h2>
<div style="display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px;">
<div style="background: #f8fafc; border-left: 4px solid #e53e3e; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">👕</span> Nové dresy {{.Year}}
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Představili jsme zbrusu nové dresy na sezónu {{.Year}}. Podívejte se na ně v našem <a href="https://fotbalclub.cz/fotogalerie" style="color: #2b6cb0; text-decoration: underline;">fotoalbu</a>.</p>
</div>
<div style="background: #f8fafc; border-left: 4px solid #3182ce; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">📅</span> Aktuální rozvrh zápasů
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Připravili jsme pro vás kompletní rozvrh zápasů na nadcházející měsíce. <a href="https://fotbalclub.cz/zapasy" style="color: #2b6cb0; text-decoration: underline;">Zobrazit kalendář</a>.</p>
</div>
<div style="background: #f8fafc; border-left: 4px solid #38a169; padding: 15px; border-radius: 0 6px 6px 0;">
<h3 style="color: #2b6cb0; margin: 0 0 8px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">🏟️</span> Akce pro fanoušky
</h3>
<p style="margin: 0; color: #4a5568; font-size: 14px; line-height: 1.5;">Připravili jsme sérii akcí pro naše věrné fanoušky. Více informací naleznete v <a href="https://fotbalclub.cz/akce" style="color: #2b6cb0; text-decoration: underline;">kalendáři akcí</a>.</p>
</div>
</div>
</div>
<!-- Next steps -->
<div style="background: #ebf8ff; border-left: 4px solid #3182ce; padding: 15px; margin: 25px 0; border-radius: 0 6px 6px 0;">
<h3 style="color: #2c5282; margin: 0 0 10px 0; font-size: 16px; display: flex; align-items: center;">
<span style="margin-right: 8px;">📱</span> Sledujte nás
</h3>
<p style="margin: 0; color: #2c5282; font-size: 14px; line-height: 1.5;">
Sledujte nás na sociálních sítích a buďte mezi prvními, kdo se dozví o novinkách z našeho klubu.
</p>
<div style="margin-top: 10px;">
<a href="https://facebook.com/fotbalclub" style="margin-right: 10px; display: inline-block;">
<img src="https://fotbalclub.cz/icons/facebook.png" alt="Facebook" style="width: 24px; height: 24px; opacity: 0.8;">
</a>
<a href="https://instagram.com/fotbalclub" style="margin-right: 10px; display: inline-block;">
<img src="https://fotbalclub.cz/icons/instagram.png" alt="Instagram" style="width: 24px; height: 24px; opacity: 0.8;">
</a>
<a href="https://youtube.com/fotbalclub" style="display: inline-block;">
<img src="https://fotbalclub.cz/icons/youtube.png" alt="YouTube" style="width: 24px; height: 24px; opacity: 0.8;">
</a>
</div>
</div>
<!-- Unsubscribe notice -->
<div style="margin: 35px 0 25px 0; text-align: center;">
<p style="font-size: 13px; color: #718096; margin: 0 0 15px 0; line-height: 1.5;">
Tento e-mail vám byl zaslán na adresu <strong>{{.Email}}</strong> v rámci odebírání novinek FK Fotbal Club.
</p>
<p style="font-size: 13px; color: #718096; margin: 0; line-height: 1.5;">
<a href="{{.UnsubscribeLink}}" style="color: #2b6cb0; text-decoration: underline;">Odhlásit odběr</a> |
<a href="https://fotbalclub.cz/nastaveni" style="color: #2b6cb0; text-decoration: underline;">Upravit předvolby</a> |
<a href="mailto:help@tdvorak.dev" style="color: #2b6cb0; text-decoration: underline;">Napsat nám</a>
</p>
</div>
<!-- Footer -->
<div style="border-top: 1px solid #e2e8f0; padding-top: 20px; margin-top: 20px; text-align: center;">
<p style="margin: 0 0 5px 0; font-size: 12px; color: #a0aec0;">
© {{.Year}} FK Fotbal Club. Všechna práva vyhrazena.
</p>
<p style="margin: 0; font-size: 12px; color: #a0aec0;">
Tento e-mail byl odeslán na adresu {{.Email}}
</p>
</div>
</div>
</div>
<h2 style="margin-top:0;">Vítejte zpět u nás!</h2>
<p style="font-size:16px; line-height:1.6;">
Děkujeme, že jste se znovu přihlásili k odběru našeho newsletteru. Jsme rádi, že jste zpátky a těšíme se na vaši zpětnou vazbu!
</p>
<h3 style="margin:24px 0 8px;">Co je u nás nového?</h3>
<ul style="margin:0 0 16px 18px; padding:0;">
<li>Aktuální rozvrh zápasů a výsledků.</li>
<li>Novinky z klubu a rozhovory.</li>
<li>Akce pro fanoušky a speciální nabídky.</li>
</ul>
{{end}}