<template>
  <div>
    <Toolbar page="app"></Toolbar>
    <v-content>
      <v-container fluid >
        <v-layout>
          <v-flex xs12 sm10 offset-sm1 >
            <v-card flat class="transparent" height="600px">
              <router-view></router-view>
            </v-card>
          </v-flex>
        </v-layout>
      </v-container>
    </v-content>
    <Footer></Footer>
    <Snackbar></Snackbar>
  </div>
</template>

<script>
import Toolbar from '../components/Toolbar.vue';
import Footer from '../components/Footer.vue';
import Snackbar from '../components/Snackbar.vue';
export default {
  components: {
    Toolbar,
    Footer,
    Snackbar
  },
  beforeMount () {
    this.$store.dispatch('checkUser')
  }
}
</script>

