Each module consists of a number of files and settings through the system, these include:
- Backbone Model
models/section-{sectionName}-model.js
- Backbone View
views/sections/section-{sectionName}-view.js
- Template
templates/sections/section-{sectionName}.ejs
- The section type needs adding to a switch statement in
section-collection-view.js
- The model and view need initialising in
screen-view.js
- Provide a colour for the section in
styles/_settings.scss
- Define the key colour in
styles/quarks/_key-colours.scss
- Add
styles/molecules/_section-{sectionName}.scss