Last touch before launch
This commit is contained in:
parent
46ccdf6666
commit
5d9eae3ef7
3 changed files with 8 additions and 3 deletions
|
|
@ -178,8 +178,8 @@ tabloRouter.post("/create-and-invite", async (c) => {
|
|||
const { data: insertedTablo, error } = await supabase
|
||||
.from("tablos")
|
||||
.insert({
|
||||
name: `${ownerDataTyped.name || "Propriétaire"} / ${
|
||||
invitedUserDataTyped.name || "Invité"
|
||||
name: `${invitedUserDataTyped.name || "Invité"} / ${
|
||||
ownerDataTyped.name || "Propriétaire"
|
||||
}`,
|
||||
color: "bg-blue-500",
|
||||
status: "todo",
|
||||
|
|
@ -244,6 +244,7 @@ tabloRouter.post("/create-and-invite", async (c) => {
|
|||
// Send email notifications to both owner and invited user
|
||||
// Send email to the owner
|
||||
await transporter.sendMail({
|
||||
from: "Xtablo <noreply@xtablo.com>",
|
||||
to: ownerDataTyped.email,
|
||||
subject: "Nouveau tablo créé - Réservation confirmée",
|
||||
html: `
|
||||
|
|
@ -264,6 +265,7 @@ tabloRouter.post("/create-and-invite", async (c) => {
|
|||
|
||||
// Send email to the invited user
|
||||
await transporter.sendMail({
|
||||
from: "Xtablo <noreply@xtablo.com>",
|
||||
to: invitedUserDataTyped.email,
|
||||
subject: "Réservation confirmée - Nouveau tablo créé",
|
||||
html: `
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ userRouter.post("/mark-temporary", async (c) => {
|
|||
try {
|
||||
if (profile?.email) {
|
||||
const mailOptions = {
|
||||
from: process.env.EMAIL_USER,
|
||||
from: "Xtablo <noreply@xtablo.com>",
|
||||
to: profile.email,
|
||||
subject: "Bienvenue sur XTablo - Votre mot de passe temporaire",
|
||||
text: `Bienvenue sur XTablo !
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ import { Header } from "@ui/components/header";
|
|||
import { Link } from "react-router-dom";
|
||||
|
||||
export const LandingPage = () => {
|
||||
window.location.href = "https://www.xtablo.com";
|
||||
return null;
|
||||
|
||||
localStorage.setItem("xtablo-has-seen-landing-page", "true");
|
||||
|
||||
const CheckIcon = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue