Adds the revised kano-nav-bar components to Make Art, and allows these to be toggled per challenge, by adding the "display_menu": true flag in lib/challenges/index.json. This toggles the existing menu off in views/partial/header.jade and toggles the kano-nav-bar on in views/partial/kano-nav-bar.jade. Existing parts of the Angular app from the current header are inserted into the slots in the nav-bar to maintain the Log In, Challenge and Playground links, and to display the user avatar and username when logged in.
The kano-nav-bar components are currently being loaded from my personal account, but should be moved to Kano repos if we are happy to go ahead and merge this in.
Adds the revised
kano-nav-bar
components to Make Art, and allows these to be toggled per challenge, by adding the"display_menu": true
flag inlib/challenges/index.json
. This toggles the existing menu off inviews/partial/header.jade
and toggles thekano-nav-bar
on inviews/partial/kano-nav-bar.jade
. Existing parts of the Angular app from the current header are inserted into the slots in the nav-bar to maintain the Log In, Challenge and Playground links, and to display the user avatar and username when logged in.The
kano-nav-bar
components are currently being loaded from my personal account, but should be moved to Kano repos if we are happy to go ahead and merge this in.