<th:block xmlns:th="https://www.thymeleaf.org" th:fragment="navbar">
  <div id="header-post" class="fixed right-0 top-8 z-50 float-right hidden sm:block">
    <a id="top-icon-tablet" class="hidden lg:!hidden" href="#" onclick="event.preventDefault(); scrollToTop();"
      ><i class="iconify iconify-middle" data-icon="material-symbols:keyboard-arrow-up"></i
    ></a>
    <span id="menu" class="mr-8">
      <div class="flex items-center justify-end">
        <span id="nav" class="hidden lg:block">
          <