ul(uk-nav).uk-nav-default
  li.uk-nav-header Admin Menu

  li(class={ 'uk-active': (adminView === 'home') })
    a(href="/admin")
      span.nav-item-icon
        i.fas.fa-home
      span.uk-margin-small-left Home

  li(class={ 'uk-active': (adminView === 'settings') })
    a(href="/admin/settings")
      span.nav-item-icon
        i.fas.fa-cog
      span.uk-margin-small-left Settings
  
  li(class={ 'uk-active': (adminView === 'image-settings') })
    a(href="/admin/settings/images")
      span.nav-item-icon
        i.fas.fa-image
      span.uk-margin-small-left Image Settings
      
  li(class={ 'uk-active': (adminView === 'otp') })
    a(href="/admin/otp")
      span.nav-item-icon
        i.fas.fa-cog
      span.uk-margin-small-left Otp Settings

  li.uk-nav-divider 

  li(class={ 'uk-active': (adminView === 'announcement') })
    a(href="/admin/announcement")
      span.nav-item-icon
        i.fas.fa-bullhorn
      span.uk-margin-small-left Announcements
  li(class={ 'uk-active': (adminView === 'post') })
    a(href="/admin/post")
      span.nav-item-icon
        i.fas.fa-pen
      span.uk-margin-small-left Posts
  li(class={ 'uk-active': (adminView === 'page') })
    a(href="/admin/page")
      span.nav-item-icon
        i.fas.fa-file
      span.uk-margin-small-left Pages
  li(class={ 'uk-active': (adminView === 'site-link') })
    a(href="/admin/site-link")
      span.nav-item-icon
        i.fas.fa-link
      span.uk-margin-small-left Links

  li(class={ 'uk-active': (adminView === 'newsroom') })
    a(href="/admin/newsroom")
      span.nav-item-icon
        i.fas.fa-newspaper
      span.uk-margin-small-left Newsroom

  li(class={ 'uk-active': (adminView === 'newsletter') }).uk-parent
    a
      span.nav-item-icon
        i.fas.fa-newspaper
      span.uk-margin-small-left Newsletter
      span.uk-nav-parent-icon

    ul.uk-nav-sub
      li(class={ 'uk-active': (newsletterView === 'index') })
        a(href="/admin/newsletter")
          span.nav-item-icon
            i.fas.fa-newspaper
          span.uk-margin-small-left Home
      li(class={ 'uk-active': (newsletterView === 'editor') })
        a(href="/admin/newsletter/compose")
          span.nav-item-icon
            i.fas.fa-edit
          span.uk-margin-small-left Composer
      li(class={ 'uk-active': (newsletterView === 'recipient') })
        a(href="/admin/newsletter/recipient")
          span.nav-item-icon
            i.fas.fa-user
          span.uk-margin-small-left Recipients
      li(class={ 'uk-active': (newsletterView === 'job-status') })
        a(href="/admin/newsletter/job-status")
          span.nav-item-icon
            i.fas.fa-newspaper
          span.uk-margin-small-left Job Status

  li(class={ 'uk-active': (adminView === 'venue') })
    a(href="/admin/venue")
      span.nav-item-icon
        i.fas.fa-person-booth
      span.uk-margin-small-left Venue

  li.uk-nav-divider

  li(class={ 'uk-active': (adminView === 'user') })
    a(href="/admin/user")
      span.nav-item-icon
        i.fas.fa-user
      span.uk-margin-small-left Users

  li(class={ 'uk-active': (adminView === 'content-report') })
    a(href="/admin/content-report")
      span.nav-item-icon
        i.fas.fa-ban
      span.uk-margin-small-left Content Reports


  li.uk-nav-divider 

  li(class={ 'uk-active': (adminView === 'core-node') })
    a(href="/admin/core-node")
      span.nav-item-icon
        i.fas.fa-project-diagram
      span.uk-margin-small-left Core Nodes

  li(class={ 'uk-active': (adminView === 'core-user') })
    a(href="/admin/core-user")
      span.nav-item-icon
        i.fas.fa-user-astronaut
      span.uk-margin-small-left Core Users

  li(class={ 'uk-active': (adminView === 'service-node') })
    a(href="/admin/service-node")
      span.nav-item-icon
        i.fas.fa-puzzle-piece
      span.uk-margin-small-left Service Nodes

  li.uk-nav-divider 

  li(class={ 'uk-active': (adminView === 'host') })
    a(href="/admin/host")
      span.nav-item-icon
        i.fas.fa-tachometer-alt
      span.uk-margin-small-left Platform

  li(class={ 'uk-active': (adminView === 'job-queue') })
    a(href="/admin/job-queue")
      span.nav-item-icon
        i.fas.fa-microchip
      span.uk-margin-small-left Jobs

  li(class={ 'uk-active': (adminView === 'log') })
    a(href="/admin/log")
      span.nav-item-icon
        i.fas.fa-clipboard-list
      span.uk-margin-small-left Logs
