Code Monkey home page Code Monkey logo

imetriq's Introduction

imetriq

View project running: https://jelicich.github.io/imetriq/ | http://www.imetriq.com/

Install

Run npm install

Build

Run gulp or gulp --prod to include minified files in the html

Watch

Run gulp watch

(Node version v13.7.0)

Project conventions

Styles

Styles are global and follow the SUIT CSS naming conventions.

They are structured under views and components folders. Views: used to store the custom styles for each section (ie: home, header, contact, etc). Components: used to store global css components used accross the site following OOCSS pattern Only one file is included in the html which is styles.scss. All styles must be imported there. Gulpfile will build the styles based on that file.

Templates

This projects uses Nunjuks in order to keep files tidy and organized. Each section is saved under template directory and they are included in index.html using just the name of the template as the path is already configured in the gulpfile.js.

JS Components

Components are to be in js/app directory, this is the place where the gulpfile will look for them. They are created under imetriq namespace, must be registered in app.components and must have an init method.

JS Libraries

Third party libraries are to be stored in js/libs. Gulpfile will collect all the libraries and concatenate them into one single file.

About copy directory

Everything in this directory will be copied as it is to the dist folder when building. Here you can find the service to handle the contact form.

imetriq's People

Contributors

jelicich 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.