Skip to content

Commit

Permalink
Fix: resolved local build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joywin2003 committed Oct 5, 2024
1 parent e372b72 commit eb9511e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion emails/user-registration-email-template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const TedxRegistrationEmail = ({ name, registrationLink }: TedxRegistrati
{/* Logo Section */}
<Section className="text-center">
<Img
src={`${tedxsjecAssetsPrefix}/logo/tedxsjec-logo.avif`} // Add the logo image URL here
src={`${tedxsjecAssetsPrefix}/logo/tedxsjec-logo.avif`}
alt="TEDxSJEC Logo"
className="mx-auto w-[150px] h-auto mb-[20px]"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/app/actions/submit-form.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/app/api/submit-form/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function POST(req: NextRequest, res: NextResponse) {
email,
contact,
designation,
photo,
photo: photo || "",
collegeIdCard,
entityName,
referralUsed,
Expand Down
3 changes: 2 additions & 1 deletion src/components/ui/hero-video-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -83,7 +84,7 @@ export default function HeroVideoDialog({
className="relative cursor-pointer group"
onClick={() => setIsVideoOpen(true)}
>
<img
<Image
src={thumbnailSrc}
alt={thumbnailAlt}
width={1920}
Expand Down

0 comments on commit eb9511e

Please sign in to comment.