Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
/ travel-site Public archive

A website project from the Udemy course - Git a Web Developer Job: Mastering the Modern Workflow by Brad Schiff

License

Notifications You must be signed in to change notification settings

lucasweng/travel-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel Site

A website project from the Udemy course - Git a Web Developer Job: Mastering the Modern Workflow by Brad Schiff

Live Demo

To see the website in action, please go to https://lucasweng.github.io/travel-site/

or

To run that demo on your own computer, please follow the instructions in Getting Started

Features

  • Mobile-first performance:

    • Lazy loading images and icon sprites for faster page load time

    • Responsive images for resolution switching to save bandwidth

  • Responsive web design:

    • Responsive images for different cropping situations
  • Support for legacy browsers:

    • Use picturefill as a responsive image polyfill

    • Test browser support for SVGs and flexbox with gulp-modernizr

    • Convert SVGs to PNGs with gulp-svg2png

  • Reveal page contents on scroll

  • Smooth page scroll to an anchor on the same page

Getting Started

Clone or download this repository

git clone https://github.com/lucasweng/travel-site.git

Install dependencies

npm install

or

yarn install

Start the website

gulp watch

It will open a new tab in your browser and run the website. Should it not open, visit http://localhost:3000

See the website locally with other devices

The previous command will run Browsersync, and you will find the following in the terminal:

[Browsersync] Access URLs:
 -------------------------------------
       Local: http://localhost:3000
    External: http://192.168.0.10:3000
 -------------------------------------
          UI: http://localhost:3001
 UI External: http://192.168.0.10:3001
 -------------------------------------
[Browsersync] Serving files from: app

You can view the website in synchronised action across all your devices with the External URL.

Comments in code

Some comments in the source code are course notes and therefore might not seem necessary from a developer's point of view.

Built with

Front-end

Testing

Analytics

License

About

A website project from the Udemy course - Git a Web Developer Job: Mastering the Modern Workflow by Brad Schiff

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published