Skip to content

sudhakarbadugu/luminary-leaders

Repository files navigation

Luminary Leaders

Luminary Leaders is a React and TypeScript digital archive of influential people across technology, markets, sports, cricket, and science. The app presents biography pages, curated story sections, comparison tools, bookmarks, dark mode, print/share actions, and offline support through a service worker.

Features

  • Home page with animated sections for leaders, traders, athletes, cricketers, scientists, blogs, methodology, stats, and bookmarks.
  • Individual profile pages for technology leaders, traders, sports people, cricketers, and scientists.
  • Search, filtering, bookmarking, and profile comparison flows.
  • Blog listing and article pages.
  • PWA manifest and service worker for installable/offline-friendly behavior.
  • Dark mode, print styles, share actions, audio narration support, and an offline banner.
  • Smooth scrolling and animation using Lenis, GSAP, and a particle canvas background.

Tech Stack

  • React 19
  • TypeScript
  • Vite
  • React Router
  • Tailwind CSS
  • Radix UI primitives
  • Lucide React icons
  • GSAP and Lenis
  • Three.js

Routes

Route Purpose
/ Main archive landing page
/leader/:id Technology and business leader profile
/trader/:id Trader and investor profile
/athlete/:id Sports person profile
/cricketer/:id Cricketer profile
/scientist/:id Scientist profile
/blog Blog index
/blog/:slug Blog article
/privacy Privacy policy
/terms Terms of use

Getting Started

Install dependencies:

npm install

Start the development server:

npm run dev

Build for production:

npm run build

Preview the production build locally:

npm run preview

Run linting:

npm run lint

Deployment

Option 1: Static Hosting

Use any static hosting provider that supports single page apps.

npm run build

Deploy the generated dist/ folder. Because this app uses BrowserRouter, configure the host to route unknown paths back to index.html.

Option 2: Netlify (Drag & Drop - Easiest)

Why: zero config, just drag a folder.

Steps:

  1. Run npm run build locally.
  2. Go to app.netlify.com.
  3. Drag your dist/ folder onto the page.
  4. Get a free .netlify.app URL instantly.

For auto-deploy from GitHub:

  1. Connect your GitHub repo.
  2. Set the build command to npm run build.
  3. Set the publish directory to dist.

Project Structure

public/
  icons/             PWA icons
  images/            Profile and section imagery
  manifest.json      PWA manifest
  sw.js              Service worker
src/
  components/        Shared UI and feature components
  components/ui/     Radix-based UI primitives
  data/              Biography, profile, and blog datasets
  hooks/             Dark mode and responsive hooks
  pages/             Route-level pages
  sections/          Home page sections
  styles/            Dark mode and print CSS
  utils/             Bookmarks, comparison, PWA, and helper utilities

Notes

  • The app uses BrowserRouter, so production hosting should serve index.html for unknown routes.
  • PWA behavior is registered from src/main.tsx and backed by public/sw.js.
  • Profile content and category data are stored locally under src/data.

About

303 deeply researched biographies of visionaries across technology, markets, sports, cricket, and science. Features bookmarks, comparisons, audio narration, dark mode, PWA offline support, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors