rewrite the html of navbar