Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flourish Women's Clinic

Flourish Women's Clinic

Production-grade medical clinic website built with React 18 + Vite + SCSS

React Vite SCSS React Router License: MIT

Live Demo · Report Bug · Request Feature


Overview

Website for Flourish Women's Clinic, a specialist gynaecological and obstetric practice in Pretoria, South Africa, led by Dr Bob Mupier (MBChB, FCOG SA, MMED O&G). Built as a professional, performant, and SEO-optimised React SPA with a focus on user experience and accessibility.

flourish-women's-clinic-preview-image

Features

  • Service Pages — Hysteroscopy, Laparoscopy, Infertility & IUI with FAQs, benefits, and step-by-step process sections
  • Gallery — Masonry grid with category filtering, skeleton loaders, and full-screen lightbox with keyboard navigation
  • Booking Form — Real form submission via Formspree with validation, loading states, and success/error feedback
  • Scroll-Aware Navbar — Active section tracking via IntersectionObserver with cross-page section navigation
  • Back To Top — SVG scroll progress ring with spring-physics animation
  • SEO — Structured JSON-LD (MedicalBusiness + Physician schema), Open Graph, Twitter Cards, geo meta tags
  • Custom HooksuseScrolled, useCursor, useFadeIn, useContactForm, useTestimonials
  • Fully Responsive — Mobile-first across all pages and components

Tech Stack

Layer Technology
Framework React 18
Build Tool Vite 5
Styling SCSS (BEM architecture)
Routing React Router 6
Icons FontAwesome 6 (SVG core)
Forms Formspree
Fonts Playfair Display, Cormorant Garamond, DM Sans

Project Structure

src/
├── assets/
│   └── images/
│       └── gallery/        # 15 gallery images
├── components/
│   ├── layout/
│   │   ├── Navbar/
│   │   ├── TopBar/
│   │   └── Footer/
│   ├── sections/
│   │   ├── Hero/
│   │   ├── About/
│   │   ├── Services/
│   │   ├── AdditionalServices/
│   │   ├── WhyUs/
│   │   ├── Testimonials/
│   │   └── Contact/
│   └── ui/
│       └── BackToTop/
├── hooks/
│   ├── useScrolled.js
│   ├── useCursor.js
│   ├── useFadeIn.js
│   ├── useContactForm.js
│   └── useTestimonials.js
└── pages/
    ├── HomePage/
    ├── TheDoctorPage/
    ├── ClinicPage/
    ├── GalleryPage/
    ├── HysteroscopyPage/
    ├── LaparoscopyPage/
    └── InfertilityIUIPage/

Getting Started

Prerequisites

  • Node.js 18+
  • npm 9+

Installation

# Clone the repo
git clone https://github.com/your-username/flourish-womens-clinic.git
cd flourish-womens-clinic

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Add your Formspree ID to .env

# Start dev server
npm run dev

Build for Production

npm run build
npm run preview

Environment Variables

Variable Description Required
VITE_FORMSPREE_ID Formspree form ID for contact form Yes

Get a free Formspree ID at formspree.io.


Pages & Routes

Route Page
/ Home
/the-doctor Dr Bob Mupier Profile
/clinic About the Clinic
/gallery Photo Gallery
/services/hysteroscopy Hysteroscopy
/services/laparoscopy Laparoscopy
/services/infertility-iui Infertility & IUI

Credits

  • Design & Development — Built with React + Vite
  • Clinical Content — Flourish Women's Clinic, Dr Bob Mupier
  • IconsFontAwesome
  • Form HandlingFormspree

License

MIT © Flourish Women's Clinic


---

**`LICENSE`**

MIT License

Copyright (c) 2026 Flourish Women's Clinic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Production-grade women's health clinic website — React 18, Vite, SCSS, React Router, FontAwesome. Features service pages, gallery lightbox, booking form, SEO-optimised, fully responsive.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages