<template>
  <v-content>
    <HeaderIntern v-model="session" @user="user = $event" />

    <v-container v-if="user">
      <h2 class="headline">Your Decks</h2>
      <DeckList :session="session" />
    </v-container>
  </v-content>
</template>

<script>
import HeaderIntern from '@/components/HeaderIntern.vue'
import DeckList from '@/components/DeckList.vue'

export default {
  name: 'DeckCP',

  components: {
    HeaderIntern,
    DeckList
  },

  data: () => ({
    session: null,
    user: null
  })
}
</script>
