Navbar navbar = new Navbar(markupId);
navbar.setPosition(Navbar.Position.TOP);
navbar.setInverted(false);
// show brand name and logo
navbar.brandName(Model.of("Mystic Paste"));
navbar.addComponents(NavbarComponents.transform(Navbar.ComponentPosition.LEFT,
new NavbarButton<PasteItemPage>(PasteItemPage.class, Model.of("New")),
new NavbarButton<HistoryPage>(HistoryPage.class, Model.of("History")),
// new NavbarButton<PopularPage>(PopularPage.class, Model.of("Popular")),