shivamelectricalworks.com)Modern, production-grade website and interactive RFQ (Request for Quotation) engine for Shivam Electrical Works β a government-licensed electrical contracting and engineering firm delivering turnkey HT/LT power distribution, custom-fabricated control panels (PCC, MCC, APFC, VFD, AMF), captive DG installations, and statutory Electrical Inspectorate liaisoning across Maharashtra and Pan-India.
Built with Next.js 15 (App Router, Static HTML Export), Tailwind CSS, TypeScript, and Lucide Icons.
output: "export"):
Zero backend server overhead, zero database dependencies, zero cold-starts, and rock-solid uptime via global CDN distribution.mailto:) or WhatsApp (wa.me) with pre-formatted line items, allowing clients to attach drawings, tender PDFs, and Single Line Diagrams (SLD) seamlessly from mobile or desktop..github/workflows/deploy.yml) automatically builds and deploys to GitHub Pages with custom domain support (shivamelectricalworks.com) on every push to main.metadataBase, comprehensive OpenGraph and Twitter card social previews with official SEW logo branding, dynamic XML sitemap (/sitemap.xml), automated robots.txt, and branded 404 handler.Engineered specifically for an industrial B2B electrical engineering contractor:
| Token | Hex | Role |
|---|---|---|
| Primary Slate | #0F172A |
Primary brand canvas, top utility bar, sticky navigation, hero, and footer |
| Dark Surface | #1E293B |
Secondary dark surfaces, cards, 10-Second Spec Builder, and BOQ Cart header |
| Copper CTA | #D97706 |
Primary conversion CTAs, badges, accents, and interactive hover states |
| Copper Dark | #92400E |
High-contrast text labels, section subheadings, and category badges |
#059669 |
Dedicated WhatsApp direct chat and instant RFQ actions | |
| Tech Gray | #F8FAFC |
Alternating section canvases and subtle light surfaces |
/): Value proposition hero with trust metrics, Vision & Mission, 8 client value proposition pillars, workmanship gallery preview, client trust strip, and RFQ conversion banner./about): Corporate profile, statutory liaisoning background, Leadership Desk, core values, team strength breakdown, calibrated testing instruments inventory, and zero-compromise safety protocol./services):
/clients): Sectors served, client trust badges, detailed completed project portfolio (scope & location), and ongoing execution tracker./gallery): Filterable project gallery with category tabs (Substations, Panels, Cabling, Testing) and high-res lightbox modals./contact): Commercial desk coordinates (phone, WhatsApp, email, office address, operating hours) + Quick Project Enquiry form with native email and WhatsApp dispatch./privacy): Comprehensive Indian B2B statutory privacy disclosures, detailing client-side localStorage for the BOQ Cart and zero third-party tracking pixels./terms): Clarifies non-binding RFQ estimates, drawing approvals, IS/CEI standards, intellectual property, and Maharashtra legal jurisdiction.localStorage persisted) with quantity steppers, execution scope selector, WhatsApp BOQ, Email Official BOQ, and Copy Formatted BOQ Text./_not-found): Custom branded error screen directing visitors back to the home page, services catalog, or commercial desk.βββ .github/
β βββ workflows/
β βββ deploy.yml # GitHub Pages CI/CD automated deployment
βββ public/
β βββ images/
β β βββ gallery/ # Project execution diagrams & photos (.svg / .webp)
β β βββ logo.png # Official SEW high-resolution logo
β βββ .nojekyll # Prevents GitHub Pages Jekyll processing
βββ src/
β βββ app/
β β βββ about/ # About Us & safety credentials page
β β βββ clients/ # Client portfolio & project tracker
β β βββ contact/ # Commercial desk & quick RFQ page
β β βββ gallery/ # Filterable project gallery with lightbox
β β βββ privacy/ # Privacy Policy statutory page
β β βββ services/ # Services catalog & 10-Second Spec Builder
β β βββ terms/ # Terms of Use page
β β βββ globals.css # Tailwind utility imports & base styling
β β βββ icon.png # App Router auto-generated favicon & tab icon
β β βββ layout.tsx # Root layout, Google Fonts, SEO metadataBase
β β βββ not-found.tsx # Branded 404 page
β β βββ page.tsx # High-conversion homepage
β β βββ robots.ts # Static /robots.txt generator
β β βββ sitemap.ts # Static /sitemap.xml generator
β βββ components/
β β βββ layout/
β β β βββ Navbar.tsx # Responsive navigation with compact mobile branding
β β β βββ Footer.tsx # Multi-column footer with legal & contact links
β β βββ rfq/
β β βββ BoqCartDrawer.tsx # Slide-out interactive BOQ cart
β β βββ DirectRfqForm.tsx # Direct contact enquiry form
β β βββ FloatingBoqButton.tsx # Persistent bottom-right floating cart pill
β β βββ SpecBuilder.tsx # 10-Second package selector
β βββ context/
β β βββ BoqCartContext.tsx # React Context & localStorage cart state manager
β βββ data/ # Zero-code business configuration files
β βββ catalog.json # 18 BOQ specifications & scope packages
β βββ clients.json # Completed & ongoing project listings
β βββ company.json # Company metadata, contact, address, & credentials
β βββ gallery.json # Project photographs, locations & categories
βββ .eslintrc.json # Next.js core-web-vitals linter configuration
βββ next.config.ts # Next.js static HTML export configuration
βββ package.json # Project dependencies & scripts
βββ postcss.config.mjs # PostCSS configuration
βββ tailwind.config.ts # Brand colors, typography & breakpoints
βββ tsconfig.json # TypeScript strict configuration
npm install
npm run dev
Open http://localhost:3000 in your browser.
npm run lint
npx tsc --noEmit
npm run build
This generates the optimized static export in the ./out/ directory.
All business details, credentials, and offerings are decoupled from the UI and managed via JSON files in src/data/:
src/data/company.json:
name: Company display namelicenseClass: Government Electrical Contractor License numbergstin: 15-digit GSTINcontact.whatsappNumber: Digits-only WhatsApp number for direct chat (e.g. 9198XXXXXXXX)contact.phoneDisplay: Formatted display phone numbercontact.email / contact.salesEmail: Destination inboxes for customer RFQscontact.registeredOffice: Registered office / factory addressabout: Leadership details, company story, team counts, and testing equipmentsrc/data/catalog.json:
src/data/clients.json:
src/data/gallery.json:
.webp or .jpg images into public/images/gallery/ and reference their file paths in gallery.json.This repository includes .github/workflows/deploy.yml:
main branch on GitHub.shivamelectricalworks.com (ensure Enforce HTTPS is checked).This project compiles into standard static HTML/CSS/JS:
npm run buildout20.x or higher