GitHunt
HU

huuthangntk/BimarzNext

Bimarz VPN Landing Page - Next.js 14 with Typography Emotion Journey

VPN Landing Page - Typography Emotion Journey

A stunning Next.js landing page that tells a story through typography and animations. This project showcases a 7-page emotional journey from fear to freedom, perfect for VPN services.

Features

  • ๐ŸŽจ 7 Unique Pages - Each with its own emotional story and animations
  • ๐ŸŒ“ Dark/Light Theme - Smooth theme transitions with ripple effects
  • ๐ŸŒ Multi-language Support - 6 languages (English, Farsi, Chinese, Russian, Ukrainian, Hindi)
  • ๐Ÿ“ฑ Fully Responsive - Mobile-first design with swipe gestures
  • โšก Performance Optimized - Smooth 60fps animations
  • โ™ฟ Accessible - WCAG compliant with reduced motion support

Pages Overview

  1. Threats and Dangers - Fear and urgency through glitch effects
  2. Tracked and Monitored - Surveillance anxiety with circular scanning
  3. Restrictions and Censorship - Frustration with censor bars
  4. Affordable for All - Hope emerging through warm light
  5. VPN Solution - Confidence with flowing aurora effects
  6. Open Source Philosophy - Trust through transparency
  7. Product and Pricing - Joy and freedom with celebration animations

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

Open http://localhost:3000 to view the landing page.

Project Structure

claude/
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ globals.css        # Global styles and CSS variables
โ”‚   โ”œโ”€โ”€ layout.tsx         # Root layout with theme provider
โ”‚   โ””โ”€โ”€ page.tsx           # Main page with navigation logic
โ”œโ”€โ”€ components/            # Reusable components
โ”‚   โ”œโ”€โ”€ pages/            # Individual page components (Page1-Page7)
โ”‚   โ”œโ”€โ”€ Header.tsx        # Header with navigation
โ”‚   โ”œโ”€โ”€ Footer.tsx        # Footer with links
โ”‚   โ”œโ”€โ”€ PageIndicator.tsx # Vertical page indicator
โ”‚   โ”œโ”€โ”€ ScrollIndicator.tsx # Animated scroll hint
โ”‚   โ””โ”€โ”€ GlassCard.tsx     # Glass morphism card component
โ”œโ”€โ”€ contexts/             # React contexts
โ”‚   โ””โ”€โ”€ ThemeContext.tsx  # Theme and language state management
โ”œโ”€โ”€ public/               # Static assets (shared root folder)
โ”‚   โ”œโ”€โ”€ Lalezar.otf       # Primary font
โ”‚   โ”œโ”€โ”€ logo-*.png        # Logo files
โ”‚   โ””โ”€โ”€ *.svg/*.png       # Open source VPN icons
โ””โ”€โ”€ theme.json            # Design system specifications

Technologies Used

  • Next.js 14 - React framework
  • TypeScript - Type safety
  • Tailwind CSS - Utility-first styling
  • Framer Motion - Animation library
  • CSS Custom Properties - Dynamic theming
  • Desktop: Mouse scroll or page indicator clicks
  • Mobile: Swipe up/down gestures
  • Page 7: Normal scrolling within the page

Customization

Colors

Edit app/globals.css to modify theme colors using CSS variables:

:root {
  --color-primary: #2563EB;
  /* ... */
}

Typography

The project uses the Lalezar font. To change fonts, update:

  1. Font import in app/globals.css
  2. Font family in tailwind.config.ts

Content

Each page component (components/pages/Page*.tsx) can be individually customized for content and animations.

Performance

  • All animations are GPU-accelerated
  • Images are optimized with Next.js Image component
  • Lazy loading for off-screen content
  • Reduced motion support for accessibility

Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)
  • Mobile browsers (iOS Safari, Chrome Android)

License

This project is private and proprietary.

Acknowledgments

  • Design inspired by modern web animation trends
  • Icons from open source VPN projects
  • Font: Lalezar by Borna Izadpanah