Merge version_3 into main
Merge version_3 into main
This commit was merged in pull request #3.
This commit is contained in:
@@ -13,8 +13,25 @@ import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloating
|
||||
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
import { FileText, FolderOpen, Search, CheckCircle } from 'lucide-react';
|
||||
import { useEffect } from 'react';
|
||||
import gsap from 'gsap';
|
||||
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
|
||||
export default function LandingPage() {
|
||||
useEffect(() => {
|
||||
const wallTl = gsap.timeline({
|
||||
scrollTrigger: {
|
||||
trigger: "#witness-wall", start: "top center", end: "bottom center", scrub: 1,
|
||||
}
|
||||
});
|
||||
wallTl.fromTo(".witness-wall-item",
|
||||
{ opacity: 0, y: 50, scale: 0.8 },
|
||||
{ opacity: 1, y: 0, scale: 1, stagger: 0.1 }
|
||||
);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
@@ -157,7 +174,7 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="witness-wall" data-section="witness-wall">
|
||||
<div id="witness-wall" data-section="witness-wall" className="witness-wall-item">
|
||||
<SocialProofOne
|
||||
names={["Archive Observer", "Data Specialist", "Historical Analyst", "Digital Curator", "Records Officer", "Case Reviewer"]}
|
||||
title="Witness Wall"
|
||||
|
||||
Reference in New Issue
Block a user