Healthcare & Clinical Website

IE Lung

A clinical practice website modernized from static HTML into a modular React component architecture, featuring subtle SVG animations, responsive layouts, and transactional email consultation forms.

IE Lung project
01 — Overview

Project details

IE Lung is a specialized medical practice website representing a pulmonary and respiratory clinical care center. The project focused on modernizing a legacy multi-page static website into a maintainable, modular React component architecture.

My contribution focused on frontend modernization: decomposing monolithic HTML templates into reusable components, creating subtle CSS and SVG animations for pulmonary anatomical illustrations, optimizing assets, and implementing reliable transactional email delivery for patient consultation inquiries.

Year2025
RoleFrontend Developer
TypeHealthcare & Clinical Website
02 — The problem

The challenge

The clinic's original website suffered from significant maintenance friction. Built as separate static HTML files, updating clinic operating hours, physician credentials, or location details required manual edits across dozens of separate files, frequently causing broken links and visual inconsistencies.

Furthermore, the clinic wanted visual illustrations to help patients understand pulmonary conditions, but medical websites must look professional, load instantly, and avoid distracting animations or heavy JavaScript dependencies that might frustrate older patients on slow devices.

03 — The approach

How I approached it

I decomposed the monolithic pages into a clean hierarchy of single-responsibility React components: service cards, physician profile blocks, clinic location banners, and consultation inquiry forms.

To keep page weight minimal, I built subtle respiratory visual highlights using lightweight CSS transitions and optimized SVG vector paths rather than heavy third-party animation libraries. I also replaced fragile mailto links with serverless transactional email handling via Resend.

IE Lung system preview and architecture overview
04 — Engineering

Engineering breakdown

The important parts of the project were not just the interface, but the systems and decisions behind it.

01

Decomposing static HTML templates into modular React components

Legacy static websites often suffer from repetitive code: headers, navigation menus, physician credential blocks, and clinic operating hours are copy-pasted across dozens of HTML files.

I led the component refactoring effort, creating reusable React components with clear props interfaces for medical specialties, clinical services, doctor biographies, and clinic location cards.

This component-driven approach unified spacing, typography, and color consistency across the entire website while dramatically simplifying future content updates.

02

Lightweight SVG anatomical illustrations and subtle CSS animations

Medical websites benefit from visual diagrams that clarify clinical treatments (such as pulmonary function testing, sleep apnea diagnostics, and asthma management).

Rather than embedding heavy GIF files or complex JavaScript animation runtimes, I crafted optimized SVG vector illustrations depicting pulmonary anatomy.

I applied subtle CSS keyframe animations to indicate airflow and respiratory rhythms. By keeping animations lightweight and respecting prefers-reduced-motion media queries, the website remains performant and accessible.

03

Patient consultation inquiry delivery with Resend

The legacy website relied on basic mailto links that frequently failed for patients who lacked configured desktop email clients.

I implemented an integrated consultation inquiry form with client-side validation and server-side submission handling.

Form submissions connect to Resend API endpoints, formatting patient inquiries into clean HTML emails sent directly to the clinic reception staff while dispatching an automated confirmation receipt to the patient.

05

Key engineering work

  • Refactored legacy static HTML templates into clean, modular React component architecture
  • Crafted lightweight SVG pulmonary anatomical diagrams with accessible CSS animations
  • Replaced fragile mailto links with server-validated transactional email forms via Resend
  • Applied accessibility standards including prefers-reduced-motion support
  • Delivered fast-loading mobile layouts tailored for clinical healthcare patients
06

Key decisions

  • Built respiratory animations with pure CSS and SVG paths rather than heavy third-party JavaScript libraries.
  • Replaced direct mailto links with a server-handled Resend consultation form to eliminate lost patient inquiries.
  • Structured medical service cards as reusable components to ensure layout consistency across treatment pages.
07

Results

  • Modernized the clinic's digital presence into a maintainable, component-driven React architecture.
  • Eliminated content inconsistencies by centralizing shared UI components and clinical details.
  • Improved consultation inquiry reliability through direct serverless email delivery.
08

What I learned

  • Medical websites require conservative, accessible visual design: animations must inform and clarify rather than distract.
  • Refactoring static legacy sites into component architectures delivers immediate maintenance relief for small businesses.
  • Transactional email forms are far more dependable for non-technical users than mailto links.
09 — Stack

Technologies

ReactTypeScriptNext.jsTailwind CSSSVG Vector AnimationResend API
Next project

Have a problem
worth solving?

Whether you're building something new or improving an existing system, let's talk about the problem and what it would take to build it well.

Start a conversation