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.

77 lines
1.9 KiB

  1. <template>
  2. <section>
  3. <v-parallax
  4. src="/images/vbanner.jpg"
  5. height="400"
  6. dark
  7. >
  8. <v-container>
  9. <v-layout
  10. wrap
  11. align-center
  12. justify-center
  13. class="white--text"
  14. >
  15. <v-flex
  16. xs12
  17. md7
  18. >
  19. <v-img
  20. src="/images/ner_demo.png"
  21. max-height="380"
  22. contain
  23. class="ma-5"
  24. />
  25. </v-flex>
  26. <v-flex
  27. xs12
  28. md5
  29. >
  30. <h1 class="mb-2 display-1 text-xs-center">
  31. Realize your ideas quickly
  32. </h1>
  33. <div class="mt-4">
  34. <v-menu open-on-hover offset-y>
  35. <template v-slot:activator="{ on }">
  36. <v-btn
  37. class="blue lighten-2"
  38. dark
  39. large
  40. v-on="on"
  41. >
  42. Try demo
  43. <v-icon>mdi-menu-down</v-icon>
  44. </v-btn>
  45. </template>
  46. <v-list>
  47. <v-list-item
  48. v-for="(item, index) in items"
  49. :key="index"
  50. @click="$router.push('/demo/' + item.link)"
  51. >
  52. <v-list-item-title>{{ item.title }}</v-list-item-title>
  53. </v-list-item>
  54. </v-list>
  55. </v-menu>
  56. </div>
  57. </v-flex>
  58. </v-layout>
  59. </v-container>
  60. </v-parallax>
  61. </section>
  62. </template>
  63. <script>
  64. export default {
  65. data() {
  66. return {
  67. items: [
  68. { title: 'Named Entity Recognition', link: 'named-entity-recognition' },
  69. { title: 'Sentiment Analysis', link: 'sentiment-analysis' },
  70. { title: 'Translation', link: 'translation' },
  71. { title: 'Text to SQL', link: 'text-to-sql' }
  72. ]
  73. }
  74. }
  75. }
  76. </script>