Skip to content

BhavyaSoni21/Humusway-Global

Repository files navigation

Humusway Global Export Website

A modern, animated Next.js website for Humusway Global Export Private Limited - showcasing premium organic products from India.

Next.js TypeScript Tailwind CSS License

⚑ Quick Start (Setup on New PC)

# 1. Clone the repository
git clone https://github.com/BhavyaSoni21/-Humusway-Global-.git
cd -Humusway-Global-

# 2. Install dependencies
npm install

# 3. Run development server
npm run dev

That's it! Open http://localhost:3000 in your browser.

Note: Requires Node.js 18.0+ (Download here)


🌟 Features

✨ Beautiful Animations - Smooth animations throughout using Framer Motion
🎨 Interactive Particles - Dynamic particle effects that respond to mouse movement
πŸ–ΌοΈ Drag-Swipeable Gallery - Touch-friendly image swiper with smooth transitions
🎯 Modern UI - Aurora backgrounds, tubelight navbar, and polished shadcn/ui components
πŸ“± Fully Responsive - Optimized for mobile, tablet, and desktop
πŸš€ Fast Performance - Built with Next.js 14 App Router for optimal speed
β™Ώ Accessible - ARIA labels and semantic HTML
🎭 Static Export Ready - No backend required, perfect for static hosting

πŸ›  Tech Stack

  • Framework: Next.js 14.2.35 (App Router)
  • Styling: Tailwind CSS 3.4
  • Animations: Framer Motion 11.0
  • UI Components: shadcn/ui (Button, Card, ImageSwiper)
  • Component Utilities: Radix UI, Class Variance Authority
  • Icons: Lucide React
  • Language: TypeScript 5.3
  • Theme Management: next-themes
  • Performance: SWC Compiler, Optimized Package Imports

πŸ“„ Pages

Main Pages

  • 🏠 Home - Hero section with animated aurora background and particles
  • ℹ️ About - Company information, mission statement, and values
  • πŸ“¦ Products - Grid view of all products with animated cards
  • πŸ’Ό Services - Export services and capabilities
  • πŸ“ž Contact - Interactive contact form with company details

Product Detail Pages

  1. Vermi Compost Organic Fertilizer

    • Drag-swipeable image gallery with 3 product images
    • Detailed benefits and advantages
    • Key features with icons
    • Call-to-action buttons
  2. Turmeric Powder

    • High-quality curcumin content information
    • Health benefits and cancer prevention properties
    • Scientific backing and research
    • Touch-friendly image swiper
  3. Coco Peat

    • Eco-friendly growing medium details
    • Water retention and pH balance information
    • Disease resistance properties
    • Interactive swipeable gallery

πŸš€ Getting Started

Prerequisites

Before setting up the project, ensure you have:

Installation Steps

1. Clone the Repository

git clone https://github.com/BhavyaSoni21/-Humusway-Global-.git
cd -Humusway-Global-

2. Install Dependencies

npm install

This will install all required packages including:

  • Next.js 14.2.35
  • React 18
  • Tailwind CSS
  • Framer Motion
  • shadcn/ui components
  • Radix UI primitives
  • And other dependencies

3. Run Development Server

npm run dev

The site will be available at: http://localhost:3000

4. View in Browser

Open your browser and navigate to http://localhost:3000


πŸ—οΈ Build for Production

Standard Build

npm run build
npm start

This creates an optimized production build and starts the server on port 3000.

Static Export

For deployment to static hosting platforms (Netlify, Vercel, GitHub Pages):

npm run build

The static files will be generated in the .next directory.


⚑ Performance Tips

  • Development server uses Turbopack for faster builds
  • Production builds are optimized with SWC minification
  • Package imports are optimized for Framer Motion and Lucide React
  • Clear cache if experiencing issues:
    rm -rf .next node_modules
    npm install

πŸ“ Project Structure

β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ layout.tsx              # Root layout with navbar
β”‚   β”œβ”€β”€ page.tsx                # Home page with particles
β”‚   β”œβ”€β”€ globals.css             # Global styles
β”‚   β”œβ”€β”€ about/
β”‚   β”‚   └── page.tsx
β”‚   β”œβ”€β”€ contact/
β”‚   β”‚   └── page.tsx
β”‚   β”œβ”€β”€ services/
β”‚   β”‚   └── page.tsx
β”‚   └── products/
β”‚       β”œβ”€β”€ page.tsx            # Products listing
β”‚       β”œβ”€β”€ vermi-compost/
β”‚       β”‚   └── page.tsx
β”‚       β”œβ”€β”€ turmeric-powder/
β”‚       β”‚   └── page.tsx
β”‚       └── coco-peat/
β”‚           └── page.tsx
β”œβ”€β”€ components/
β”‚   └── ui/
β”‚       β”œβ”€β”€ tubelight-navbar.tsx    # Animated navigation bar
β”‚       β”œβ”€β”€ aurora-background.tsx   # Gradient background effect
β”‚       β”œβ”€β”€ beams-background.tsx    # Animated beams effect
β”‚       β”œβ”€β”€ image-swiper.tsx        # Drag-swipeable image gallery
β”‚       β”œβ”€β”€ button.tsx              # shadcn/ui Button component
β”‚       β”œβ”€β”€ card.tsx                # shadcn/ui Card component
β”‚       └── theme-toggle.tsx        # Theme switcher
β”œβ”€β”€ lib/
β”‚   └── utils.ts                # Utility functions (cn)
β”œβ”€β”€ public/
β”‚   └── images/
β”‚       β”œβ”€β”€ Logo.png
β”‚       β”œβ”€β”€ Verm1.png, Verm2.png, Verm3.png
β”‚       β”œβ”€β”€ Term1.png, Term2.png, Term3.png
β”‚       └── Coco1.png, Coco2.png, Coco3.png
└── package.json

πŸ–ΌοΈ Adding Product Images

Place your product images in the public/images/ directory:

Required Images:

  • Logo: Logo.png (Company logo, ~200x200px recommended)
  • Vermi Compost: Verm1.png, Verm2.png, Verm3.png
  • Turmeric: Term1.png, Term2.png, Term3.png
  • Coco Peat: Coco1.png, Coco2.png, Coco3.png

Image Guidelines:

  • Format: PNG or JPG
  • Recommended size: 1200x800px for product images
  • Optimize images before adding (use tools like TinyPNG)

🎨 Customization

Brand Colors

The primary color scheme uses blue (#0477d1). To change:

1. Tailwind Config (tailwind.config.ts):

colors: {
  primary: '#0477d1',
  // Add more colors
}

2. Global CSS (app/globals.css):

:root {
  --primary: #0477d1;
}

3. Component Classes: Replace text-[#0477d1] and bg-[#0477d1] throughout components

Image Swiper Usage

Use the drag-swipeable image gallery in your components:

import { ImageSwiper } from '@/components/ui/image-swiper'

<ImageSwiper 
  images={["/images/img1.png", "/images/img2.png", "/images/img3.png"]}
  className="shadow-2xl"
/>

Features:

  • Drag to navigate between images
  • Touch-friendly for mobile devices
  • Smooth animations and transitions
  • Navigation buttons appear on hover
  • Image counter indicator
  • Optimized with Next.js Image component

Adding New Products

  1. Add product images to public/images/
  2. Update app/products/page.tsx products array
  3. Create new folder: app/products/[product-slug]/page.tsx
  4. Copy structure from existing product pages

πŸ“ž Company Information

Humusway Global Export Private Limited

  • Address: Millennium Emerald Unit B1002, Datta Mandir Road, Wakad, Pune - 411057, India
  • Phone: +91 9921789904 / +91 9168991898 / +91 9028378764
  • Email:

οΏ½ Troubleshooting

Common Issues on New PC Setup

Port Already in Use

If port 3000 is busy:

# Windows
netstat -ano | findstr :3000
taskkill /PID <PID> /F

# Mac/Linux
lsof -ti:3000 | xargs kill -9

Node Version Issues

Check your Node.js version:

node --version  # Should be 18.0 or higher

Update if needed from nodejs.org

npm Install Fails

Try clearing cache:

npm cache clean --force
rm -rf node_modules package-lock.json
npm install

Build Errors

Clear Next.js cache:

# Windows PowerShell
Remove-Item -Recurse -Force .next, node_modules
npm install

# Mac/Linux
rm -rf .next node_modules
npm install

Slow Performance

  • Use latest Node.js LTS version
  • Close unnecessary applications
  • Run: npm run dev -- --turbo for faster builds

Git Clone Issues

If HTTPS clone fails, try:

git clone git@github.com:BhavyaSoni21/-Humusway-Global-.git

�🚒 Deployment

Vercel (Recommended)

Deploy with Vercel

  1. Push code to GitHub
  2. Import repository in Vercel
  3. Deploy automatically

Netlify

  1. Build command: npm run build
  2. Publish directory: .next
  3. Deploy

Other Platforms

  • AWS Amplify
  • GitHub Pages (with static export)
  • Cloudflare Pages

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“ License

This project is licensed under the MIT License.

πŸ‘₯ Author

Humusway Global Export Private Limited

For inquiries, contact: info@humuswayglobal.com


Built with ❀️ using Next.js

Content Management

All content is hardcoded in the page components. Edit the respective page files:

  • Company info: app/about/page.tsx
  • Products: app/products/[product]/page.tsx
  • Contact: app/contact/page.tsx
  • Home page: app/page.tsx

Key Dependencies

{
  "next": "^14.2.35",
  "react": "^18.2.0",
  "framer-motion": "^11.0.3",
  "tailwindcss": "^3.4.1",
  "lucide-react": "^0.344.0",
  "@radix-ui/react-slot": "^1.x",
  "class-variance-authority": "^0.x"
}

πŸ“¦ Exported Products

  1. Vermi Compost Organic Fertilizer - Premium organic fertilizer for sustainable agriculture
  2. Turmeric Powder - High-quality turmeric with superior curcumin content
  3. Coco Peat - Eco-friendly growing medium for horticulture

Β© 2026 Humusway Global Export Private Limited - All Rights Reserved

Releases

Packages

Contributors

Languages