feat: add Header with Sign In to landing page
- Wrapped LandingPageClient with LandingPageWrapper - Header now shows Sign In button next to Get Started - Mobile menu also includes Sign In option - Fixed Plus Jakarta Sans font import
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import { useEffect, useRef } from "react";
|
import { useEffect, useRef } from "react";
|
||||||
import HeroSection from "@/components/landing/HeroSection";
|
import HeroSection from "@/components/landing/HeroSection";
|
||||||
|
import { LandingPageWrapper } from "@/components/landing/LandingPageWrapper";
|
||||||
import { gsap } from "gsap";
|
import { gsap } from "gsap";
|
||||||
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
||||||
|
|
||||||
@@ -43,8 +44,10 @@ export default function LandingPageClient() {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<LandingPageWrapper>
|
||||||
<div ref={mainRef}>
|
<div ref={mainRef}>
|
||||||
<HeroSection />
|
<HeroSection />
|
||||||
</div>
|
</div>
|
||||||
|
</LandingPageWrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -321,7 +321,7 @@ export function LandingPageWrapper({ children, className = "" }: WrapperProps) {
|
|||||||
<>
|
<>
|
||||||
{/* Google Fonts Import */}
|
{/* Google Fonts Import */}
|
||||||
<style jsx global>{`
|
<style jsx global>{`
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");
|
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");
|
||||||
`}</style>
|
`}</style>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user