Removed navbar from dashboard.

This commit is contained in:
2025-02-23 11:12:03 +05:30
parent c839011847
commit d53a4d6061
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ function App() {
return ( return (
<> <>
<div className="w-full h-auto flex-col relative"> <div className="w-full h-auto flex-col relative">
<Navbar2 />
<Outlet /> <Outlet />
<div <div
+2
View File
@@ -9,6 +9,7 @@ import {
HeroSecn, HeroSecn,
} from "./Cards"; } from "./Cards";
import Testimonial from "./Testimonial"; import Testimonial from "./Testimonial";
import Navbar2 from "../../components/Navbar2";
const ScrollReveal = ({ children, direction = "left" }) => { const ScrollReveal = ({ children, direction = "left" }) => {
const { ref, inView } = useInView({ triggerOnce: true, threshold: 0.2 }); const { ref, inView } = useInView({ triggerOnce: true, threshold: 0.2 });
@@ -37,6 +38,7 @@ function Hero2() {
return ( return (
<div> <div>
<Navbar2 />
<ScrollReveal direction="up"> <ScrollReveal direction="up">
<HeroSecn /> <HeroSecn />
</ScrollReveal> </ScrollReveal>