diff --git a/_lib/constants/index.ts b/_lib/constants/index.ts index 7506197..b4ba7fe 100644 --- a/_lib/constants/index.ts +++ b/_lib/constants/index.ts @@ -7,6 +7,7 @@ import { Footprints, TramFront, ClipboardPlus, + UsersRound, } from "lucide-react"; import { TravelOption } from "@/_lib/types"; import { OfferingType } from "@/app/(root)/private-sessions/_lib/types"; @@ -22,16 +23,6 @@ export const adminLinks = [{ name: "Admin", href: "/admin" }]; export const authenticatedLinks = [{ name: "Account", href: "/account" }]; -export const signUpLinks = { - crossFitDc: "https://crossfitdc.com/", - dcBoulderingProject: "https://www.dcboulderingproject.com/yoga-fitness", -}; - -export const locations = { - BOULDERING_PROJECT: "DC Bouldering Project", - CROSSFIT_DC: "CrossFit DC", -}; - export const eventFormBasicInfoDefaultValues = { category: "", endDateTime: "", @@ -89,6 +80,7 @@ export const adminDashboardLinks = [ { name: "New Event", path: "/admin/events/create", icon: ClipboardPlus }, { name: "Categories", path: "/admin/categories", icon: Boxes }, { name: "New Category", path: "/admin/categories/create", icon: Box }, + { name: "Users", path: "/admin/users", icon: UsersRound }, ]; export const TableEventManagementColumns = [ @@ -98,6 +90,14 @@ export const TableEventManagementColumns = [ "Actions", ]; +export const TableManageUsersColumns = [ + "First Name", + "Last Name", + "Email", + "UID", + "Actions", +]; + export const EventHistoryTableColumns = [ "Date", "Amount", diff --git a/app/(root)/private-sessions/_lib/constants.ts b/app/(root)/private-sessions/_lib/constants.ts index 534d7cc..7ed8712 100644 --- a/app/(root)/private-sessions/_lib/constants.ts +++ b/app/(root)/private-sessions/_lib/constants.ts @@ -4,7 +4,7 @@ import { } from "@/app/(root)/private-sessions/_lib/types"; export const INDIVIDUAL_OFFERINGS: OfferingType[] = [ - { + /*{ title: "0 Session", price: "1", description: "1 hour of training", @@ -15,7 +15,7 @@ export const INDIVIDUAL_OFFERINGS: OfferingType[] = [ "test Meditation", ], package: "test - Individual - 1 Session", - }, + },*/ { title: "1 Session", price: "115", diff --git a/app/admin/users/_components/ManageUsersTable.tsx b/app/admin/users/_components/ManageUsersTable.tsx new file mode 100644 index 0000000..17c7f96 --- /dev/null +++ b/app/admin/users/_components/ManageUsersTable.tsx @@ -0,0 +1,53 @@ +"use client"; + +import { FC } from "react"; +import { + Table, + TableBody, + TableColumn, + TableHeader, + TableRow, + Tooltip, +} from "@nextui-org/react"; +import { TableManageUsersColumns } from "@/_lib/constants"; +import { Trash2 } from "lucide-react"; + +const ManageUsersTable: FC = () => { + const users = []; + + return ( + <> +