diff --git a/emails/user-registration-email-template.tsx b/emails/user-registration-email-template.tsx index 9998f99..8c3de85 100644 --- a/emails/user-registration-email-template.tsx +++ b/emails/user-registration-email-template.tsx @@ -32,7 +32,7 @@ export const TedxRegistrationEmail = ({ name, registrationLink }: TedxRegistrati {/* Logo Section */}
TEDxSJEC Logo diff --git a/src/app/actions/submit-form.ts b/src/app/actions/submit-form.ts index 40734f3..4f51e99 100644 --- a/src/app/actions/submit-form.ts +++ b/src/app/actions/submit-form.ts @@ -1,6 +1,6 @@ "use server"; -import { FormDataInterface } from "@/components/registration-form"; +import { FormDataInterface } from "@/components/common/registration-form"; import { getServerSideSession } from "@/lib/get-server-session"; import prisma from "@/server/db"; diff --git a/src/app/api/submit-form/route.ts b/src/app/api/submit-form/route.ts index 7abaa15..b5ffb1a 100644 --- a/src/app/api/submit-form/route.ts +++ b/src/app/api/submit-form/route.ts @@ -55,7 +55,7 @@ export async function POST(req: NextRequest, res: NextResponse) { email, contact, designation, - photo, + photo: photo || "", collegeIdCard, entityName, referralUsed, diff --git a/src/components/ui/hero-video-dialog.tsx b/src/components/ui/hero-video-dialog.tsx index a0cf2c3..9c5a80e 100644 --- a/src/components/ui/hero-video-dialog.tsx +++ b/src/components/ui/hero-video-dialog.tsx @@ -5,6 +5,7 @@ import { AnimatePresence, motion } from "framer-motion"; import { Play, XIcon } from "lucide-react"; import { cn } from "@/lib/utils"; +import Image from "next/image"; type AnimationStyle = | "from-bottom" @@ -83,7 +84,7 @@ export default function HeroVideoDialog({ className="relative cursor-pointer group" onClick={() => setIsVideoOpen(true)} > -