chore: changing navigation template so both state and route can be used