Skip to content

Latest commit

 

History

History
257 lines (195 loc) · 5.32 KB

File metadata and controls

257 lines (195 loc) · 5.32 KB

🚀 MEGA Enterprise Landing Page - Quick Start

What You Got

A complete, production-ready landing page with: ✅ Apple-inspired design with liquid glass effects ✅ 4 pages: Home, Products, About, Contact ✅ GSAP scroll animations ✅ Fully responsive mobile design ✅ WhatsApp integration ✅ Contact form with validation ✅ SEO optimized

3-Step Setup

1️⃣ Install Dependencies (2 minutes)

cd mega-landing
npm install

2️⃣ Start Development Server

npm run dev

Open: http://localhost:3000 🎉

3️⃣ Deploy (5 minutes)

Push to GitHub → Deploy on Vercel → Done!

📁 Project Structure

mega-landing/
├── src/
│   ├── app/              # Pages (Home, About, Products, Contact)
│   ├── components/       # All UI components
│   │   ├── home/        # Homepage sections
│   │   ├── layout/      # Navbar & Footer
│   │   ├── ui/          # GlassSurface component
│   │   └── shared/      # ContactForm
│   └── lib/             # Utilities
├── public/
│   └── images/          # Add your images here
├── tailwind.config.js   # Colors & theme
└── README.md            # Full documentation

✏️ Customize in 5 Minutes

1. Update Contact Info

Edit these files:

  • src/components/layout/Footer.jsx (lines 15-25)
  • src/app/contact/page.js (lines 10-30)
  • src/app/layout.js (line 59 - WhatsApp)

2. Change Colors

File: tailwind.config.js (lines 8-20)

primary: {
  500: '#7AB2D3',  // Change this hex color
  700: '#4A628A',  // And this one
}

3. Replace Logo

Add your logo: public/images/logo.png

4. Update Company Name

Search for "MEGA" and replace with your company name

🎨 Key Features

Glass Morphism Effect

<GlassSurface width="100%" height={200} borderRadius={24}>
  <YourContent />
</GlassSurface>

GSAP Animations

  • Scroll-triggered animations
  • Pinned sections
  • Smooth transitions

Contact Form

  • Validation included
  • Success/error states
  • Ready to connect to your backend

🚀 Deploy to Vercel

  1. Push to GitHub:
git init
git add .
git commit -m "Initial commit"
git push
  1. Go to vercel.com
  2. Import repository
  3. Click "Deploy"
  4. Done! 🎉

📸 Replace Placeholder Images

Add your images to:

  • public/images/logo.png - Your logo
  • public/images/brands/ - Brand logos
  • public/images/clients/ - Client logos
  • public/images/products/ - Product images

Then update image paths in:

  • src/components/home/BrandsShowcase.jsx
  • src/components/home/ClientsShowcase.jsx
  • src/components/home/FeaturedProducts.jsx

🎯 Pages Overview

🏠 Home (/)

  • Hero section with animated stats
  • Featured products with GSAP pin animation
  • Brand logos marquee
  • Client showcase
  • GeM compliance section
  • CTA section

📦 Products (/products)

  • Search and filter functionality
  • Product grid with categories
  • Glass morphism cards

ℹ️ About (/about)

  • Company story
  • Timeline
  • Core values
  • Stats

📞 Contact (/contact)

  • Contact form
  • Google Maps
  • Contact information cards
  • WhatsApp & phone CTAs

🔧 Tech Stack

  • Next.js 14 - React framework
  • Tailwind CSS - Styling
  • GSAP - Animations
  • React Hook Form - Form validation
  • Lucide React - Icons

📱 Responsive Design

All pages work perfectly on:

  • 📱 Mobile (320px+)
  • 💻 Tablet (768px+)
  • 🖥️ Desktop (1024px+)
  • 📺 Large screens (1920px+)

🎨 Color Scheme

Current palette:

  • Primary Blue: #7AB2D3
  • Dark Blue: #4A628A
  • Light Green: #DFF2EB

Change in tailwind.config.js

🌐 SEO Ready

Includes:

  • Meta tags
  • OpenGraph tags
  • Structured data
  • Sitemap support
  • Fast loading

💬 WhatsApp Integration

Floating button on all pages:

  • Fixed bottom-right
  • Opens WhatsApp chat
  • Pre-filled message

Update number in src/app/layout.js (line 59)

📧 Contact Form

Default: Demo mode (logs to console)

To connect backend:

  1. Create API endpoint
  2. Update src/components/shared/ContactForm.jsx (line 20)
  3. Replace demo code with actual API call

🐛 Troubleshooting

Port in use?

npm run dev -- -p 3001

Module errors?

rm -rf node_modules
npm install

Animation issues? Check browser console for errors

📚 Documentation Files

  • README.md - Complete documentation
  • SETUP_GUIDE.md - Detailed setup instructions
  • QUICK_START.md - This file
  • .env.example - Environment variables template

✅ Launch Checklist

Before going live:

  • Replace all placeholder content
  • Add real images (logo, brands, clients)
  • Update contact information
  • Test contact form
  • Change colors to match brand
  • Test on mobile devices
  • Deploy to Vercel
  • Connect custom domain
  • Set up Google Analytics (optional)
  • Submit to Google Search Console

🆘 Need Help?

  1. Check README.md for detailed docs
  2. Read SETUP_GUIDE.md for step-by-step help
  3. Search error messages online
  4. Contact: megaenterprise.info@gmail.com

Next Steps

  1. Now: Run npm install and npm run dev
  2. Today: Replace placeholder content
  3. This Week: Deploy to production
  4. Ongoing: Monitor and optimize

You're ready to launch! 🚀

Built with ❤️ using Next.js, Tailwind CSS, and GSAP