# All files / components/layout AppShell.vue

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    3x

    3x

    3x

     <template>
      <GnNavigationShell
        brand="SHSERV WEB CLIENT"
        logo-src=""
        title="Navigation"
        subtitle="Smart Home"
        :items="navItems"
        active-match="prefix"
      >
        <template #content>
          <slot />
        </template>
      </GnNavigationShell>
    </template>

    <script setup>
    import { GnNavigationShell } from "gnexus-ui-kit/vue";

    const navItems = [
      { label: "Favorites", to: "/areas/favorites", icon: "ph-star" },
      { label: "Areas", to: "/areas/tree", icon: "ph-map-trifold" },
      { label: "Devices", to: "/devices", icon: "ph-cpu" },
      { label: "Scanning", to: "/devices/scanning", icon: "ph-magnifying-glass" },
      { label: "Actions", to: "/scripts/actions", icon: "ph-play" },
      { label: "Regular", to: "/scripts/regular", icon: "ph-clock" },
      { label: "Scopes", to: "/scripts/scopes", icon: "ph-brackets-curly" },
    ];
    </script>