diff --git a/app/admin/login/page.tsx b/app/admin/login/page.tsx index 0e68d59..b026bd6 100644 --- a/app/admin/login/page.tsx +++ b/app/admin/login/page.tsx @@ -1,77 +1,58 @@ "use client"; -import { useSession, signIn } from "next-auth/react"; -import { useRouter } from "next/navigation"; -import { useEffect } from "react"; +import { useState } from "react"; +import { Input } from "@/components/ui/input"; +import { Label } from "@/components/ui/label"; +import { Button } from "@/components/ui/button"; export default function AdminLoginPage() { - const { data: session, status } = useSession(); - const router = useRouter(); + const [email, setEmail] = useState(""); + const [password, setPassword] = useState(""); - useEffect(() => { - if (session) { - router.push("/admin"); - } - }, [session, router]); - - if (status === "loading" || status === "authenticated") { - return ( -
- Loading... -
- ); - } + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log({ email, password }); + }; return ( -
-
-

- Admin Login -

+
+
+
+

Admin Login

+

+ Sign in to access the admin dashboard +

+
+ +
+
+ + setEmail(e.target.value)} + placeholder="admin@example.com" + required + /> +
-

- Sign in to access the dashboard -

+
+ + setPassword(e.target.value)} + placeholder="••••••••" + required + /> +
- + +
); diff --git a/app/apply/page.tsx b/app/apply/page.tsx index 1ac0232..725f9cf 100644 --- a/app/apply/page.tsx +++ b/app/apply/page.tsx @@ -1,30 +1,45 @@ -import Link from "next/link"; -import PublicLayout from "@/components/layout/PublicLayout"; +import { useState } from "react"; -export default function ApplyPage() { +const cards = [ + { id: "startup", label: "STARTUP\nAPPLICATION", href: "/apply/startup" }, + { id: "org", label: "ORG/COMPANY\nPROJECT FORM", href: "/apply/org" }, + { id: "student", label: "STUDENT/PRODUCT\nTEAM SKILLS FORM [Mock for now]", href: "#" }, +]; + +export default function StrategicLeadersPage() { return ( - -
-

Apply

-

- Choose the application you want to start. +

+ +
+
+ +
+

+ Apply to Join a Private
+ + Network of Strategic Leaders + + +

+

+ Learn from our executive strategy playbook
+ and get access to our network of strategic leaders.

+
-
-

Application Types

-
- - Startup Application - - - Org Application - - - Team Application - -
-
+
+ {cards.map((card) => ( + + + {card.label} + + + ))}
- +
); } \ No newline at end of file diff --git a/app/leaders/page.tsx b/app/leaders/page.tsx index 4e7fa36..92eabe9 100644 --- a/app/leaders/page.tsx +++ b/app/leaders/page.tsx @@ -1,3 +1,5 @@ +'use client'; + import React from 'react'; import LeaderCard2 from '@/components/ui/LeaderCard2'; import PublicLayout from '@/components/layout/PublicLayout'; @@ -55,7 +57,6 @@ const team = [ export default function Leaders() { return ( -