A sleek, responsive, and highly animated landing page for a cutting-edge payment platform built with Next.js and GSAP.
- Overview
- Features
- Tech Stack
- Project Structure
- Getting Started
- Installation
- Development
- Key Packages
- Components
- Animations
- Scripts
- Contributing
- License
EasyPay is a modern, professional landing page designed for a next-generation payment platform. The project showcases smooth animations, responsive design, and a premium user experience using the latest web technologies.
- β¨ Smooth Animations: Professional GSAP animations throughout
- π± Fully Responsive: Mobile-first design approach
- π¨ Modern UI: Clean and intuitive interface
- β‘ Performance Optimized: Fast loading and smooth interactions
- π Secure by Design: Emphasis on security and trust
- π Interactive Elements: Engaging user interactions
- Hero Section: Eye-catching hero with animated floating cards
- Features Showcase: Highlighted platform capabilities
- Brand Partners: Featured brand logo carousel
- How It Works: Step-by-step user journey
- Security Section: Trust-building security features
- Pricing Plans: Transparent pricing display
- Testimonials: User reviews and social proof
- Call to Action: Conversion-optimized CTAs
- Footer: Comprehensive site navigation and links
- Framework: Next.js 16.0.0 - React framework for production
- UI Library: React 19.2.0 - JavaScript library for building user interfaces
- Styling: Tailwind CSS 4.0 - Utility-first CSS framework
- Animations: GSAP 3.13.0 - Professional animation library
- Icons: Lucide React - Beautiful & consistent icon toolkit
- Carousel: Embla Carousel - Touch-friendly carousel
- Marquee: React Fast Marquee - Smooth scrolling marquee
- UI Components: Radix UI - Accessible component primitives
- Utilities:
clsx,tailwind-merge,class-variance-authority- Utility functions
easy-pay/
βββ public/ # Static assets
β βββ [svg files]
βββ src/
β βββ app/
β β βββ assets/ # Images and icons
β β β βββ Avatar-1.png
β β β βββ Avatar-2.png
β β β βββ brand-logo/
β β β βββ icons/
β β β βββ [other assets]
β β βββ favicon.ico
β β βββ globals.css # Global styles
β β βββ layout.js # Root layout
β β βββ page.js # Home page
β βββ components/
β β βββ ui/ # Reusable UI components
β β β βββ button.jsx
β β βββ CallToAction.jsx
β β βββ FeaturedBrand.jsx
β β βββ Features.jsx
β β βββ Footer.jsx
β β βββ Hero.jsx
β β βββ HowItWorks.jsx
β β βββ Logo.jsx
β β βββ Navbar.jsx
β β βββ Pricing.jsx
β β βββ SectionHeader.jsx
β β βββ Security.jsx
β β βββ Testimonials.jsx
β βββ lib/
β βββ utils.js # Utility functions
βββ components.json # Shadcn configuration
βββ eslint.config.mjs # ESLint configuration
βββ jsconfig.json # JavaScript configuration
βββ next.config.mjs # Next.js configuration
βββ package.json # Dependencies
βββ postcss.config.mjs # PostCSS configuration
βββ README.md # This file
- Node.js 18.x or higher
- npm, yarn, pnpm, or bun package manager
-
Clone the repository
git clone https://github.com/omarfaruk-dev/easy-pay.git cd easy-pay -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser Navigate to http://localhost:3000
npm run devStarts the development server on http://localhost:3000 with hot-reloading enabled.
npm run buildCreates an optimized production build in the .next folder.
npm run startRuns the production server (requires running npm run build first).
npm run lintRuns ESLint to check code quality.
| Package | Version | Purpose |
|---|---|---|
next |
16.0.0 | React framework |
react |
19.2.0 | UI library |
react-dom |
19.2.0 | React DOM renderer |
gsap |
3.13.0 | Animation library |
lucide-react |
0.548.0 | Icon components |
embla-carousel-react |
8.6.0 | Carousel component |
react-fast-marquee |
1.6.5 | Marquee scrolling |
@radix-ui/react-slot |
1.2.3 | UI primitives |
tailwind-merge |
3.3.1 | Tailwind utility merger |
class-variance-authority |
0.7.1 | Component variant management |
clsx |
2.1.1 | Conditional class names |
| Package | Version | Purpose |
|---|---|---|
tailwindcss |
4.x | CSS framework |
@tailwindcss/postcss |
4.x | Tailwind PostCSS plugin |
eslint |
9.x | Linting tool |
eslint-config-next |
16.0.0 | Next.js ESLint config |
tw-animate-css |
1.4.0 | Animation utilities |
- Hero - Landing hero section with animated elements
- Features - Platform feature showcase
- FeaturedBrand - Brand partner carousel
- HowItWorks - Step-by-step user guide
- Security - Security features and trust builders
- Pricing - Transparent pricing plans
- Testimonials - Customer reviews and testimonials
- CallToAction - Conversion-focused call-to-action
- Footer - Site navigation and links
- Button - Customizable button component with variants
- Logo - Brand logo component
- Navbar - Navigation bar with scroll effects
- SectionHeader - Reusable section header component
The project uses GSAP (GreenSock Animation Platform) for smooth, professional animations:
- Fade-in and slide-up animations
- Sequential element reveals
- Floating card animations
- Scroll-triggered animations
- Staggered card animations
- Smooth transitions
- ScrollTrigger plugin for scroll-based animations
- Fade-in on scroll
- Stagger effects for lists
- Scale and rotation animations
- Timeline coordination
- Initial State Setup: Elements start hidden with
gsap.set() - Timeline Coordination: Sequential animations with overlaps
- Stagger Effects: Delayed animations for lists
- Scroll Triggers: Animations trigger on viewport entry
- Smooth Easing: Power curves for natural motion
{
"dev": "next dev", // Start development server
"build": "next build", // Build for production
"start": "next start", // Start production server
"lint": "eslint" // Run ESLint
}- Color Scheme: Professional gradient palette
- Typography: Modern, readable fonts
- Spacing: Consistent spacing system
- Responsive Breakpoints: Mobile-first approach
- Interactive States: Hover and active states
- Loading States: Smooth loading transitions
next.config.mjs- Next.js configurationpostcss.config.mjs- PostCSS configurationjsconfig.json- JavaScript path configurationeslint.config.mjs- ESLint rulescomponents.json- Shadcn UI configurationtailwind.config.js- Tailwind CSS configuration
The easiest way to deploy is to use the Vercel Platform:
- Push your code to GitHub
- Import your repository in Vercel
- Deploy automatically
This Next.js app can be deployed to any platform that supports Node.js:
- Netlify
- AWS Amplify
- Digital Ocean App Platform
- Any Node.js hosting provider
- Optimized images with Next.js Image component
- Code splitting for faster loads
- Lazy loading for below-the-fold content
- Smooth animations with GSAP
- Mobile-optimized assets
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ using:
For questions or support, please open an issue in the GitHub repository.
Made with β€οΈ for the future of payments