From bac11332f8c518440faffbdc69700c3ca5e39727 Mon Sep 17 00:00:00 2001 From: r7projects-shayan Date: Sat, 22 Jun 2024 16:39:34 +0530 Subject: [PATCH] updated the student dashboard page --- client/src/Pages/Home.jsx | 61 +++++++++++++-------------------------- 1 file changed, 20 insertions(+), 41 deletions(-) diff --git a/client/src/Pages/Home.jsx b/client/src/Pages/Home.jsx index 16eaee7..486f72d 100644 --- a/client/src/Pages/Home.jsx +++ b/client/src/Pages/Home.jsx @@ -1,8 +1,8 @@ import React, { useEffect, useState } from "react"; -import {Modal , Button} from "flowbite-react"; +import { Modal, Button } from "flowbite-react"; import { useNavigate, Link } from "react-router-dom"; import { useCookies } from "react-cookie"; -import { HiOutlineExclamationCircle } from 'react-icons/hi'; +import { HiOutlineExclamationCircle } from "react-icons/hi"; import axios from "axios"; import { useContext } from "react"; import { AuthContext } from "../Components/Auth/AuthContext"; @@ -226,46 +226,30 @@ const Home = () => { )} - + ) : (

Student Perks:

)} -
-
  • - {" "} - Student Home -
  • -
  • - {" "} - Elective Subjects -
  • -
    + @@ -275,24 +259,19 @@ const Home = () => { - setModal(false)} - popup - size='md' - > + setModal(false)} popup size="md"> -
    - -

    +
    + +

    Are you sure you want to SignOut?

    -
    - -