{{- /* Home page demo button: a split button. The main part opens the live demo server, the arrow opens a menu with the other two ways to look at OpenRun without installing it. The menu is a
element, so it works without script; the script only closes it on Escape or a click outside. Styles are in assets/css/custom.css (.demo-button). Usage: {{< demo-button >}} */ -}} {{- $btn := "not-prose hx:font-medium hx:cursor-pointer hx:text-center hx:text-white hx:inline-block hx:bg-primary-600 hx:hover:bg-primary-700 hx:focus:outline-hidden hx:focus:ring-4 hx:focus:ring-primary-300 hx:dark:bg-primary-600 hx:dark:hover:bg-primary-700 hx:dark:focus:ring-primary-800 hx:transition-all hx:ease-in hx:duration-200" -}}
Live Demo