Skip to content

gridl-coder/thehart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The White Hart front-end wireframe

This project provides a live-reloading front-end wireframe for The White Hart website. It uses the latest Bootstrap, SCSS, and EJS templates served via Express.

Getting started

npm install

Development

Run the development environment with live reloading plus SCSS and image watching:

npm run dev

The server runs on http://localhost:3000. Livereload automatically refreshes the browser when you update EJS views, SCSS, source images, or public assets.

Build stylesheets

Compile the SCSS without starting the watcher:

npm run build:css

Optimise images

Optimise images from src/images into public/images:

npm run build:images

The optimisation task runs automatically when npm run dev is active.

Production

npm start

Project structure

├── public/          # Compiled assets served by Express
│   ├── css/
│   └── images/
├── src/
│   ├── images/      # Source images for optimisation
│   └── scss/        # Source SCSS files
├── views/           # EJS templates and partials
├── server.js        # Express app with live reload
└── package.json

Use this scaffold to build out pages, partials, and assets for the full site experience.

About

Repo for The White Hart Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors