Landing Page
Overview
The LandingPage component is a comprehensive React component that serves as the main landing page for the COFI XYNTRA DeFi application. It features an animated background, navigation system, and multiple sections including hero, products, documentation, and about sections.
Component Structure
Props
interface LandingPageProps {
onEnterApp: () => void;
}State Management
The component uses several state variables:
isVisible: Controls initial fade-in animationcurrentText: Manages the currently displayed text in the rotating headlinecurrentSection: Tracks the currently active section for navigation
Technical Features
Animation System
Uses multiple CSS keyframe animations:
gradientShift: Animated gradient backgroundradialMove: Radial gradient movementfloatGentle: Floating elements animationlightRay: Light beam effectssymbolFloat: Floating crypto symbols
Usage
Dependencies
React
Tailwind CSS
Heroicons (for icons)
Custom CSS animations
Last updated