diff --git a/src/assets/pictures/Navbar/GitHubLogo.png b/src/assets/pictures/Navbar/GitHubLogo.png deleted file mode 100644 index 3281bcfe..00000000 Binary files a/src/assets/pictures/Navbar/GitHubLogo.png and /dev/null differ diff --git a/src/assets/pictures/Navbar/GithubLogo.svg b/src/assets/pictures/Navbar/GithubLogo.svg deleted file mode 100644 index 2af16410..00000000 --- a/src/assets/pictures/Navbar/GithubLogo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/pictures/Navbar/NavbarImg.png b/src/assets/pictures/Navbar/NavbarImg.png deleted file mode 100644 index 40e09eae..00000000 Binary files a/src/assets/pictures/Navbar/NavbarImg.png and /dev/null differ diff --git a/src/assets/pictures/Navbar/invoice.html b/src/assets/pictures/Navbar/invoice.html deleted file mode 100644 index d84659cf..00000000 --- a/src/assets/pictures/Navbar/invoice.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - Document - - - - - - -
-
-
- -

Invoice Number: EDI123456

-
-
-
-
- Details -
- Invoice Number......EDI123456 -
- Invoice Date...........21 Mar 2024 -
- Billing ID...............4023-9583-9133 -
- Domain Name........edilitics.com -
- Subscription...........Mar-Apr 2024 (1 Month) -
- Purchased Plan......Teams Full Suite (4 users) -
-
- Payment Summary -
- Total Amount: $269.00/- -
- Paid Amount: $269.00/- -
- Bal Amount: $0.0 -
-
- Card Type: HDFC (***1234) -
- Date Paid On: 21 March 2024 -
-
-
-
-
- Bill To -
- Raoul Pinto -
- Decision Sciences & Analytics Private Limited -
- G-3, B-wing, 3rd Floor -
- Annapurna CHSL, 1st Road, Santacruz East -
- Mumbai, Maharashtra 400055 -
- India -
- Place of Supply/State Code: 27 -
-
-
-
- - - - - - - - - - - - - - - - - -
DescriptionUnit PriceQuantityAmount
Teams Full Suite
Modules - Replicate | Transform | Visualize
$1004$400
-
-
- Total Amount: $400 -
-
- -
- - - \ No newline at end of file diff --git a/src/assets/pictures/Navbar/profilePlaceholderImage.png b/src/assets/pictures/Navbar/profilePlaceholderImage.png new file mode 100644 index 00000000..ddbfd7f1 Binary files /dev/null and b/src/assets/pictures/Navbar/profilePlaceholderImage.png differ diff --git a/src/components/private/infoBanner/Landing.css b/src/components/private/infoBanner/Landing.css deleted file mode 100644 index ade89fb4..00000000 --- a/src/components/private/infoBanner/Landing.css +++ /dev/null @@ -1,309 +0,0 @@ -@import url("https://fonts.googleapis.com/css2?family=Inter:wght@800&display=swap"); - -.landing_parent { - padding-top: 10rem; - display: flex; - flex-direction: column; - min-height: 90dvh; -} - -.Landing_bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - max-width: 100vw; - object-fit: cover; - height: 100vh; - max-height: 100vh; -} - -.landing_promo { - display: inline-flex; - padding: 5px 24px; - align-items: center; - gap: 10px; - border-radius: 32px; - border: 1px solid var(--headsup-stroke, rgba(215, 86, 54, 0.766)); - background: var(--Neutral-G10, #fbfbfb); - font-family: var(--outfit); - margin: auto; - cursor: pointer; - z-index: 3; - transition: all 0.2s ease-in-out; - color: black; - font-size: 16px; -} - -.landing_promo:hover { - -webkit-box-shadow: 0px 0px 29px 7px rgba(255, 124, 90, 0.44); - -moz-box-shadow: 0px 0px 29px 7px rgba(255, 124, 90, 0.44); - box-shadow: 0px 0px 29px 7px rgba(255, 124, 90, 0.44); - transition: all 0.2s ease-in-out; - border: 1px solid var(--headsup-stroke, rgb(215, 86, 54)); -} - -.landing_parent > h1 { - color: var(--Brand-brand-900, #6b2615); - text-align: center; - font-family: "Montserrat", sans-serif; - font-size: 6rem; - margin-top: 6rem; - font-style: normal; - font-weight: 800; - - text-transform: capitalize; - z-index: 3; -} - -.landing_parent > h1 > span { - color: var(--Brand-brand-500, #ff5b31); -} - -.landing_parent > h2 { - color: var(--Brand-brand-900, #6b2615); - font-family: "Poppins", sans-serif; - font-size: 20px; - font-style: normal; - font-weight: 400; - line-height: 24.18px; /* 100.75% */ - letter-spacing: 1.2px; - text-align: center; - width: 55%; - margin: auto; - margin-top: 1rem; - z-index: 3; -} - -.landing_parent > h2 > span { - color: var(--Brand-brand-500, #ff5b31); -} - -.landing_signup { - margin: auto; - z-index: 3; - margin-top: 4rem; - width: auto !important; - padding: 0.7rem 2rem; -} - -.landing_signup:hover { - background: var(--Brand-brand-500, #ff5b31); - box-shadow: - 0px 0px 1.17px 0px #ff5a30, - 0px 0px 8.191px 0px #ff5a30, - 0px 0px 28.084px 0px #ff5a30; - transition: all 0.3s ease-in-out; -} - -.landing_signup > span { - font-size: 20px; -} - -.landing_marque { - width: 50% !important; - margin: auto; - margin-top: 4rem; -} - -.landing_marque_pill { - background-color: white; - border-radius: 50px; - padding: 5px 10px; - display: inline-flex; - align-items: center; - gap: 10px; - width: fit-content; - font-family: var(--outfit); - cursor: pointer; - z-index: 3; - border: 1px solid var(--headsup-stroke, rgba(215, 86, 54, 0.103)); - font-size: 15px; - color: black; - margin: 0 20px; -} - -.landing_marque_pill > img { - width: 35px; - aspect-ratio: 1/1; - object-fit: cover; - border-radius: 50%; -} - -@media screen and (max-width: 500px) { - .landing_parent { - padding-top: 8rem; - height: auto; - padding-left: 1rem; - padding-right: 1rem; - } - - .landing_parent > h1 { - font-size: 2.9rem; - margin-top: 4rem; - } - - .landing_parent > h2 { - font-size: 17px; - width: 100%; - } - - .landing_signup { - z-index: 3; - margin-top: 4rem; - width: auto !important; - padding: 0.7rem 2rem; - } - - .landing_signup > span { - font-size: 18px; - } - - .landing_marque { - display: none !important; - } -} - -/* MilaninfoBanner stylings below */ - -.mib_mainparent { - margin-top: 7rem; - margin-bottom: 5rem; - padding: 0 20.5px; -} - -.mib_top_intro { - display: flex; - justify-content: center; - flex-direction: column; - align-items: center; - gap: 1rem; -} - -.mib_top_intro > h1 { - font-size: 25px; - font-weight: 900; - - color: #e26959; - background-image: -webkit-linear-gradient(45deg, #e26959 20%, #28183b 60%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - font-family: "Inter", sans-serif; - letter-spacing: 1px; -} - -.mib_collab_bottom_middle { - display: flex; - justify-content: center; - flex-direction: column; - align-items: center; - gap: 1rem; -} - -.mib_collab_bottom_middle > h1 { - font-size: 50px; - color: #28183b; - font-weight: 900; - font-family: "Inter", sans-serif; - text-align: center; -} - -.mib_collab_bottom_middle > p { - font-family: "Poppins", sans-serif; - color: black; - font-size: 18px; - margin-top: 0px; - letter-spacing: 1px; - width: 70%; - text-align: center; -} - -.mib_sidewise { - display: flex; - flex-direction: row; - gap: 8rem; - width: 85%; - margin-top: 4rem; - align-items: center; - margin-bottom: 12rem; -} - -.mib_collab_bottom_left > img { - width: 400px; -} - -.mib_collab_bottom_right h1 { - font-size: 28px; - color: #28183b; - font-weight: 800; - font-family: "Inter", sans-serif; -} - -.mib_collab_bottom_right p { - font-family: "Poppins", sans-serif; - color: black; - font-size: 16px; - margin-top: 0px; - letter-spacing: 1px; -} - -@media screen and (max-width: 500px) { - .mib_mainparent { - padding: 0 10.5px; - } - - .mib_top_intro > h1 { - font-size: 23px; - font-weight: 900; - } - - .mib_collab_bottom_middle > h1 { - font-size: 45px; - line-height: 50px; - margin-top: 1rem; - } - - .mib_collab_bottom_middle > p { - font-size: 17px; - width: 95%; - } - - .mib_sidewise { - display: flex; - flex-direction: column-reverse; - gap: 2rem; - width: 100%; - margin-bottom: 7rem; - } - - .mib_collab_bottom_right h1 { - text-align: center; - font-size: 25px; - } - - .mib_collab_bottom_right p { - font-family: "Poppins", sans-serif; - font-size: 16px; - text-align: center; - } - - .mib_collab_bottom_left > img { - width: 90%; - } - - .mib_collab_parent:nth-child(3) - > .mib_collab_bottom - > .mib_sidewise - > .mib_collab_bottom_left { - display: none; - } -} - -.homebanner_parent { - position: relative; -} - -.homebanner_bg { - max-width: 100%; -} diff --git a/src/components/private/infoBanner/Landing.jsx b/src/components/private/infoBanner/Landing.jsx deleted file mode 100644 index 1266a7b2..00000000 --- a/src/components/private/infoBanner/Landing.jsx +++ /dev/null @@ -1,170 +0,0 @@ -import Cookies from "js-cookie"; -import React, { useEffect, useState } from "react"; -import Marquee from "react-fast-marquee"; -import Vector from "../../assets/pictures/Banner/Vector.png"; -import Button from "../Button/GlobalButton/Button"; -import "./Landing.css"; - -const Landing = () => { - const [windowWidth, setWindowWidth] = useState(window.innerWidth); - - useEffect(() => { - const handleResize = () => { - setWindowWidth(window.innerWidth); - }; - - window.addEventListener("resize", handleResize); - - return () => { - window.removeEventListener("resize", handleResize); - }; - }, []); - return ( - <> -
- -
- - - - - - - - - - - - - {" "} - {windowWidth > 430 - ? "We are OpenSource, you can contribute too!" - : "We are OpenSource"}{" "} - -
- -

- Collaborate. Connect. Build. -

- - {windowWidth > 430 ? ( -

- NgoWorld is an OpenSource platform to connect NGOs, - Charities, and you to collaborate and{" "} - build a better tomorrow. -

- ) : ( -

- A platform to connect NGOs, charities and you to build a better - tomorrow. -

- )} - - -
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - -
- - ); -}; - -export default Landing; diff --git a/src/components/private/landing/Landing.css b/src/components/private/landing/Landing.css deleted file mode 100644 index e69de29b..00000000 diff --git a/src/components/private/landing/Landing.jsx b/src/components/private/landing/Landing.jsx index 54c14e80..2e77421b 100644 --- a/src/components/private/landing/Landing.jsx +++ b/src/components/private/landing/Landing.jsx @@ -90,64 +90,3 @@ const Landing = () => { }; export default Landing; - -{ - /* -
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
- - Sruti foundation -
-
*/ -} diff --git a/src/components/shared/navbar/Navbar.jsx b/src/components/shared/navbar/Navbar.jsx index 76016289..ae6a7f45 100644 --- a/src/components/shared/navbar/Navbar.jsx +++ b/src/components/shared/navbar/Navbar.jsx @@ -1,3 +1,4 @@ +import profileImage from "@/assets/pictures/Navbar/profilePlaceholderImage.png"; import Cookies from "js-cookie"; import { useEffect, useState } from "react"; import { FaChevronRight } from "react-icons/fa6"; @@ -6,7 +7,7 @@ import { RxCross2 } from "react-icons/rx"; import { useDispatch, useSelector } from "react-redux"; import { Link, useLocation, useNavigate } from "react-router-dom"; import navbarbrand from "../../../assets/pictures/Navbar/MilanNavBrand.svg"; -import { resetUserData } from "../../../redux/slice/userSlice"; +import { resetUserData, selectUser } from "../../../redux/slice/userSlice"; import { Logout } from "../../../service/MilanApi"; import { showErrorToast, showSuccessToast } from "../../../utils/Toasts"; import Button from "../buttons/globalbutton/Button"; @@ -40,8 +41,7 @@ const Navbar = () => { const navigate = useNavigate(); const dispatch = useDispatch(); const isLoggedIn = useSelector((state) => state.user.isLoggedIn); - const userType = useSelector((state) => state.user.userType); - const userName = useSelector((state) => state.user.userName); + const user = useSelector(selectUser); const [windowWidth, setWindowWidth] = useState(window.innerWidth); const [isNavbarOpen, setIsNavbarOpen] = useState(false); @@ -67,14 +67,12 @@ const Navbar = () => { if (data?.status === 200) { showSuccessToast(data?.data?.message); - navigate("/"); dispatch(resetUserData()); - Cookies.remove("skipProfileCompletion"); localStorage.clear(); document .querySelector(".nav_dropdown") - .classList.toggle("nav_dropdown_visible"); + .classList.remove("nav_dropdown_visible"); } else { showErrorToast(data?.message); } @@ -108,7 +106,7 @@ const Navbar = () => { {Cookies.get("Token") && isLoggedIn ? ( { {!isNavbarOpen && (Cookies.get("Token") ? ( { @@ -160,6 +158,7 @@ const Navbar = () => { toggleNavbar(); }} /> + {Links.map((item, index) => { return (
@@ -180,34 +179,40 @@ const Navbar = () => { ); })} - + {isLoggedIn ? ( + <> +
+ + {user?.userType === "individual" + ? "Profile" + : "Dashboard"} + +
+
+

{ + handleLogout(); + setIsNavbarOpen(false); + }} + > + Logout +

+
+ + ) : ( + + )}
)}
- Hello @{userName} + Hello @{user?.userName}
{ >
- {userType === "individual" ? "Your Profile" : "Dashboard"} - ⇧⌘{userType === "club" ? "D" : "P"} + {user?.userType === "individual" ? "Your Profile" : "Dashboard"} - {userType === "club" ? ( - - Your Events ⌘E - + {user?.userType === "club" ? ( + Your Events ) : null} - - Settings ⌘S - + Settings
{ aria-orientation="horizontal" className="myaccount_separator" >
- GitHub Support - Api -
-
-
{ handleLogout(); diff --git a/src/components/shared/navbar/Navbar.scss b/src/components/shared/navbar/Navbar.scss index 93dc73bf..574b2816 100644 --- a/src/components/shared/navbar/Navbar.scss +++ b/src/components/shared/navbar/Navbar.scss @@ -5,6 +5,7 @@ align-items: center; justify-content: space-between; z-index: 100; + position: relative; @media screen and (max-width: 430px) { padding: 0.8rem 1.5rem; @@ -31,8 +32,8 @@ .navbar_link { color: #8c321b; - font-weight: 600; - font-family: "Poppins", sans-serif; + font-weight: 500; + font-family: var(--outfit); text-decoration: none; font-size: 17px; line-height: 1; @@ -127,6 +128,7 @@ justify-content: center; position: absolute; top: 20%; + align-items: center; padding-top: 2rem; .navbar_mobile_link { @@ -136,6 +138,11 @@ text-decoration: none; font-size: 17px; line-height: 1; + margin: 0; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; } .navbar_mobile_cta { @@ -145,6 +152,8 @@ gap: 5px; padding: 0.5rem 1rem; width: auto; + display: flex; + align-items: center; } .navbar_mobile_close { @@ -178,7 +187,6 @@ display: flex; flex-direction: column; justify-content: center; - color: var(--secondary); .name { font-family: var(--outfit); @@ -194,11 +202,11 @@ .myaccount_separator { width: 100%; height: 1px; - background-color: #e2e5e871; + background-color: #e2e5e883; } a { - color: var(--secondary); + color: var(--Brand-brand-900, #6b2615); font-weight: 400; font-family: var(--outfit); text-decoration: none; diff --git a/src/components/shared/profileCompletion/ProfileCompletion.jsx b/src/components/shared/profileCompletion/ProfileCompletion.jsx index be287fca..52e1e2c3 100644 --- a/src/components/shared/profileCompletion/ProfileCompletion.jsx +++ b/src/components/shared/profileCompletion/ProfileCompletion.jsx @@ -1,18 +1,18 @@ /* eslint-disable no-unused-vars */ -import { useState } from "react"; -import { useDispatch, useSelector } from "react-redux"; - -import { selectUser, updateUserData } from "@redux/slice/userSlice"; +import { selectUser } from "@redux/slice/userSlice"; import { UpdateUser } from "@service/MilanApi"; import { useMutation } from "@tanstack/react-query"; +import getProfileFields from "@utils/getProfileFields"; import { showErrorToast, showSuccessToast } from "@utils/Toasts"; import _ from "lodash"; +import { useState } from "react"; +import { useDispatch, useSelector } from "react-redux"; import { Button } from ".."; -import getProfileFields from "../../../utils/getProfileFields"; import "./ProfileCompletion.scss"; const ProfileCompletion = () => { const [credentials, setCredentials] = useState({}); + const [errors, setErrors] = useState({}); const user = useSelector(selectUser); const fields = getProfileFields(user); const dispatch = useDispatch(); @@ -24,10 +24,9 @@ const ProfileCompletion = () => { }); }; - const { mutate: handleUpdateDetails } = useMutation({ + const { mutate: mutate_UpdateDetails } = useMutation({ mutationFn: UpdateUser, onSuccess: (data) => { - dispatch(updateUserData(credentials)); showSuccessToast(data?.message); }, onError: (error) => { @@ -35,6 +34,35 @@ const ProfileCompletion = () => { }, }); + const handleUpdateDetails = () => { + const newErrors = {}; + + if ( + credentials?.tagLine?.length < 20 || + credentials?.tagLine?.length > 100 + ) { + newErrors.tagLine = "Tagline must be between 20 and 100 characters"; + } + + if ( + credentials?.description?.length < 100 || + credentials?.description?.length > 500 + ) { + newErrors.description = + "Description must be between 100 and 500 characters"; + } + + if (Object.keys(newErrors).length > 0) { + setErrors(newErrors); + } else { + // Clear errors if there are none + setErrors({}); + mutate_UpdateDetails({ + credentials: credentials, + }); + } + }; + return (
@@ -74,6 +102,9 @@ const ProfileCompletion = () => { placeholder={`Enter your ${field}`} /> )} + {errors[field] && ( + {errors[field]} + )}
))} diff --git a/src/components/shared/profileCompletion/ProfileCompletion.scss b/src/components/shared/profileCompletion/ProfileCompletion.scss index 027ec9ac..5e82ec93 100644 --- a/src/components/shared/profileCompletion/ProfileCompletion.scss +++ b/src/components/shared/profileCompletion/ProfileCompletion.scss @@ -8,7 +8,7 @@ bottom: 0; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(6px); - z-index: 20; + z-index: 101; display: flex; justify-content: center; align-items: center; @@ -123,6 +123,12 @@ font-size: 10px !important; } } + + .profilecompletion_error { + color: red; + font-size: 15px; + margin-top: 5px; + } } } diff --git a/src/hooks/useAuth.js b/src/hooks/useAuth.js index ba6d1ea4..acd3dd50 100644 --- a/src/hooks/useAuth.js +++ b/src/hooks/useAuth.js @@ -47,7 +47,13 @@ export function useAuth(authType) { if (response?.status === 201 || response?.status === 200) { showSuccessToast(response?.data?.message); - dispatch(updateUserData({ ...response.data.user, isLoggedIn: true })); + dispatch( + updateUserData({ + isLoggedIn: true, + email: response.data.user.email, + userName: response.data.user.userName, + }), + ); setTimeout(() => { navigate("/"); diff --git a/src/pages/auth/SignIn.jsx b/src/pages/auth/SignIn.jsx index 3e1935f4..4701d1c4 100644 --- a/src/pages/auth/SignIn.jsx +++ b/src/pages/auth/SignIn.jsx @@ -5,7 +5,7 @@ import { FaEyeSlash } from "react-icons/fa6"; import { FcGoogle } from "react-icons/fc"; import { Link } from "react-router-dom"; import rightabstract from "../../assets/pictures/authpages/authbanner.png"; -import { Button } from "../../components/shared"; +import { Button, Navbar } from "../../components/shared"; import { useAuth } from "../../hooks/useAuth"; import { GoogleAuth } from "../../service/MilanApi"; import "./index.scss"; @@ -36,6 +36,7 @@ const SignIn = () => { /> +
diff --git a/src/pages/auth/SignUp.jsx b/src/pages/auth/SignUp.jsx index 1d075260..9430839e 100644 --- a/src/pages/auth/SignUp.jsx +++ b/src/pages/auth/SignUp.jsx @@ -8,7 +8,7 @@ import { FcGoogle } from "react-icons/fc"; import { Link } from "react-router-dom"; import Select from "react-select"; import rightabstract from "../../assets/pictures/authpages/authbanner.png"; -import { Button } from "../../components/shared"; +import { Button, Navbar } from "../../components/shared"; import { useAuth } from "../../hooks/useAuth"; import { GoogleAuth } from "../../service/MilanApi"; import "./index.scss"; @@ -43,6 +43,8 @@ const SignUp = () => { + +
diff --git a/src/pages/auth/index.scss b/src/pages/auth/index.scss index 0335ef9e..69c1d100 100644 --- a/src/pages/auth/index.scss +++ b/src/pages/auth/index.scss @@ -309,7 +309,7 @@ gap: 1rem; padding: 2rem 1.5rem; overflow-y: scroll; - height: 100vh; + height: 90vh; background-color: white; } diff --git a/src/pages/dashboard/Dashboard.jsx b/src/pages/dashboard/Dashboard.jsx index 2763ec4d..98437486 100644 --- a/src/pages/dashboard/Dashboard.jsx +++ b/src/pages/dashboard/Dashboard.jsx @@ -9,13 +9,9 @@ import "swiper/css"; import "swiper/css/autoplay"; import "swiper/css/navigation"; import "swiper/css/pagination"; -import useSWR from "swr"; -import EventsMarqueeCards from "../../components/private/events/marquee/EventsMarqueeCards"; import { Button, Navbar, ProfileCompletion } from "../../components/shared"; -import { eventEndpoints } from "../../integrations/ApiEndpoints"; import { fetchDashboard } from "../../service/MilanApi"; import { defaults } from "../../static/Constants"; -import fetcher from "../../utils/Fetcher"; import convertToBase64 from "../../utils/convertToBase64"; import "./Dashboard.scss"; @@ -24,11 +20,13 @@ const Dashboard = () => { const [coverImage, setCoverImage] = useState(""); const [logo, setLogo] = useState(""); const user = useSelector(selectUser); - const { data } = useQuery({ - queryKey: ["dashboardData"], + + const { data: dashboardData } = useQuery({ + queryKey: ["dashboard"], queryFn: fetchDashboard, - refetchOnMount: false, - retry: 2, + refetchOnMount: true, + refetchOnWindowFocus: false, + retry: 0, }); const toggleExpand = () => { @@ -48,7 +46,7 @@ const Dashboard = () => { } }; - const { data: events } = useSWR(eventEndpoints.all, fetcher); + // const { data: events } = useSWR(eventEndpoints.all, fetcher); const handleUpdateProfile = () => { console.log("Update Profile"); @@ -112,18 +110,11 @@ const Dashboard = () => {

- {data?.name}{" "} + {dashboardData?.name}{" "}

- {data?.tagline ? ( -

{data?.tagline}

- ) : ( -

- {" "} - Lorem ipsum dolor sit amet consectetur adipisicing elit. - Impedit cum laudantium + {dashboardData?.tagline && ( +

+ {dashboardData?.tagline}

)}
@@ -150,14 +141,10 @@ const Dashboard = () => {
-

{data?.name}

- {data?.tagline ? ( -

{data?.tagline}

- ) : ( -

- {" "} - Lorem ipsum dolor sit amet consectetur adipisicing elit. - Impedit cum laudantium +

{dashboardData?.name}

+ {dashboardData?.tagline && ( +

+ {dashboardData?.tagline}

)}
@@ -172,7 +159,7 @@ const Dashboard = () => {
- {data?.description && ( + {dashboardData?.description && (

About Us

@@ -181,7 +168,7 @@ const Dashboard = () => { isExpanded ? "expanded" : "" }`} > - {data?.description} + {dashboardData?.description}

{!isExpanded && ( @@ -197,7 +184,7 @@ const Dashboard = () => {
)} - {data?.events && ( + {/* {data?.events && (

Events Hosted

@@ -207,7 +194,7 @@ const Dashboard = () => { ))}
- )} + )} */}