<template>
  <q-page class="flex flex-center flex-">
    <div v-if="username" class="q-py-lg">
      <GlobalSearch />
      <Feed />
    </div>
  </q-page>
</template>

<script>
import Feed from '../components/Feed.vue'
import GlobalSearch from '../components/GlobalSearch.vue'
export default {
  name: 'DashboardPage',
  components: { Feed, GlobalSearch },
  computed: {
    username () {
      return this.$store.state.core.username
    }
  },
  mounted () {
  }
}
</script>

<style>
</style>
