All files / src/layouts AuthLayout.vue

100% Statements 23/23
100% Branches 0/0
100% Functions 0/0
100% Lines 23/23

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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74  1x 1x 1x 1x 1x 1x 1x 1x 1x   1x 1x 1x 1x 1x   1x 1x                 1x 1x                                 1x 1x   1x   1x   1x                                          
<template>
  <v-layout>
    <!-- 未ログイン時はドロワー無し -->
    <AppTopBar
      app
      title="My App"
      :links="guestTopLinks"
      :show-nav-icon="false"
      :show-logout="false"
    />
 
    <v-main>
      <v-container class="py-6">
        <slot></slot>
      </v-container>
    </v-main>
 
    <AppFooter />
  </v-layout>
 
</template>
 
<script setup lang="ts">
// region Dependency Injection
// endregion Dependency Injection
 
// region Component Injection
import AppFooter from '@/components/organisms/AppFooter.vue'
import AppTopBar from '@/components/organisms/AppTopBar.vue'
// endregion Component Injection
 
// region interface
// endregion interface
 
// region constants
// endregion constants
 
// region props
// endregion props
 
// region variable
// endregion variable
 
// region properties
// ヘッダ右側メニュー(未ログイン時)
const guestTopLinks = [
  { to: { name: 'Home' }, titleKey: 'ui.page.home.title', icon: 'mdi-home-outline' },
  // { to: { name: 'Dashboard' }, titleKey: 'ui.page.home.title', icon: 'mdi-view-dashboard-outline' },
  { to: { name: 'About' }, titleKey: 'ui.page.about.title', icon: 'mdi-information-outline' },
  // { to: { name: 'ProfileMe' }, titleKey: 'ui.page.home.title', icon: 'mdi-information-outline' },
  { to: { name: 'Test' }, titleKey: 'ui.page.test.title', icon: 'mdi-flask-outline' },
  // { to: '/hoge', titleKey: 'ui.page.home.title', icon: 'mdi-home' },
]
// endregion properties
 
// region emits
// endregion emits
 
// region validator
// endregion validator
 
// region methods
// endregion methods
 
// region export
// endregion export
</script>
 
<style scoped>
.v-layout {
  min-height: 100%;
}
</style>