Skip to content

Commit

Permalink
samePage
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyush3124 committed Mar 13, 2024
1 parent 2ddf9d2 commit 4a83fb2
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/api/login/generateTokensUser/route.js
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 11 additions & 1 deletion app/page.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@

import Link from "next/link";
import UserInfo from "../components/UserInfo";

export default function Home() {
return (

<div><UserInfo/></div>
<div className="flex flex-col">
<Link href="/events/event1"> Go to Event 1</Link>
<Link href="/events/event2"> Go to Event 2</Link>
<Link href="/events/event3"> Go to Event 3</Link>
<Link href="/events/event4"> Go to Event 4</Link>
<Link href="/events/event5"> Go to Event 5</Link>
<Link href="/events/event6"> Go to Event 6</Link>
<Link href="/events/event7"> Go to Event 7</Link>
</div>

)
}

0 comments on commit 4a83fb2

Please sign in to comment.