Code Monkey home page Code Monkey logo

mjbikepage's Introduction

Site is hosted at http://mjbikes.surge.sh/ To see build files on Github visit https://github.com/rttomlinson/mjbikepage

To run this website locally, navigate to the public directory and open index.html The public directory contains all the necssary files for this site to work offline and is the directory that is hosted on http://mjbikes.surge.sh/

This project was designed for screen size of at least 960px, but also has some scaling capabilities. Resize the browser or visit the site on your phone! Additionally, images were resized to respond to screen width and optimized to decrease total file transfer size.

package.json has scripts for running gulp tasks Full-build automation with "npm run build" Additional scripts can be viewed in the gulpfile.js and package.json

pages and templates are for the html templates (nunjucks templating engine) sass contains the sass files raw-assets are the original image/asset files before any resizing or optimization data.json contains the information used to generate the html gulpfile.js and package.json show some of the tooling used in automating the build process

Tools: JQuery Sass Nunjucks for HTML Templating (templates and pages directory) Gulp - Task Runner ImageMagik

Data for building HTML is in data.json

Future exploration:

Thank you for looking over this project and please let me know if you have any questions.

Project Notes:

Notes:

  1. Add normalize.scss
  2. Building out basic HTML and CSS/JS dirs
  3. Install Sass
  4. Break apart mock
  5. Add fonts
  6. Prevent transitionevents from firing twice https://www.iambacon.co.uk/blog/prevent-transitionend-event-firing-twice
  7. Reduce file transfer size from ~5-6mb to 1.6mb --> 1.1mb @ 70 quality --> 3.0mb at 100 quality.
  8. Responsive Sized Images
  9. Simple responsive layout for mobile and tablet
  10. Build process is automated via gulp

mjbikepage's People

Contributors

rttomlinson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.