Home.vue 2.46 KB
<template>
  <v-sheet>
    <v-layout justify-center>
      <v-flex xs12 sm8 md6>
        <v-row justify="center" class="mx-0 my-12">
          <div style="text-align: center; font-size: 24px; font-weight: 400; color: #343a40;">
            What is This Service?
          </div>
        </v-row>
        <v-card elevation="0">
          <!-- file upload -->
          <div style="text-align: center; font-size: 22px; font-weight: 400; color: #343a40;">
            Just Upload your Video!
          </div>
          <div class="mx-10 mb-12 mt-6">
            <video-upload />
          </div>
          <div style="text-align: center; font-size: 18px; font-weight: 400; color: #343a40;">
            If the Video is analyzed successfully,
          </div>
          <div style="text-align: center; font-size: 20px; font-weight: 400; color: #343a40;">
            Then, Result Show up below!
          </div>
          <v-card outlined class="pa-2 mx-10 mt-8" elevation="0" min-height="67">
            <div
              style="margin-left: 5px; margin-top: -18px; background-color: #fff; width: 110px; text-align: center;font-size: 14px; color: #5a5a5a; font-weight: 500"
            >Generated Tags</div>
            <v-chip-group column>
              <v-chip
                color="secondary"
                v-for="(tag, index) in generatedTag"
                :key="index"
              >
                {{ tag }}
              </v-chip>
            </v-chip-group>
          </v-card>
          <v-card outlined class="pa-2 mx-10 mt-8" elevation="0" min-height="67">
            <div
              style="margin-left: 5px; margin-top: -18px; background-color: #fff; width: 140px; text-align: center;font-size: 14px; color: #5a5a5a; font-weight: 500"
            >Related Youtube Link</div>
            <v-flex v-for="(url) in YoutubeUrl" :key="url">
              <div>
                <a :href="url">{{url}}</a>
              </div>
            </v-flex>
          </v-card>
        </v-card>
      </v-flex>
    </v-layout>
  </v-sheet>
</template>
<script>
import videoUpload from '../components/uploadFile.vue';

export default {
  name: 'Home',
  components: {
    videoUpload,
  },
  data() {
    return {
      myFiles: [],
      YoutubeUrl: [],
      generatedTag: [],
      successDialog: false,
      errorDialog: false,
      loading: false,
    };
  },
  created() {
    this.YoutubeUrl = [

    ];
    this.generatedTag = [

    ];
  },

  methods: {
    loadVideoInfo() {

    },
  },
};
</script>