mirror of
https://github.com/WDI-Ideas/rubix.git
synced 2026-04-27 17:25:50 +00:00
updated NavBar and api for EcoSystem
This commit is contained in:
@@ -43,7 +43,7 @@ const NavBar = () => {
|
||||
const [isHoveredCommunity, setIsHoveredCommunity] = useState(false);
|
||||
const [windowWidth, setWindowWidth] = useState(window.innerWidth);
|
||||
const { data } = useGetUseCaseQuery();
|
||||
console.log(data);
|
||||
// console.log(data);
|
||||
const useCase = data?.data?.rows;
|
||||
const location = useLocation();
|
||||
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
import EcoBanner from "../components/EcoPage/EcoBanner";
|
||||
import EnterPrises from "../components/EcoPage/EnterPrises";
|
||||
import LearnMore from "../components/Community/LearnMore";
|
||||
import LearnDev from "../components/LearnPage/LearnDev";
|
||||
import { useEffect } from "react";
|
||||
|
||||
const Ecosystem = () => {
|
||||
useEffect(() => {
|
||||
window.scrollTo(0, 0);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<EcoBanner />
|
||||
|
||||
Reference in New Issue
Block a user