Removed navbar from dashboard.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user