refactor navbar, footer