This app consists of a home page where user can navigate through a list of contents using arrow keys (left/right arrow keys) User will be shown a timer which represents the current time in HH:MM 24hr format
The fonts used in this app belong to Titillium Web family which are downloaded from google fonts
Two main components are used in this app development
- HomePage : this page consists of the Title, description of current focused content and the tray of available contents for the user
- ContentCard : This card component is for individual content (poster + title) which is reused for every content of the tray in HomePage
When user focus on each content card, the particular asset under focus is highlighted and the content details like the show title and its description are shown in HomePage with a fade-in effect
Before you follow the steps below, make sure you have the Lightning-CLI installed globally only your system
npm install -g @lightningjs/cli
-
Install the NPM dependencies by running
npm install
-
Build the App using the Lightning-CLI by running
lng build
inside the root of your project -
Fire up a local webserver and open the App in a browser by running
lng serve
inside the root of your project
During development you can use the watcher functionality of the Lightning-CLI.
- use
lng watch
to automatically rebuild your App whenever you make a change in thesrc
orstatic
folder - use
lng dev
to start the watcher and run a local webserver / open the App in a browser at the same time
Use lng docs
to open up the Lightning-SDK documentation.