diff --git a/src/Redux/slice/useCaseSlice.js b/src/Redux/slice/useCaseSlice.js
index da95448..bab7394 100644
--- a/src/Redux/slice/useCaseSlice.js
+++ b/src/Redux/slice/useCaseSlice.js
@@ -1,7 +1,7 @@
import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react';
export const useCaseApi = createApi({
- reducerPath: 'UseCases/:title_slug',
+ reducerPath: 'UseCases',
baseQuery: fetchBaseQuery({ baseUrl: 'https://rubix.betadelivery.com/api/' }),
endpoints: (builder) => ({
getUseCase: builder.query({
diff --git a/src/assets/images/Navicons/events.png b/src/assets/images/Navicons/events.png
new file mode 100644
index 0000000..a5c283f
Binary files /dev/null and b/src/assets/images/Navicons/events.png differ
diff --git a/src/assets/images/Navicons/news.png b/src/assets/images/Navicons/news.png
new file mode 100644
index 0000000..7f429a7
Binary files /dev/null and b/src/assets/images/Navicons/news.png differ
diff --git a/src/assets/images/Navicons/resources.png b/src/assets/images/Navicons/resources.png
new file mode 100644
index 0000000..feee277
Binary files /dev/null and b/src/assets/images/Navicons/resources.png differ
diff --git a/src/components/Card/HomeCard.jsx b/src/components/Card/HomeCard.jsx
index 4d37f6e..f8ac3b2 100644
--- a/src/components/Card/HomeCard.jsx
+++ b/src/components/Card/HomeCard.jsx
@@ -52,7 +52,7 @@ const HomeCard = ({ cardkey, date, text, link }) => {
src={`https://rubix.betadelivery.com/${card.content_image_large}`}
/>
- {blogCards?.tags?.map((tag, index) => (
+ {card?.tags?.map((tag, index) => (
))}
@@ -66,7 +66,7 @@ const HomeCard = ({ cardkey, date, text, link }) => {
})
.replace(/\//g, "-");
return (
-
+
{formattedDate}
);
diff --git a/src/components/MobileMenu/MobileMenu.jsx b/src/components/MobileMenu/MobileMenu.jsx
index 51b9012..65d5630 100644
--- a/src/components/MobileMenu/MobileMenu.jsx
+++ b/src/components/MobileMenu/MobileMenu.jsx
@@ -28,7 +28,7 @@ export const MobileMenu = () => {
const { data } = useGetUseCaseQuery();
// console.log(data);
const useCase = data?.data?.rows;
- console.log(useCase);
+ // console.log(useCase);
const highlight = {
color: "rgb(222, 133, 142)",
diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx
index 578de9b..c5119bc 100644
--- a/src/components/NavBar/NavBar.jsx
+++ b/src/components/NavBar/NavBar.jsx
@@ -33,6 +33,9 @@ import marTech from "../../assets/images/Navicons/marTech.png";
import healthTech from "../../assets/images/Navicons/healthTech.png";
import security from "../../assets/images/Navicons/security.png";
import telecom from "../../assets/images/Navicons/telecom.png";
+import news from "../../assets/images/Navicons/news.png";
+import events from "../../assets/images/Navicons/events.png";
+import resources from "../../assets/images/Navicons/resources.png";
import { useGetUseCaseQuery } from "../../Redux/slice/useCaseSlice";
const NavBar = () => {
@@ -516,10 +519,11 @@ const NavBar = () => {
style={{ flexBasis: "calc(50% - 1rem)" }}
>
{
gap={"1rem"}
marginBottom={"1rem"}
>
-
+
News
@@ -675,7 +679,7 @@ const NavBar = () => {
gap={"1rem"}
marginBottom={"1rem"}
>
-
+
Resources
@@ -695,7 +699,7 @@ const NavBar = () => {
gap={"1rem"}
marginBottom={"1rem"}
>
-
+
Events
diff --git a/src/components/ResourcesPage/tabInsideContent/TabsVideo.jsx b/src/components/ResourcesPage/tabInsideContent/TabsVideo.jsx
index 0c34d84..be9afc1 100644
--- a/src/components/ResourcesPage/tabInsideContent/TabsVideo.jsx
+++ b/src/components/ResourcesPage/tabInsideContent/TabsVideo.jsx
@@ -111,7 +111,7 @@ const TabsVideo = () => {
>
{videos?.slice(0, 3).map((item) => (
-
+
{
zIndex: "2",
}}
>
-
+
" ? (
+
- {matchingUseCase.problem}
-
-
- {matchingUseCase.solution}
- */}
-
-
+
+
+ ) : null}
- {/*
- {title}
-
-
- {description}
- */}
-
+ >
{matchingUseCase.attachments.length >= 1 ? (
{
? videos.find((item) => item.title_slug === title_slug)
: null;
- console.log(matchingvideos);
+ // console.log(matchingvideos);
return (
<>
diff --git a/src/index.css b/src/index.css
index 515532f..08261f0 100644
--- a/src/index.css
+++ b/src/index.css
@@ -6,6 +6,10 @@
font-stretch: 75% 125%;
}
+.rubix_title_font {
+ font-family: "Mona Sans";
+}
+
.rubix-text-heading {
font-size: 60px !important;
font-family: "Mona Sans";
diff --git a/src/routes/_routes.jsx b/src/routes/_routes.jsx
index 7421099..6714842 100644
--- a/src/routes/_routes.jsx
+++ b/src/routes/_routes.jsx
@@ -52,10 +52,10 @@ export const route = [
path: "BuildPage",
element: ,
},
- {
- path: "UseCases",
- element: ,
- },
+ // {
+ // path: "UseCases",
+ // element: ,
+ // },
{
path: "community",
element: ,
@@ -70,7 +70,7 @@ export const route = [
element: ,
},
{
- path: "/:title_slug",
+ path: "/videos/:title_slug",
element: ,
},
{
@@ -102,7 +102,7 @@ export const route = [
element: ,
},
{
- path: "/:title_slug",
+ path: "/usecases/:title_slug",
element: ,
},
{