A stunning Apple-inspired landing page with liquid glass UI effects, built with Next.js 14, Tailwind CSS, and GSAP animations.
- Apple-inspired Design: Clean, minimalist design with premium aesthetics
- Liquid Glass UI: Beautiful glass morphism effects throughout
- GSAP Animations: Smooth scroll-triggered animations and pinned sections
- Fully Responsive: Works perfectly on all devices
- Multiple Pages: Home, Products, About, and Contact pages
- SEO Optimized: Built-in SEO best practices and meta tags
- WhatsApp Integration: Floating WhatsApp button for instant communication
- Contact Form: Functional form with validation using React Hook Form
- GeM Compliance Section: Highlighting government certifications
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS 3.4
- Animations: GSAP 3.12 + ScrollTrigger
- Forms: React Hook Form
- Icons: Lucide React
- Fonts: Inter (Google Fonts)
mega-landing/
βββ src/
β βββ app/
β β βββ about/
β β β βββ page.js
β β βββ products/
β β β βββ page.js
β β βββ contact/
β β β βββ page.js
β β βββ layout.js
β β βββ page.js
β β βββ globals.css
β βββ components/
β β βββ layout/
β β β βββ Navbar.jsx
β β β βββ Footer.jsx
β β βββ home/
β β β βββ Hero.jsx
β β β βββ FeaturedProducts.jsx
β β β βββ BrandsShowcase.jsx
β β β βββ ClientsShowcase.jsx
β β β βββ GeMCompliance.jsx
β β β βββ CTASection.jsx
β β βββ ui/
β β β βββ GlassSurface.jsx
β β β βββ GlassSurface.css
β β βββ shared/
β β βββ ContactForm.jsx
β βββ lib/
βββ public/
β βββ images/
βββ tailwind.config.js
βββ next.config.js
βββ postcss.config.js
βββ jsconfig.json
βββ package.json
- Node.js 18+ installed
- npm or yarn package manager
cd mega-landing
npm installnpm run devOpen http://localhost:3000 in your browser.
npm run build
npm startLocated at src/components/ui/GlassSurface.jsx
A reusable glass morphism component with customizable properties:
<GlassSurface
width={300}
height={200}
borderRadius={24}
brightness={98}
opacity={0.6}
>
<YourContent />
</GlassSurface>Located at src/components/home/Hero.jsx
Features:
- Animated title with gradient text
- Trust badges
- Glass morphism stats cards
- Smooth GSAP animations
Located at src/components/home/FeaturedProducts.jsx
Features:
- Pinned section with scroll-triggered cards
- 3D rotation effects
- Hover interactions
Located at src/components/shared/ContactForm.jsx
Features:
- React Hook Form validation
- Real-time error messages
- Success/error states
- Glass morphism container
Edit tailwind.config.js to customize colors:
colors: {
primary: {
50: '#DFF2EB', // Lightest green
100: '#B9E5E8', // Light blue-green
500: '#7AB2D3', // Medium blue
600: '#6BA4C7', // Slightly darker blue
700: '#4A628A', // Dark blue
// ... more shades
}
}- Navigate to
public/images/ - Replace dummy images with your actual assets:
- Logo:
logo.png - Brand logos:
brands/ - Client logos:
clients/ - Product images:
products/
- Logo:
Edit the following files:
src/components/layout/Footer.jsxsrc/app/contact/page.jssrc/app/layout.js(WhatsApp button)
Update:
- Phone numbers
- Email addresses
- Physical address
- Social media links
In src/app/contact/page.js, replace the Google Maps iframe with your actual location coordinates.
- Push your code to GitHub
- Import repository on Vercel
- Configure environment variables (if any)
- Deploy!
If you integrate backend APIs, create .env.local:
NEXT_PUBLIC_API_URL=your-api-url
NEXT_PUBLIC_GOOGLE_MAPS_KEY=your-maps-keynpm run dev- Start development servernpm run build- Build for productionnpm start- Start production servernpm run lint- Run ESLint
The site includes:
- Optimized meta tags
- OpenGraph tags for social sharing
- Structured data (JSON-LD)
- Sitemap support
- Robots.txt support
sm: 640pxmd: 768pxlg: 1024pxxl: 1280px2xl: 1536px
For issues or questions:
- Email: megaenterprise.info@gmail.com
- Phone: +91 750 6070 157
- WhatsApp: Click to Chat
Β© 2025 MEGA Enterprise. All Rights Reserved.
Built with β€οΈ using Next.js, Tailwind CSS, and GSAP