use pages local to sync nav and routing