diff --git a/app/_components/Home/Eligibility/index.jsx b/app/_components/Home/Eligibility/index.jsx
index 42996b4..c282ba1 100644
--- a/app/_components/Home/Eligibility/index.jsx
+++ b/app/_components/Home/Eligibility/index.jsx
@@ -1,5 +1,5 @@
-// TODO: Create a Eligibility component.
export default function Eligibility() {
+ const url = "https://teams.microsoft.com/l/message/19:4f089d55432e44b7b05e71c61a7b9bf8@thread.v2/1723704794568?context=%7B%22contextType%22%3A%22chat%22%7D";
return (
+
);
-}
+}
\ No newline at end of file
diff --git a/app/_components/Home/Hero/index.jsx b/app/_components/Home/Hero/index.jsx
index 4921ec4..d3041e4 100644
--- a/app/_components/Home/Hero/index.jsx
+++ b/app/_components/Home/Hero/index.jsx
@@ -1,7 +1,10 @@
+"use client";
import Image from "next/image";
import HackathonImage from "../../../../public/images/AIBot.png";
+import { useRouter } from 'next/navigation';
export default function Home() {
+ const router = useRouter();
return (
@@ -22,17 +25,19 @@ export default function Home() {
@@ -43,6 +48,6 @@ export default function Home() {
/>
-
+
);
}
diff --git a/app/_components/Register/index.jsx b/app/_components/Register/index.jsx
index 7139331..b67fef9 100644
--- a/app/_components/Register/index.jsx
+++ b/app/_components/Register/index.jsx
@@ -114,6 +114,49 @@ const Register = () => {
const onClose = () => {
setTicketData((prev) => ({ ...prev, display: false }));
+ stepData = {
+ step1: { teamName: null, link: null },
+ step2: {
+ name: null,
+ email: null,
+ contact: null,
+ uniID: null,
+ academicYear: null,
+ faculty: null,
+ img: null,
+ imgUrl: null,
+ },
+ step3: {
+ name: null,
+ email: null,
+ contact: null,
+ uniID: null,
+ academicYear: null,
+ faculty: null,
+ img: null,
+ imgUrl: null,
+ },
+ step4: {
+ name: null,
+ email: null,
+ contact: null,
+ uniID: null,
+ academicYear: null,
+ faculty: null,
+ img: null,
+ imgUrl: null,
+ },
+ step5: {
+ name: null,
+ email: null,
+ contact: null,
+ uniID: null,
+ academicYear: null,
+ faculty: null,
+ img: null,
+ imgUrl: null,
+ },
+ };
router.push('/');
};
diff --git a/app/_components/Register/step2/index.jsx b/app/_components/Register/step2/index.jsx
index 0e7568d..9e5a7e3 100644
--- a/app/_components/Register/step2/index.jsx
+++ b/app/_components/Register/step2/index.jsx
@@ -164,7 +164,7 @@ const Step2 = (props) => {
-
+ {/*
{
-
+
*/}
diff --git a/app/_components/Register/step3/index.jsx b/app/_components/Register/step3/index.jsx
index ef12145..2e8cc3b 100644
--- a/app/_components/Register/step3/index.jsx
+++ b/app/_components/Register/step3/index.jsx
@@ -164,7 +164,7 @@ const Step4 = (props) => {
-
+ {/*
{
-
+
*/}
diff --git a/app/_components/Register/step4/index.jsx b/app/_components/Register/step4/index.jsx
index 0020c39..09dfb77 100644
--- a/app/_components/Register/step4/index.jsx
+++ b/app/_components/Register/step4/index.jsx
@@ -165,7 +165,7 @@ const Step4 = (props) => {
-
+ {/*
{
-
+
*/}
diff --git a/app/_components/Register/step5/index.jsx b/app/_components/Register/step5/index.jsx
index 43e4992..b2ff6c8 100644
--- a/app/_components/Register/step5/index.jsx
+++ b/app/_components/Register/step5/index.jsx
@@ -179,7 +179,7 @@ const Step5 = (props) => {
-
+ {/*
{
-
+
*/}
diff --git a/app/_components/Register/step6/index.jsx b/app/_components/Register/step6/index.jsx
index 5654639..3a53deb 100644
--- a/app/_components/Register/step6/index.jsx
+++ b/app/_components/Register/step6/index.jsx
@@ -41,7 +41,7 @@ const step6 = (props) => {
{contextHolder}
- Processing...
+ Generating Registration Ticket ...
);
diff --git a/components/Share/index.jsx b/components/Share/index.jsx
index d62ed38..fc1ddac 100644
--- a/components/Share/index.jsx
+++ b/components/Share/index.jsx
@@ -1,50 +1,51 @@
import React from "react";
-import {
- FacebookShareButton,
- FacebookIcon,
- TwitterShareButton,
- TwitterIcon,
- RedditShareButton,
- RedditIcon,
- WhatsappShareButton,
- WhatsappIcon,
- LinkedinShareButton,
- LinkedinIcon,
- TelegramIcon,
- TelegramShareButton
+import {
+ FacebookShareButton,
+ FacebookIcon,
+ TwitterShareButton,
+ TwitterIcon,
+ RedditShareButton,
+ RedditIcon,
+ WhatsappShareButton,
+ WhatsappIcon,
+ LinkedinShareButton,
+ LinkedinIcon,
+ TelegramIcon,
+ TelegramShareButton
} from "react-share";
import { useDisplaySize } from "../../hooks";
function Share({ url, title }) {
+ console.log(url, "url from share");
const dSize = useDisplaySize();
const size = dSize === 0 ? 35 : 64;
-
+
return (
-
+
Share
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/components/TeamTicket/index.jsx b/components/TeamTicket/index.jsx
index 3e679fe..429c944 100644
--- a/components/TeamTicket/index.jsx
+++ b/components/TeamTicket/index.jsx
@@ -112,8 +112,9 @@ const TeamTicket = (props, this_ref) => {
- {getMembers().map((member, index) => {
- return (
+ {getMembers()
+ .filter(member => member.name) // Filter out members with an empty or undefined name
+ .map((member, index) => (
{
{member.name}
- );
- })}
+ ))}
diff --git a/components/TicketPopup/index.jsx b/components/TicketPopup/index.jsx
index 568d8b4..b8427f5 100644
--- a/components/TicketPopup/index.jsx
+++ b/components/TicketPopup/index.jsx
@@ -115,7 +115,7 @@ function TicketPopup({
/>
}
-
+ {/* */}