chore: email template
This commit is contained in:
parent
03febb1364
commit
c03741c396
|
@ -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);
|
||||
|
|
56
supabase/email template.html
Normal file
56
supabase/email template.html
Normal file
|
@ -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>
|
|
@ -1,10 +0,0 @@
|
|||
"use server";
|
||||
|
||||
import { cookies } from "next/headers";
|
||||
import { createClient } from "@/utils/supabase/server";
|
||||
|
||||
export const signOut = async () => {
|
||||
const cookieStore = cookies();
|
||||
const supabase = createClient(cookieStore);
|
||||
await supabase.auth.signOut();
|
||||
};
|
Loading…
Reference in New Issue
Block a user