Skip to content

Commit

Permalink
Merge pull request #144 from wandersonDeve/main
Browse files Browse the repository at this point in the history
Main
  • Loading branch information
wandersonDeve authored Sep 22, 2023
2 parents 9821c66 + 8dfa30e commit 4bac15c
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 325 deletions.
367 changes: 47 additions & 320 deletions src/modules/mails/templates/passwordupdate.hbs
Original file line number Diff line number Diff line change
@@ -1,322 +1,49 @@
<html
xmlns:v='urn:schemas-microsoft-com:vml'
xmlns:o='urn:schemas-microsoft-com:office:office'
lang='pt-BR'
>

<head>
<title></title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<meta
name='viewport'
content='width=device-width, initial-scale=1.0'
/><!--[if mso]><xml><o:OfficeDocumentSettings><o:PixelsPerInch>96</o:PixelsPerInch><o:AllowPNG/></o:OfficeDocumentSettings></xml><![endif]-->
<style>
* { box-sizing: border-box; } body { margin: 0; padding: 0; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration:
inherit !important; } #MessageViewBody a { color: inherit;
text-decoration: none; } p { line-height: inherit } .desktop_hide,
.desktop_hide table { mso-hide: all; display: none; max-height: 0px;
overflow: hidden; } .image_block img+div { display: none; } @media
(max-width:805px) { .desktop_hide table.icons-inner { display:
inline-block !important; } .icons-inner { text-align: center; }
.icons-inner td { margin: 0 auto; } .row-content { width: 100% !important;
} .mobile_hide { display: none; } .stack .column { width: 100%; display:
block; } .mobile_hide { min-height: 0; max-height: 0; max-width: 0;
overflow: hidden; font-size: 0px; } .desktop_hide, .desktop_hide table {
display: table !important; max-height: none !important; } }
</style>
</head>

<body
style='background-color: #ffffff; margin: 0; padding: 0; -webkit-text-size-adjust: none; text-size-adjust: none;'
>
<table
class='nl-container'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #ffffff;'
>
<tbody>
<tr>
<td>
<table
class='row row-1'
align='center'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tbody>
<tr>
<td>
<table
class='row-content stack'
align='center'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #000000; width: 785px;'
width='785'
>
<tbody>
<tr>
<td
class='column column-1'
width='100%'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; padding-bottom: 5px; padding-top: 5px; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;'
>
<table
class='html_block block-1'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'>
<div
style='padding-bottom: 3rem; padding-top: 3rem;'
>
<img
data-imagetype='External'
src='https://vagas-dev.s3.amazonaws.com/1683042170644logo2.png'
alt='Logo'
/>
</div>
</div></div>
</td>
</tr>
</table>
<div
class='spacer_block block-2'
style='height:25px;line-height:25px;font-size:1px;'
>&#8202;</div>
<table
class='html_block block-3'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'><div
style='background-color:#cbe0f4'
><img
data-imagetype='External'
src='https://vagas-dev.s3.amazonaws.com/1683059343660special-details1.png'
alt='sucesso'
/>
</div></div></div>
</td>
</tr>
</table>
<table
class='html_block block-4'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'>
<h1
style='color:#046ad0; font-size:48px'
>Senha redefinida</h1>
</div></div>
</td>
</tr>
</table>
<table
class='html_block block-5'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'><div
style='font-size:24px; line-height:32px; opacity:0.8; padding-bottom:30px'
>
<p style='margin:0'>Olá, {{name}}!</p>
<p style='margin:0'>Você redefiniu a sua
senha.</p>
<p style='margin:0'>Obrigado por
utilizar o nosso site.</p>
</div></div></div>
</td>
</tr>
</table>
<table
class='html_block block-6'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'><div><span
style='color:#046ad0; font-size:18px'
>Equipe SouJunior</span>
</div></div></div>
</td>
</tr>
</table>
<div
class='spacer_block block-7'
style='height:35px;line-height:35px;font-size:1px;'
>&#8202;</div>
<table
class='divider_block block-8'
width='100%'
border='0'
cellpadding='10'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div class='alignment' align='center'>
<table
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
width='100%'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td
class='divider_inner'
style='font-size: 1px; line-height: 1px; border-top: 1px solid #dddddd;'
><span>&#8202;</span></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table
class='html_block block-9'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'><div
style='color:#5d5f5d; padding-bottom:20px; padding-top:30px'
>
<p style='margin:0'>Volte para a página
de login:</p><a
href='http://www.portaldevagas.com.br'
target='_blank'
data-auth='NotApplicable'
style='color:#5d5f5d; line-height:24px; text-decoration:none'
data-linkindex='2'
>www.portaldevagas.com.br </a>
</div></div></div>
</td>
</tr>
</table>
<table
class='html_block block-10'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'><div
style='color:#c1292e; font-size:14px; font-weight:600'
>
<p>Esta é uma mensagem automática. Por
favor não responda este e-mail.</p>
</div></div></div>
</td>
</tr>
</table>
<table
class='html_block block-11'
width='100%'
border='0'
cellpadding='0'
cellspacing='0'
role='presentation'
style='mso-table-lspace: 0pt; mso-table-rspace: 0pt;'
>
<tr>
<td class='pad'>
<div
style='font-family:Arial, Helvetica, sans-serif;text-align:center;'
align='center'
><div class='our-class'>
</div></div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table><!-- End -->
</body>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
</head>
<body style='font-family: "Arial", sans-serif'>
<div style="display: block; text-align: center; justify-content: center">
<header style="padding-top: 70px; padding-bottom: 40px">
<img src="https://vagas-dev.s3.amazonaws.com/1683042170644logo2.png" alt="Logo">
</header>
<main>
<div style="border: 1px solid #ccc; width: 90vmin; padding-bottom: 50px; position: relative; margin: auto; margin-bottom: 10px">
<div style="background-color: #CBE0F4">
<img style="position: relative; top: 10px" src="https://vagas-dev.s3.amazonaws.com/1683059343660special-details1.png" alt="sucesso">
</div>
<div>
<h1 style="color: #046AD0; font-size: 48px">Senha redefinida</h1>
<div style="font-size: 24px; line-height: 32px; opacity: 0.8; padding-bottom: 30px">
<p style="margin: 0">Olá, {{name}}!</p>
<p style="margin: 0">Você redefiniu a sua senha.</p>
<p style="margin: 0">Obrigado por utilizar o nosso site.</p>
</div>
<div>
<span style="color: #046AD0; font-size: 18px">-Equipe SouJunior</span>
</div>
</div>
</div>
</main>
<footer >
<small>
<div style="color: #5D5F5D; padding-top: 30px; padding-bottom: 20px">
<p style="margin: 0">Volte para a página de login:</p>
<a style="color: #5D5F5D; text-decoration: none; line-height: 24px" href="https://vagas-front-end.netlify.app/login">
www.portaldevagas.com.br
</a>
</div>
<div style="color: #C1292E; font-size: 14px; font-weight: 600">
<p>Esta é uma mensagem automática. Por favor não responda este e-mail.</p>
</div>
</small>
</footer>
</div>
</body>
</html>
8 changes: 3 additions & 5 deletions src/modules/mails/templates/send.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@
<div>
<h1 style="color: #046AD0; font-size: 48px">Recuperação de senha</h1>
<div style="font-size: 24px; line-height: 32px; opacity: 0.8; padding-bottom: 30px">
<p style="margin: 0">Olá,{{name}}!</p>
<p style="margin: 0">Olá, {{name}}!</p>
<p style="margin: 0">Você solicitou a <strong>recuperação de senha</strong> para acesso ao seu perfil da plataforma <strong>SouJunior</strong>.</p>
<p style="margin: 0">Para criar uma nova senha de acesso, clique no botão abaixo.</p>
</div>
</div>
<a href="{{url}}" target="_blank">
<button style="background-color: #046AD0; color: #D7D9D7; padding: 12px 16px; border-style: none; border-radius: 8px">
<a style="background-color: #046AD0; color: #D7D9D7; padding: 12px 16px; border-style: none; border-radius: 8px; text-decoration: none; cursor: pointer" href="{{url}}">
Recuperar minha senha
</button>
</a>
</a>
</div>
</main>
<footer>
Expand Down

0 comments on commit 4bac15c

Please sign in to comment.