<template>
  <section id="intro">
    <carousel
      :nav="false"
      :dots="false"
      :items="1"
      :autoplay="true"
      :loop="true"
      :autoHeight="true"
      id="intro-carousel"
      style="margin-top:-50px;"
      :responsive="{ 0: { items: 1, nav: false }, 600: { items: 1, nav: false } }"
    >
      <img class="item" src="/img/intro-carousel/home-1.jpg" alt />
      <img class="item" src="/img/intro-carousel/16.jpg" alt />
      <img class="item" src="/img/intro-carousel/comm-1.jpg" alt />
      <img class="item" src="/img/intro-carousel/comm-4.jpg" alt />
      <img class="item" src="/img/intro-carousel/3.jpg" alt />
      <img class="item" src="/img/intro-carousel/home-5.jpg" alt />
    </carousel>

    <div id="intro-carousel" class="owl-carousel"></div>
  </section>
</template>

<script>
/* eslint-disable */
import { mapState, mapActions } from "vuex";
import Log from "../../../assets/Log";
import carousel from "vue-owl-carousel";
export default {
  components: {
    carousel
  },
  computed: {
    ...mapState("authentication", [
      "user",
      "flag",
      "status",
      "person",
      "token"
    ]),
    isLoggedIn() {
      console.log(Log.isLoggedIn());
      return Log.isLoggedIn();
    }
  }
};
</script>

<style lang="scss" scoped></style>
