You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <section>
  3. <v-parallax :src="require(`~/assets/vbanner.jpg`)" height="400" dark>
  4. <v-layout wrap align-center justify-center class="white--text">
  5. <v-flex text-right class="mr-5">
  6. <img src="~/assets/icon.png" alt="doccano" height="200" />
  7. </v-flex>
  8. <v-flex>
  9. <h1 class="mb-2 display-1 text-xs-center">
  10. {{ $t('home.mainTitle') }}
  11. </h1>
  12. <div class="mt-4">
  13. <v-btn large outlined color="white" href="https://github.com/doccano/doccano">
  14. <v-icon left>
  15. {{ mdiGithub }}
  16. </v-icon>
  17. GitHub
  18. </v-btn>
  19. <v-btn class="blue lighten-2 ml-5" dark large :href="localePath('/auth')">
  20. {{ $t('home.getStarted') }}
  21. </v-btn>
  22. </div>
  23. </v-flex>
  24. </v-layout>
  25. </v-parallax>
  26. </section>
  27. </template>
  28. <script lang="ts">
  29. import Vue from 'vue'
  30. import { mdiGithub } from '@mdi/js'
  31. export default Vue.extend({
  32. data() {
  33. return {
  34. mdiGithub
  35. }
  36. }
  37. })
  38. </script>