From a2df27f9e0d693ae55c36eec04cab6ecadc404ac Mon Sep 17 00:00:00 2001 From: Claudio Sciotto Date: Sat, 26 Oct 2024 23:07:17 -0400 Subject: [PATCH] Updated add, edit, delete dashboard --- src/app/dashboard/page.tsx | 2 +- src/app/dashboard/projects/add/page.tsx | 13 +++++++ src/app/dashboard/projects/edit/page.tsx | 13 +++++++ src/app/dashboard/projects/page.tsx | 43 ++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 src/app/dashboard/projects/add/page.tsx create mode 100644 src/app/dashboard/projects/edit/page.tsx create mode 100644 src/app/dashboard/projects/page.tsx diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index e337ac0..91d5b7b 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -25,7 +25,7 @@ export default function Dashboard() {

Edit Projects

diff --git a/src/app/dashboard/projects/add/page.tsx b/src/app/dashboard/projects/add/page.tsx new file mode 100644 index 0000000..cb29a00 --- /dev/null +++ b/src/app/dashboard/projects/add/page.tsx @@ -0,0 +1,13 @@ +"use client"; + + +import ProtectedRoute from "@/components/auth/ProtectedRoute"; +import AddForm from "@/components/Forms/AddForm"; + +export default function projects() { + return ( + + + + ); +} diff --git a/src/app/dashboard/projects/edit/page.tsx b/src/app/dashboard/projects/edit/page.tsx new file mode 100644 index 0000000..641439b --- /dev/null +++ b/src/app/dashboard/projects/edit/page.tsx @@ -0,0 +1,13 @@ +"use client"; + + +import ProtectedRoute from "@/components/auth/ProtectedRoute"; +import EditForm from "@/components/Forms/EditForm"; + +export default function projects() { + return ( + + + + ); +} diff --git a/src/app/dashboard/projects/page.tsx b/src/app/dashboard/projects/page.tsx new file mode 100644 index 0000000..561ce53 --- /dev/null +++ b/src/app/dashboard/projects/page.tsx @@ -0,0 +1,43 @@ +"use client"; + +import { BsFillGearFill, BsFillPlusSquareFill } from "react-icons/bs"; +import Link from "next/link"; +import ProtectedRoute from "@/components/auth/ProtectedRoute"; + +export default function projects() { + return ( + +
+

Dashboard

+
+
    + +

    Add Projects

    + + + +

    + Add new club projects +

    + + +

    Edit/Delete Projects

    + + + +

    + Update and Delete club projects. +

    + + +
+
+
+ ); +}