Housekeeping: move all JS and CSS to new directory structure.
New structure is as follows:
lib/ for 3rd party JS libraries that aren't modified by this application.
Core
js/core for the base JS files that run the TV frame
scss/core for the base SCSS styles that run the TV frame
scss/site.scss is the manifest file that compiles everything into one file. All SCSS files used by the app should be included here.
Channels
js/channels/[channel number].js - each channel will have their individual JS files in here. These will be JavaScript classes (es6)
scss/channels/[channel number].scss - similarly there will be a SCSS file for each channel. **To make these modular, all styles in the file should be wrapped in a #channel-[channel number] tag to prevent bleedover into other channels or global styles.
This structure may change in the future, but I'd like some semblance of a framework in place as I get into more complex operations.
Housekeeping: move all JS and CSS to new directory structure.
New structure is as follows:
lib/
for 3rd party JS libraries that aren't modified by this application.Core
js/core
for the base JS files that run the TV framescss/core
for the base SCSS styles that run the TV framescss/site.scss
is the manifest file that compiles everything into one file. All SCSS files used by the app should be included here.Channels
js/channels/[channel number].js
- each channel will have their individual JS files in here. These will be JavaScript classes (es6)scss/channels/[channel number].scss
- similarly there will be a SCSS file for each channel. **To make these modular, all styles in the file should be wrapped in a#channel-[channel number]
tag to prevent bleedover into other channels or global styles.This structure may change in the future, but I'd like some semblance of a framework in place as I get into more complex operations.