correctly build nav and pages, more to come