<template>
  <div>
    <Navbar></Navbar>
    <v-content class="my-0">
      <v-container fluid grey lighten-5>
        <v-layout >
          <v-flex sm10 xs12 offset-sm1 >
            <v-card flat height="600px">
              <router-view></router-view>
            </v-card>
          </v-flex>
        </v-layout>
      </v-container>
    </v-content>
    <!-- <Footer></Footer> -->
    <Snackbar></Snackbar>
  </div>
</template>

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

