@@ -156,7 +157,9 @@ const DashboardLayout = () => {
{nav.map(({ title, path, Icon }, index) => (
-
+
{path ? (
{
) : (
+ className="web-text-xxsmall fw-600 mt-1 text-secondary fw-bold">
{title}
)}
-
+
))}
{
name="Dan Abrahmov"
src="https://bit.ly/dan-abramov"
/>
-
-
+
Hello, developer admin
@@ -267,7 +270,11 @@ const DashboardLayout = () => {
}}
>
diff --git a/src/Pages/Community/ComunityEditPage.jsx b/src/Pages/Community/ComunityEditPage.jsx
index 24a8d17..bf866ed 100644
--- a/src/Pages/Community/ComunityEditPage.jsx
+++ b/src/Pages/Community/ComunityEditPage.jsx
@@ -394,7 +394,7 @@ const ComunityEditPage = () => {
isLoading={isLoadingEdit}
spinner={}
color={'whitesmoke'}
- backgroundColor={'purple.700'}
+ backgroundColor={'purple.900'}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/Events/EditEvents.jsx b/src/Pages/Events/EditEvents.jsx
index a61b7b1..9d88a5e 100644
--- a/src/Pages/Events/EditEvents.jsx
+++ b/src/Pages/Events/EditEvents.jsx
@@ -543,7 +543,7 @@ const EditEvents = () => {
isLoading={isLoadingEdit}
spinner={}
color={"whitesmoke"}
- backgroundColor={"purple.700"}
+ backgroundColor={"purple.900"}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/Events/Events.jsx b/src/Pages/Events/Events.jsx
index f392bb8..d82bd2b 100644
--- a/src/Pages/Events/Events.jsx
+++ b/src/Pages/Events/Events.jsx
@@ -161,7 +161,7 @@ const Events = () => {
),
"Created At": (
-
+
{formatDate(item?.createdAt)}
diff --git a/src/Pages/News/EditNews.jsx b/src/Pages/News/EditNews.jsx
index eaaca32..79e1112 100644
--- a/src/Pages/News/EditNews.jsx
+++ b/src/Pages/News/EditNews.jsx
@@ -402,7 +402,7 @@ const EditNews = () => {
isLoading={isLoadingEdit}
spinner={}
color={"whitesmoke"}
- backgroundColor={"purple.700"}
+ backgroundColor={"purple.900"}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/News/News.jsx b/src/Pages/News/News.jsx
index 8e011b9..08b2e97 100644
--- a/src/Pages/News/News.jsx
+++ b/src/Pages/News/News.jsx
@@ -164,7 +164,7 @@ const News = () => {
),
"Release Data": (
-
+
{formatDate(item?.release_date)}
),
@@ -178,7 +178,7 @@ const News = () => {
),
"Created At": (
-
+
{formatDate(item?.createdAt)}
diff --git a/src/Pages/Videos/AddVideos.jsx b/src/Pages/Videos/AddVideos.jsx
index a3bf7a6..f9effe3 100644
--- a/src/Pages/Videos/AddVideos.jsx
+++ b/src/Pages/Videos/AddVideos.jsx
@@ -340,7 +340,7 @@ const AddVideos = () => {
isLoading={isLoading}
spinner={}
color={"whitesmoke"}
- backgroundColor={"purple.700"}
+ backgroundColor={"purple.900"}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/Videos/EditVideos.jsx b/src/Pages/Videos/EditVideos.jsx
index 3245d2f..e2e5984 100644
--- a/src/Pages/Videos/EditVideos.jsx
+++ b/src/Pages/Videos/EditVideos.jsx
@@ -403,7 +403,7 @@ const EditVideos = () => {
isLoading={isLoadingEdit}
spinner={}
color={"whitesmoke"}
- backgroundColor={"purple.700"}
+ backgroundColor={"purple.900"}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/Videos/Videos.jsx b/src/Pages/Videos/Videos.jsx
index 215c79a..289d3f2 100644
--- a/src/Pages/Videos/Videos.jsx
+++ b/src/Pages/Videos/Videos.jsx
@@ -123,7 +123,7 @@ const Videos = () => {
),
"Created At": (
-
+
{formatDate(item?.createdAt)}
diff --git a/src/Pages/Whitepapers/AddWhitepapers.jsx b/src/Pages/Whitepapers/AddWhitepapers.jsx
index 36fdf35..825a901 100644
--- a/src/Pages/Whitepapers/AddWhitepapers.jsx
+++ b/src/Pages/Whitepapers/AddWhitepapers.jsx
@@ -307,7 +307,7 @@ const AddWhitepapers = () => {
isLoading={isLoading}
spinner={}
color={"whitesmoke"}
- backgroundColor={"purple.700"}
+ backgroundColor={"purple.900"}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/Whitepapers/EditWhitepaper.jsx b/src/Pages/Whitepapers/EditWhitepaper.jsx
index 55fa953..8894ede 100644
--- a/src/Pages/Whitepapers/EditWhitepaper.jsx
+++ b/src/Pages/Whitepapers/EditWhitepaper.jsx
@@ -333,7 +333,7 @@ const EditWhitepaper = () => {
isLoading={isLoadingEdit}
spinner={}
color={"whitesmoke"}
- backgroundColor={"purple.700"}
+ backgroundColor={"purple.900"}
_hover={{
backgroundColor: "purple.800",
}}
diff --git a/src/Pages/Whitepapers/Whitepapers.jsx b/src/Pages/Whitepapers/Whitepapers.jsx
index daad6c1..1d68e33 100644
--- a/src/Pages/Whitepapers/Whitepapers.jsx
+++ b/src/Pages/Whitepapers/Whitepapers.jsx
@@ -119,7 +119,7 @@ const Whitepapers = () => {
),
"Created At": (
-
+
{formatDate(item?.createdAt)}
diff --git a/src/Routes/Nav.js b/src/Routes/Nav.js
index ca0cde8..f0ee11c 100644
--- a/src/Routes/Nav.js
+++ b/src/Routes/Nav.js
@@ -10,14 +10,19 @@ import { AiOutlineIdcard } from "react-icons/ai";
export const nav = [
{
- title: "Banners",
+ title: "Home",
path: "/",
- Icon: AiOutlineIdcard,
+ Icon: FiHome,
},
{
title: "CONTENT MANAGEMENT",
path: null,
},
+ {
+ title: "Banners",
+ path: "/banner",
+ Icon: AiOutlineIdcard,
+ },
{
title: "Blogs",
path: "/blogs-articles",
diff --git a/src/Routes/Routes.js b/src/Routes/Routes.js
index 8cad6ac..b62b453 100644
--- a/src/Routes/Routes.js
+++ b/src/Routes/Routes.js
@@ -4,7 +4,7 @@ import Community from "../Pages/Community/Community";
import ComunityEditPage from "../Pages/Community/ComunityEditPage";
import ComunityViewPage from "../Pages/Community/ComunityViewPage";
import Events from "../Pages/Events/Events";
-import Home from "../Pages/Banners/Banner";
+import Banner from "../Pages/Banners/Banner";
import Videos from "../Pages/Videos/Videos";
import Whitepapers from "../Pages/Whitepapers/Whitepapers";
import BannerCommunity from "../Pages/Banners/BannerCommunity/BannerCommunity";
@@ -48,7 +48,8 @@ import ViewVideos from "../Pages/Videos/ViewVideos";
import EditVideos from "../Pages/Videos/EditVideos";
export const RouteLink = [
- { path: "/", Component: Home },
+ { path: "/", Component: UnderConstruction },
+ { path: "/banner", Component: Banner },
{ path: "/help-and-support", Component: HelpAndSupport },
// =============[ Videos ]================
diff --git a/src/Validations/Validations.js b/src/Validations/Validations.js
index bb0ef5b..e0e5dd1 100644
--- a/src/Validations/Validations.js
+++ b/src/Validations/Validations.js
@@ -85,7 +85,7 @@ export const addBlogSchema = Yup.object().shape({
author_name: Yup.string().required("Author is required"),
author_designation: Yup.string().required("Author designation is required"),
title: Yup.string().required("Title is required"),
- // meta_description: Yup.string().required("Description is required"),
+ meta_description: Yup.string().required("Description is required"),
content: Yup.string(),
summary: Yup.string().required("Summary is required"),
});
diff --git a/src/assets/logo.png b/src/assets/logo.png
index 1ac5022..a03ea38 100644
Binary files a/src/assets/logo.png and b/src/assets/logo.png differ
diff --git a/src/assets/logo2.png b/src/assets/logo2.png
new file mode 100644
index 0000000..1ac5022
Binary files /dev/null and b/src/assets/logo2.png differ