"Every inch belongs to him."
India's first science-backed pediatric height growth optimisation platform and genetic potential calculator designed specifically for Indian parents to maximize their son's natural biological growth window before epiphyseal plates fuse.
For easy copy-pasting directly into your GitHub Repository Settings:
π± India's first science-backed pediatric height growth optimisation platform & genetic ceiling calculator for boys aged 2β17. Built with Next.js 16, React 19, TypeScript, Tailwind CSS v4, and Supabase.
https://lambai.in
height-calculator, pediatric-health, growth-tracker, nextjs, nextjs16, react19, typescript, tailwindcss, framer-motion, supabase, lenis-scroll, indian-healthtech, child-nutrition, growth-plates, healthtech
- π Overview & Mission
- π¬ The Science Behind Lambai
- β¨ Key Features & Web Experience
- π Genetic Height Potential Calculator Engine
- π± Route Architecture & Pages
- π οΈ Tech Stack
- π Project Directory Structure
- π Getting Started & Local Development
- π Environment Configuration
- π¨ Design System & Aesthetic Philosophy
- π SEO, Metadata & Analytics
β οΈ Medical Disclaimer- π License
Genetics accounts for 60% to 80% of a child's final adult height. The remaining 20% to 40% is determined by environmental factors: bioavailable micronutrient density, mechanical bone-loading stimulus, and slow-wave sleep growth hormone (HGH) secretion.
In India, typical dietary patterns often lack critical bioavailable calcium, zinc, lysine, and quality amino acids needed during growth spurts. When boys reach late adolescence (approx. 16β18 years), their epiphyseal growth plates permanently fuse (ossify), closing their biological growth window forever.
"Sachin Tendulkar is 5'4". His son Arjun stands at 6'1". That is not luck. That is a system. Lambai gives every Indian parent access to that system."
Lambai Web is the digital flagship and pre-launch interactive portal for Lambai:
- Democratises Pediatric Growth Science β Translates clinical endocrinology and pediatric growth data into accessible, actionable guidance.
- Interactive Genetic Ceiling Calculator β Evaluates maternal/paternal heights and 6 core lifestyle metrics to compute the child's genetic ceiling, current trajectory, lifestyle penalties, and growth window remaining.
- High-Converting Waitlist Bridge β Built-in Supabase integration to capture and manage high-intent early access parent requests.
- Cinematic Dark Luxury Editorial Design β An intentional aesthetic combining Aesop-level restraint with Linear-grade engineering polish.
Calculates the child's genetic target ceiling:
Unlike generic Western datasets, Lambai benchmarks development against empirical National Family Health Survey (NFHS-5) pediatric medians to deliver culturally precise percentile projections.
- π₯ Nutrition & Micronutrients: Targeted intake of bioavailable calcium (Ragi, Til, Paneer), Vitamin D3/K2, Zinc, and high-biological-value proteins for osteoid matrix synthesis.
- π Mechanical Bone-Loading: Micro-impact loading (jump rope, sprinting, bar hangs) activating osteoblasts and epiphyseal chondrocytes.
- π Deep Slow-Wave Sleep: Optimizing Stage 3/4 NREM sleep architecture where 75%+ of daily pulsatile Human Growth Hormone (HGH) is released.
| Feature | Description |
|---|---|
| π Interactive 5-Step Calculator | Instant calculation of genetic height ceiling, trajectory gap, habit score, and growth window countdown. |
| π΄ Exportable Growth Share Card | One-tap share card generation powered by html2canvas for WhatsApp and social sharing. |
| π± Features Bento Grid | Interactive showcase highlighting the Indian Superfood Matrix, Circadian Sleep, and Bone-Loading Mechanics. |
| π« Lenis Smooth Scroll & Framer Motion | Cinematic momentum scrolling coupled with GSAP and Framer Motion micro-animations. |
| π‘οΈ Grain Overlay & Custom Cursor | Subtle film grain and interactive desktop magnetic custom cursor for a tactile luxury feel. |
| β‘ Supabase Waitlist Capture | Real-time email validation, duplicate detection, and direct storage in Supabase waitlist tables. |
| π PostHog Funnel Tracking | Client-side tracking measuring calculator completion rates, drop-offs, and conversions. |
| π± 100% Responsive & Zero Bloat | Pure bespoke components crafted with Tailwind CSS v4 β zero bulky UI component libraries. |
The client-side calculator located at /calculator runs completely on-device for maximum speed and privacy:
flowchart LR
A[Step 1: Child Age & Gender] --> B[Step 2: Child Current Height]
B --> C[Step 3: Father Height]
C --> D[Step 4: Mother Height]
D --> E[Step 5: 6 Lifestyle Inputs]
E --> F[Algorithm Processing]
F --> G[Results Dashboard]
subgraph Results [Output Metrics]
G --> H[Genetic Ceiling cm / ft-in]
G --> I[Current Trajectory cm / ft-in]
G --> J[Biological Height Gap]
G --> K[Growth Window Years/Months]
G --> L[Growth Environment Score 0-100]
G --> M[Celebrity Case Comparison]
G --> N[Downloadable Share Card]
end
- Sleep Duration & Bedtime (Circadian GH release)
- Daily Physical Activity (Osteoblast bone-loading)
- Protein Frequency (Amino acid bone matrix building blocks)
- Late-Night Screen Time (Blue light melatonin suppression)
- Direct Sunlight Exposure (Endogenous Vitamin D synthesis)
- Calcium Intake Frequency (Mineral bone density support)
/β Landing Page (src/app/page.tsx):Hero: Punchy typography, dynamic background glow, instant CTA.ScrollMarquee: Continuous scientific proof ticker.TheProblem: The silent height crisis in modern India.TheInsight: Why elite Indian dynasties grow taller than their fathers.TheEnemy: Exposing sugar-loaded malt drinks (Horlicks/Bournvita).TheSystem: The 3-pillar protocol breakdown.FeaturesBento: Visual feature matrix with mockups.TheMission&CalculatorCTA: Seamless bridge to the calculator and waitlist.
/calculatorβ Interactive Assessment (src/app/calculator/):- Multi-step client assessment with animated transitions.
- Interactive metric comparison bars and visual growth trajectories.
ShareCard: Dynamic preview and PNG download for parents.
/privacy&/termsβ Legal & Transparency (src/app/privacy/,src/app/terms/):- Zero-storage client privacy policy and disclaimers.
- Framework: Next.js 16.2 (App Router)
- Library: React 19.2
- Language: TypeScript 5.x
- Styling: Tailwind CSS v4 with PostCSS
- Bundler / Server: Next.js Server Components & Turbopack ready
- Motion & Stagger: Framer Motion 12
- Scroll Sequences: GSAP 3 &
@gsap/react - Smooth Momentum Scrolling: Lenis 1.3
- Intersection Observer:
react-intersection-observer
- Backend-as-a-Service: Supabase JS Client v2
- Client Canvas Generation: html2canvas (PNG Share Card creation)
- Headings / Display:
Outfit(vianext/font/google) - Body & Metrics:
Inter(vianext/font/google) - Graphics: Custom SVGs & bespoke UI design
lambai-web/
βββ public/ # Static assets and media
β βββ images/ # Product mockups, hero visuals, brand logos
β βββ favicon.ico # Site favicon
β βββ llms.txt # Contextual documentation for LLMs / crawlers
β βββ *.svg # Brand icons and vector shapes
βββ src/
β βββ app/ # Next.js App Router route hierarchy
β β βββ calculator/ # Height Potential Calculator route
β β β βββ CalculatorClient.tsx # Dynamic multi-step quiz & result engine
β β β βββ page.tsx # Server-rendered calculator page wrapper
β β βββ privacy/ # Privacy Policy page
β β β βββ page.tsx
β β βββ terms/ # Terms and Conditions page
β β β βββ page.tsx
β β βββ globals.css # Tailwind v4 directives & color design tokens
β β βββ layout.tsx # Root layout with fonts, Lenis, grain, & JSON-LD
β β βββ page.tsx # Main landing page
β βββ components/ # Custom modular component library
β β βββ calculator/ # Calculator sub-components
β β β βββ ShareCard.tsx # Canvas-rendered shareable height result card
β β βββ landing/ # Landing page sections
β β β βββ CalculatorCTA.tsx # Direct calculator bridge button
β β β βββ FeaturesBento.tsx # Interactive feature matrix bento grid
β β β βββ Hero.tsx # Main hero with headline & CTA
β β β βββ ScrollMarquee.tsx # Continuous animated statement ticker
β β β βββ StatementSection.tsx # High-impact quote highlight
β β β βββ TheEnemy.tsx # Deconstruction of sugar drinks
β β β βββ TheInsight.tsx # The celebrity & elite family growth insight
β β β βββ TheMission.tsx # Lambai 10-year generation mission
β β β βββ TheProblem.tsx # Indian height gap statistics
β β β βββ TheSystem.tsx # 3-pillar protocol explanation
β β β βββ WaitlistForm.tsx # Email input with Supabase sync
β β βββ layout/ # Global layout elements
β β β βββ Footer.tsx # Site footer with links and disclaimer
β β β βββ LenisProvider.tsx # Smooth scroll wrapper
β β β βββ Navbar.tsx # Dynamic glassmorphic navigation header
β β βββ ui/ # Reusable micro-UI elements
β β βββ CustomCursor.tsx # Interactive desktop cursor
β β βββ GrainOverlay.tsx # Cinematic ambient film grain overlay
β βββ lib/ # Utilities & business logic
β βββ animations.ts # Shared Framer Motion animation variants
β βββ calculator.ts # Tanner formula & habit score math engine
β βββ supabase.ts # Supabase client initialization
β βββ utils.ts # Class merging utility (clsx + twMerge)
βββ eslint.config.mjs # ESLint configuration
βββ next.config.ts # Next.js runtime configuration
βββ package.json # Project dependencies and scripts
βββ postcss.config.mjs # PostCSS configuration for Tailwind v4
βββ tsconfig.json # TypeScript strict configuration
- Node.js:
v18.18.0or higher (Node 20+ recommended) - Package Manager:
npm,pnpm,yarn, orbun
-
Clone the repository:
git clone https://github.com/ParitoshSrivastava31/Lambai.git cd Lambai/web -
Install dependencies:
npm install
-
Set up Environment Variables: Create a
.env.localfile in thewebroot directory:cp .env.example .env.local # Or create .env.local directly -
Start the local development server:
npm run dev
-
Open in browser: Navigate to http://localhost:3000 to view the live site.
# Generate optimized production build
npm run build
# Start production server locally
npm run start
# Run ESLint validation
npm run lintCreate a .env.local file with the following keys:
# Supabase Configuration (Required for waitlist submissions)
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here
# PostHog Analytics (Optional)
NEXT_PUBLIC_POSTHOG_KEY=your-posthog-key
NEXT_PUBLIC_POSTHOG_HOST=https://app.posthog.comLambai is styled with a "Warm Editorial Luxury" aesthetic (Aesop meets Linear):
- Void Black (
#0A0A0A/--color-void): Deep, immersive backdrop minimizing visual fatigue. - Deep Forest Green (
#1B4332): Represents organic biological growth, vitality, and health. - Sovereign Gold (
#D4AF37/--color-gold): Accents representing excellence, ambition, and premium care. - Surface Elevation (
#141414/#1F1F1F): High-contrast card surfaces with subtle borders (rgba(255,255,255,0.08)). - Typography Pairing:
Outfitβ Geometric, high-character display headings.Interβ Crisp, legible technical body and data readouts.
- Structured Data (JSON-LD): Built-in
Schema.orgWebSite and SearchAction markup for Google rich snippets. - OpenGraph & Twitter Cards: Rich 1200x630 sharing cards configured in
src/app/layout.tsx. - Search Engine Friendly: Fully rendered server components with canonical tags and crawler directives.
- LLM Discoverability: Includes
public/llms.txtfor semantic AI crawler discovery.
Lambai and the Genetic Height Potential Calculator are built for educational, informational, and wellness tracking purposes only. Predictions and recommendations are derived from standard pediatric statistical models (Tanner Mid-Parental Formula) and public health datasets (NFHS-5). Lambai does not provide medical diagnoses, pediatric treatment, or clinical prescriptions. Always consult a qualified pediatrician or pediatric endocrinologist for clinical assessments regarding your child's physical growth.
This repository and its contents are proprietary and confidential.
Β© 2026 Lambai. All rights reserved. Unauthorized copying, modification, distribution, or commercial use is strictly prohibited.
