Skip to content

Commit

Permalink
chore: email template
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Feb 14, 2024
1 parent 03febb1 commit c03741c
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 10 deletions.
1 change: 1 addition & 0 deletions components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const Settings = ({ lng }: { lng: string }) => {
upstreamUrl: "",
},
];
//https://freeapi.iil.im sk-GdUOBeCCCpeB16G877C8C62b849c4653A561550bEb79Fe7e
//redux
const dispatch = useAppDispatch();
const apiKey = useAppSelector((state) => state.auth.apiKey);
Expand Down
56 changes: 56 additions & 0 deletions supabase/email template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Confirm Your Signup</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
}
.container {
background-color: #fff;
max-width: 600px;
margin: 0 auto;
padding: 20px;
text-align: center;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
}
p {
color: #666;
}
.button {
display: inline-block;
margin-top: 20px;
padding: 10px 20px;
background-color: #28a745;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to PaperAI!</h1>
<p>
You're almost ready to start exploring all the powerful features of
PaperAI, including AI writing, literature search, and more.
</p>
<p>
Please click the button below to confirm your signup and activate your
account:
</p>
<a href="{{ .ConfirmationURL }}" class="button">Confirm Signup</a>
<p>
If you didn't sign up for a PaperAI account, please ignore this email.
</p>
</div>
</body>
</html>
10 changes: 0 additions & 10 deletions utils/supabase/serversignout.ts

This file was deleted.

0 comments on commit c03741c

Please sign in to comment.