{{ define "main" }}
{{ partial "navbar-dashboard" . }}
<div class="flex pt-16 overflow-hidden bg-gray-50 dark:bg-gray-900">

  {{ partial "sidebar" . }}
  
  <div id="main-content" class="relative w-full h-full overflow-y-auto bg-gray-50 lg:ml-64 dark:bg-gray-900">
    <main>
      {{ .Content }}
    </main>
    {{ if .Params.footer }} {{ partial "footer-dashboard" . }} {{ end }}
  </div>

</div>

{{ end }}
