Front-End Gym Website

A responsive, fast-loading gym website showcasing modern UI, pricing tiers, and clean component design using Tailwind CSS and Vite.

Project Overview

Lux Fitness is a modern multi-page front-end website built for a fictional gym brand. The goal of the project was to showcase visually compelling layout design, clear service offerings, and tiered pricing components — all within a highly responsive and mobile-optimized user interface. Built with HTML, JavaScript, and Tailwind CSS on a Vite setup, the site emphasizes speed, clean code organization, and UI reusability. It's structured to feel professional and scalable, while remaining a front-end-focused project with static content and no backend. Ideal for demoing layout structuring, component-based design, and smooth scrolling experiences, this project serves as a strong example of client-facing web presentation.

Technical Details

Technologies Used

tech-0
tech-1
tech-2

Architecture & Infrastructure

Architecture: Static multi-page site built using semantic HTML and Tailwind CSS with modular components and page-based routing.

Hosting: Deployed via Vercel for instant global access and CI/CD integration with GitHub.

APIs: No external APIs — project focuses on front-end performance and UI, Native JavaScript used for UI behavior and smooth scrolling

Key Features

Tiered Pricing Table

Highlights membership levels with modern card design.

Service Highlights

Clean section layout describing gym offerings.

Animations & Performance

Scroll-triggered transitions, hover effects, and fast loading with Vite optimization.

Development Process

Planning

Sketched layout sections for hero, pricing, services, and footer. Focused on content hierarchy and responsive flow across breakpoints.

Implementation

Used semantic HTML5, Tailwind CSS for utility-first styling, and Vite for fast local dev. Built reusable cards and buttons with consistent spacing and transitions.

Testing

Manually tested across major browsers (Chrome, Safari, Firefox) and multiple devices to verify responsiveness, layout integrity, and scroll behavior.

Deployment

Integrated GitHub repo with Vercel for continuous deployment and preview links.

Challenges & Solutions

Mobile-First Visual Balance

Ensuring design looked polished on smaller screens without breaking layout structure.

Solution:

Built using mobile-first responsive design with Tailwind's utility classes and used Flexbox/Grid selectively for consistent scaling.

Pricing Layout Flexibility

Designing tiered pricing sections that remained readable and clear at all screen sizes.

Solution:

Structured pricing cards using Tailwind's responsive grid and spacing utilities, ensuring clean alignment and legibility on all devices.

Future Improvements

  • Implement a fully functional sign-up form integrated with Firebase or Supabase.
  • Add dynamic plan selection logic and state handling (e.g. "selected" tier).
  • Integrate a lightweight CMS (like Sanity or Contentful) to allow dynamic updates to services and pricing without code changes.
  • Enhance accessibility with ARIA roles and keyboard nav.