Commit b0386b0c authored by Robert Knight's avatar Robert Knight Committed by Nick Stenning

Re-introduce the old homepage at '/' and move new homepage to '/new-homepage'

Elements of new homepage design are still in flux.
To facilitate integrating the work done so far on the new homepage,
re-introduce the old homepage and serve that at '/' and serve
the new homepage design at '/new-homepage'
parent f9717895
...@@ -22,7 +22,7 @@ document.addEventListener('DOMContentLoaded', function () { ...@@ -22,7 +22,7 @@ document.addEventListener('DOMContentLoaded', function () {
// setup route // setup route
var route = document.location.pathname; var route = document.location.pathname;
if (route.match('^/$')) { if (route.match('^/(new-homepage)?$')) {
installerController.showSupportedInstallers(document); installerController.showSupportedInstallers(document);
} else if (route.match('^/groups') === 0) { } else if (route.match('^/groups') === 0) {
setupGroupsController(route); setupGroupsController(route);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment