SDK
The Navbar
navbar uses socratease ships with its own navbar you can choose to use it or hide it the socratease navbar is quite useful because it has a hamburger icon that automatically gets enabled on smaller screen sizes so, a sidebar with all the relevant links is available it has a list of useful links under the "hi user" element on the right this will help your user navigate more easily so, we recommend that you show the navbar hiding the navbar for whatever reason, if you want to hide it, set the show key to be false within the navbar key in the ui dictionary of options showing the navbar if you decide to retain the default setting of showing the navbar, socratease will use what you feed it as the brand name key to show that as a "text logo" you can also specify the link to an image of your brand logo in brand logo and socratease will use that image instead if brand logo exists, brand name is ignored socratease also uses the login url path and logout url path keys in config to show a user links to login and logout code const options = { "ui" { "navbar" { "show" true, "brand name" "your brand name", "brand logo" "yourbrand com/logo png" } } "config" { "login url path" "/account/login", "logout url path" "/account/logout", } }