new mailer template update
This commit is contained in:
parent
ec7a79c8bb
commit
d0115a8cd9
|
|
@ -27,6 +27,6 @@ module MailerHelper
|
|||
latency_scores[:unknown][:label]
|
||||
end
|
||||
|
||||
lbl
|
||||
lbl.titleize
|
||||
end
|
||||
end
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<div style="padding: 2em; margin-top: 2em; background-color: #f0f0f0;">
|
||||
<div
|
||||
style="
|
||||
margin: 3em auto 3em auto;
|
||||
margin: 3em auto 1.5em auto;
|
||||
padding: 2em;
|
||||
background-color: #ffffff;
|
||||
max-width: 700px;
|
||||
|
|
@ -25,39 +25,45 @@
|
|||
|
||||
</div>
|
||||
<footer style="text-align: center; margin: 0px auto; padding: 0px auto;">
|
||||
<% if @user && @user.unsubscribe_token -%>
|
||||
<p>
|
||||
<%= I18n.t "mailer_layout.footer.paragraph1" -%> <a href="https://www.jamkazam.com" target="_blank">JamKazam</a>. <a
|
||||
href="https://www.jamkazam.com/unsubscribe/<%= @user.unsubscribe_token %>"
|
||||
style="
|
||||
color: #2c7be5;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid #2c7be5;
|
||||
"
|
||||
><%= I18n.t "mailer_layout.footer.unsubscribe" -%></a>
|
||||
</p>
|
||||
<% end -%>
|
||||
<div style="text-align: center; margin: 1em 0;">
|
||||
<a href="https://www.facebook.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/fb-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="Facebook" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
|
||||
</a>
|
||||
<a href="https://www.instagram.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/instagram-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="Instagram" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
<a href="https://www.tiktok.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/tiktok-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="TikTok" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
<a href="https://www.youtube.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/youtube-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="YouTube" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
<a href="https://www.x.com" target="_blank" style="text-decoration: none;">
|
||||
<img src=<%= asset_url("/email/twitter-x-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="X.com" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
</div>
|
||||
<p>
|
||||
<%= I18n.t "mailer_layout.footer.copyright" -%>
|
||||
</p>
|
||||
<small>
|
||||
<% if @user && @user.unsubscribe_token -%>
|
||||
<p>
|
||||
<%= I18n.t "mailer_layout.footer.paragraph1" -%> <a href="https://www.jamkazam.com" target="_blank">JamKazam</a>. <br /> You can <a
|
||||
href="https://www.jamkazam.com/unsubscribe/<%= @user.unsubscribe_token %>"
|
||||
style="
|
||||
color: #2c7be5;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid #2c7be5;
|
||||
"
|
||||
><%= I18n.t "mailer_layout.footer.unsubscribe" -%></a>
|
||||
to stop receiving emails from us.
|
||||
</p>
|
||||
<% end -%>
|
||||
<div style="text-align: center; margin: 1em 0;">
|
||||
<span style="margin-right: 1em;">
|
||||
<%= I18n.t "mailer_layout.footer.connect_with_us" -%>
|
||||
</span>
|
||||
<a href="https://www.facebook.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/fb-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="Facebook" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
|
||||
</a>
|
||||
<a href="https://www.instagram.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/instagram-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="Instagram" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
<a href="https://www.tiktok.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/tiktok-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="TikTok" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
<a href="https://www.youtube.com" target="_blank" style="text-decoration: none;">
|
||||
<img src="<%= asset_url("/email/youtube-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="YouTube" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
<a href="https://www.x.com" target="_blank" style="text-decoration: none;">
|
||||
<img src=<%= asset_url("/email/twitter-x-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="X.com" style="width: 24px; height: 24px; margin: 0 5px;">
|
||||
</a>
|
||||
</div>
|
||||
<p>
|
||||
<%= I18n.t "mailer_layout.footer.copyright" -%>
|
||||
</p>
|
||||
</small>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 15 KiB |
|
|
@ -11,6 +11,7 @@ en:
|
|||
paragraph1: "This email was sent to you because you have an account at"
|
||||
unsubscribe: "Unsubscribe"
|
||||
copyright: "Copyright © 2024 JamKazam, Inc. All rights reserved."
|
||||
connect_with_us: "Connect with us:"
|
||||
user_mailer:
|
||||
confirm_email:
|
||||
subject: "Please confirm your JamKazam email address"
|
||||
|
|
@ -30,7 +31,7 @@ en:
|
|||
view_profile: "View Profile"
|
||||
send_message: "Send Message"
|
||||
send_friend_request: "Send Friend Request"
|
||||
paragraph2: "To find great musical matches across the entire JamKazam commiunity and make new connections, use the button below to access our musician search feature. This let you filter JamKazammers by latency, instruments, skill level, genre interests, last active day and more."
|
||||
paragraph2: "To find great musical matches across the entire JamKazam community and make new connections, use the button below to access our musician search feature. This lets you filter JamKazammers by latency, instruments, skill level, genre interests, last active date and more."
|
||||
search_musicians: "Search JamKazam Musicians"
|
||||
|
||||
welcome_message:
|
||||
|
|
|
|||
Loading…
Reference in New Issue