No description
Find a file
2025-09-19 10:02:20 -07:00
assets Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
data Remove details_url entries from multiple projects in projects.json for a cleaner structure and improved data consistency. 2025-09-17 12:09:08 -07:00
js Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
src Initial commit: KH3 Group Limited website with enhanced animations and slide+zoom transitions 2025-08-22 10:38:10 -04:00
styles fix: perfects mobile menu and nav 2025-09-03 01:39:25 -04:00
.drone.yml Enhance Drone CI configuration by adding volume for website data, updating build commands, and including verification steps for deployment success. 2025-09-17 19:23:07 -07:00
.gitattributes Remove LFS tracking and add proj-003 images to regular Git 2025-09-17 17:06:47 -07:00
.gitignore Initial commit: KH3 Group Limited website with enhanced animations and slide+zoom transitions 2025-08-22 10:38:10 -04:00
.htaccess Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
about.html Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
contact.html Enhance contact form functionality by integrating Resend API for email submissions, adding loading state to the submit button, and improving user feedback with alerts upon success or failure. 2025-09-17 16:36:10 -07:00
index.html Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
package-lock.json Initial commit: KH3 Group Limited website with enhanced animations and slide+zoom transitions 2025-08-22 10:38:10 -04:00
package.json Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
projects.html fix: update project details in projects.html and projects.json with new client names, descriptions, and layout adjustments for improved clarity 2025-09-16 11:17:51 -07:00
README.md Merge remote README and resolve conflicts 2025-08-22 10:40:21 -04:00
services.html refactor: update menu toggle structure and icons across multiple HTML files for improved consistency and user experience 2025-09-03 04:02:08 -04:00
tailwind.config.js Update 'about.html' to correct team member numbering and enhance 'index.html' with preloading of critical resources, optimized images, and deferred script loading for improved performance. Modify 'package.json' to include minification in the build script and enable JIT mode in 'tailwind.config.js'. 2025-09-19 10:02:20 -07:00
who.html Update team member details in who.html, including name changes, role updates, and image replacements for improved accuracy and presentation. 2025-09-18 19:06:41 -07:00

KH3 Website

A clean, minimal static website built with HTML, JavaScript, and Tailwind CSS for KH3 - Building Inspiring Spaces.

Quick Start

Prerequisites

  • Node.js (for Tailwind CSS CLI)
  • npm (comes with Node.js)

Setup Instructions

  1. Clone or download the project

    git clone <repository-url>
    cd kh3_website
    
  2. Install Tailwind CSS

    npm install
    
  3. Generate the optimized CSS

    npm run build
    
  4. Open the website

    • Open index.html in your web browser
    • Or serve it with a local server

Project Structure

kh3_website/
├─ index.html          # Main website page
├─ about.html          # About Us page
├─ contact.html        # Contact page
├─ src/
│  └─ input.css        # Tailwind directives
├─ styles/
│  └─ main.css         # Generated optimized CSS
├─ js/
│  └─ main.js          # JavaScript functionality
├─ assets/images/      # Image assets
├─ tailwind.config.js  # Tailwind configuration
├─ package.json        # Dependencies
└─ README.md           # This file

Development

For Active Development

If you're making frequent changes to the HTML, you can use watch mode to automatically regenerate CSS:

npm run watch

Keep this running in a terminal while you work. It will automatically rebuild the CSS whenever you save changes to your HTML files.

Manual Regeneration

If watch mode doesn't work or you prefer manual control:

# One-time build
npm run build

# Watch mode (auto-regenerate on changes)
npm run watch

Note: If watch mode doesn't work, just run the one-time build command after each change.

What This Does

  • Scans your HTML files for used Tailwind classes
  • Generates only the CSS you need (purges unused styles)
  • Creates a tiny, optimized CSS file (~1KB vs ~3MB CDN)

Features

  • Clean, minimal design with Tailwind CSS
  • Optimized performance with purged CSS
  • Responsive layout that works on all devices
  • No build tools required for production
  • Easy maintenance with Tailwind utility classes
  • Custom animations for logo, menu grid, and buttons
  • Auto-switching hero images with slide+zoom transitions
  • Staggered loading animations
  • Enhanced page transitions
  • Letter-by-letter menu animations

To add new Tailwind classes:

  1. Add the classes to your HTML
  2. Run the CSS generation command
  3. The new styles will be included in the output

To modify the design:

  1. Change Tailwind classes in HTML files
  2. Regenerate CSS with the CLI command
  3. Refresh your browser to see changes

Custom Colors & Animations

The website uses custom KH3 brand colors and animations defined in tailwind.config.js:

  • Colors: kh3-black, kh3-red, kh3-gold, kh3-darkGold, kh3-lightGold
  • Animations: logo-float, text-float, border-glow, menu-grid-cycle, fade-in variants

Production

For production deployment:

  1. Run npm run build to generate the final CSS
  2. Upload all files to your web server
  3. The website will work without Node.js in production

License

MIT License