Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 65 additions & 12 deletions supabase/templates/email-change.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,65 @@
<h2>Confirm email change</h2>

<p>
Follow this link to confirm the update of your email from {{ .Email }} to {{
.NewEmail }}:
</p>
<p>
<a
href="{{ .SiteURL }}/confirm?token_hash={{ .TokenHash }}&type=email_change&next=/profile"
>Change email</a
>
</p>
<html>
<head>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
background: #f5f7fa;
color: #000000;
font-family: 'Montserrat', sans-serif;
}

.email-page {
padding: 3rem 3rem;
background: #f5f7fa;
}

.email-card {
max-width: 640px;
margin: 0 auto;
padding: 32px;
border-radius: 5px;
background: #ffffff;
}

.email-logo {
display: block;
width: 160px;
max-width: 100%;
height: auto;
margin-bottom: 24px;
}

h2 {
font-weight: 700;
font-size: 1.5rem;
}

p {
font-weight: 400;
font-size: 1rem;
}
</style>
</head>
<body>
<div class="email-page">
<div class="email-card">
<img class="email-logo" src="{{ .SiteURL }}/path.png" alt="PATH logo" />
<h2>Confirm email change</h2>

<p>
Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:
</p>
<p>
<a
href="{{ .SiteURL }}/confirm?token_hash={{ .TokenHash }}&type=email_change&next=/profile"
>Change email</a
>
</p>
</div>
</div>
</body>
</html>
72 changes: 63 additions & 9 deletions supabase/templates/password-reset.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,63 @@
<h2>Reset password</h2>

<p>Follow this link to confirm the update of your password:</p>
<p>
<a
href="{{ .SiteURL }}/confirm?token_hash={{ .TokenHash }}&type=recovery&next=/reset-password"
>Reset password</a
>
</p>
<html>
<head>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
background: #f5f7fa;
color: #000000;
font-family: 'Montserrat', sans-serif;
}

.email-page {
padding: 3rem 3rem;
background: #f5f7fa;
}

.email-card {
max-width: 640px;
margin: 0 auto;
padding: 32px;
border-radius: 5px;
background: #ffffff;
}

.email-logo {
display: block;
width: 160px;
max-width: 100%;
height: auto;
margin-bottom: 24px;
}

h2 {
font-weight: 700;
font-size: 1.5rem;
}

p {
font-weight: 400;
font-size: 1rem;
}
</style>
</head>
<body>
<div class="email-page">
<div class="email-card">
<img class="email-logo" src="{{ .SiteURL }}/path.png" alt="PATH logo" />
<h2>Reset password</h2>

<p>Follow this link to confirm the update of your password:</p>
<p>
<a
href="{{ .SiteURL }}/confirm?token_hash={{ .TokenHash }}&type=recovery&next=/reset-password"
>Reset password</a
>
</p>
</div>
</div>
</body>
</html>
70 changes: 62 additions & 8 deletions supabase/templates/sign-up.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,62 @@
<h2>Confirm sign-up</h2>

<p>Follow this link to confirm your sign-up:</p>
<p>
<a href="{{ .SiteURL }}/confirm?token_hash={{ .TokenHash }}&type=email"
>Confirm sign-up</a
>
</p>
<html>
<head>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
background: #f5f7fa;
color: #000000;
font-family: 'Montserrat', sans-serif;
}

.email-page {
padding: 3rem 3rem;
background: #f5f7fa;
}

.email-card {
max-width: 640px;
margin: 0 auto;
padding: 32px;
border-radius: 5px;
background: #ffffff;
}

.email-logo {
display: block;
width: 160px;
max-width: 100%;
height: auto;
margin-bottom: 24px;
}

h2 {
font-weight: 700;
font-size: 1.5rem;
}

p {
font-weight: 400;
font-size: 1rem;
}
</style>
</head>
<body>
<div class="email-page">
<div class="email-card">
<img class="email-logo" src="{{ .SiteURL }}/path.png" alt="PATH logo" />
<h2>Confirm sign-up</h2>

<p>Follow this link to confirm your sign-up:</p>
<p>
<a href="{{ .SiteURL }}/confirm?token_hash={{ .TokenHash }}&type=email"
>Confirm sign-up</a
>
</p>
</div>
</div>
</body>
</html>
Loading