diff --git a/app/api/login/generateTokensUser/route.js b/app/api/login/generateTokensUser/route.js index 818f94b..2d83cf3 100644 --- a/app/api/login/generateTokensUser/route.js +++ b/app/api/login/generateTokensUser/route.js @@ -1,6 +1,5 @@ import { connectMongoDB } from "@/lib/mongodb"; import { NextResponse } from "next/server"; -import { UsersDetails } from "@/models/Userdetails"; import { UserToken } from "@/models/usertoken"; import jwt from "jsonwebtoken"; diff --git a/app/event1/leaderDash/page.js b/app/events/event1/leaderDash/page.js similarity index 100% rename from app/event1/leaderDash/page.js rename to app/events/event1/leaderDash/page.js diff --git a/app/event1/makeTeam/page.js b/app/events/event1/makeTeam/page.js similarity index 100% rename from app/event1/makeTeam/page.js rename to app/events/event1/makeTeam/page.js diff --git a/app/event1/memberDash/page.js b/app/events/event1/memberDash/page.js similarity index 100% rename from app/event1/memberDash/page.js rename to app/events/event1/memberDash/page.js diff --git a/app/event1/page.js b/app/events/event1/page.js similarity index 100% rename from app/event1/page.js rename to app/events/event1/page.js diff --git a/app/event1/teamCode/page.js b/app/events/event1/teamCode/page.js similarity index 100% rename from app/event1/teamCode/page.js rename to app/events/event1/teamCode/page.js diff --git a/app/event2/leaderDash/page.js b/app/events/event2/leaderDash/page.js similarity index 100% rename from app/event2/leaderDash/page.js rename to app/events/event2/leaderDash/page.js diff --git a/app/event2/makeTeam/page.js b/app/events/event2/makeTeam/page.js similarity index 100% rename from app/event2/makeTeam/page.js rename to app/events/event2/makeTeam/page.js diff --git a/app/event2/memberDash/page.js b/app/events/event2/memberDash/page.js similarity index 100% rename from app/event2/memberDash/page.js rename to app/events/event2/memberDash/page.js diff --git a/app/event2/page.js b/app/events/event2/page.js similarity index 100% rename from app/event2/page.js rename to app/events/event2/page.js diff --git a/app/event2/teamCode/page.js b/app/events/event2/teamCode/page.js similarity index 100% rename from app/event2/teamCode/page.js rename to app/events/event2/teamCode/page.js diff --git a/app/event3/page.js b/app/events/event3/page.js similarity index 100% rename from app/event3/page.js rename to app/events/event3/page.js diff --git a/app/event4/page.js b/app/events/event4/page.js similarity index 100% rename from app/event4/page.js rename to app/events/event4/page.js diff --git a/app/event5/page.js b/app/events/event5/page.js similarity index 100% rename from app/event5/page.js rename to app/events/event5/page.js diff --git a/app/event6/page.js b/app/events/event6/page.js similarity index 100% rename from app/event6/page.js rename to app/events/event6/page.js diff --git a/app/page.jsx b/app/page.jsx index 361174f..f9c8eb8 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -1,10 +1,20 @@ +import Link from "next/link"; import UserInfo from "../components/UserInfo"; export default function Home() { return ( -