Browse Source

Hide sidebar on demo pages

pull/341/head
Hironsan 5 years ago
parent
commit
4a3b85ff4c
5 changed files with 21 additions and 4 deletions
  1. 17
      frontend/layouts/demo.vue
  2. 2
      frontend/pages/demo/named-entity-recognition/index.vue
  3. 2
      frontend/pages/demo/sentiment-analysis/index.vue
  4. 2
      frontend/pages/demo/text-to-sql/index.vue
  5. 2
      frontend/pages/demo/translation/index.vue

17
frontend/layouts/demo.vue

@ -0,0 +1,17 @@
<template>
<base-layout>
<template #content>
<nuxt />
</template>
</base-layout>
</template>
<script>
import BaseLayout from '~/layouts/BaseLayout'
export default {
components: {
BaseLayout
}
}
</script>

2
frontend/pages/demo/named-entity-recognition/index.vue

@ -29,7 +29,7 @@ import EntityItemBox from '~/components/organisms/EntityItemBox'
import MetadataBox from '@/components/organisms/MetadataBox'
export default {
layout: 'annotation',
layout: 'demo',
components: {
EntityItemBox,

2
frontend/pages/demo/sentiment-analysis/index.vue

@ -33,7 +33,7 @@ import BaseTextArea from '@/components/molecules/BaseTextArea'
import MetadataBox from '@/components/organisms/MetadataBox'
export default {
layout: 'annotation',
layout: 'demo',
components: {
MultiClassClassification,

2
frontend/pages/demo/text-to-sql/index.vue

@ -31,7 +31,7 @@ import Seq2seqBox from '~/components/organisms/Seq2seqBox'
import MetadataBox from '@/components/organisms/MetadataBox'
export default {
layout: 'annotation',
layout: 'demo',
components: {
Seq2seqBox,

2
frontend/pages/demo/translation/index.vue

@ -31,7 +31,7 @@ import Seq2seqBox from '~/components/organisms/Seq2seqBox'
import MetadataBox from '@/components/organisms/MetadataBox'
export default {
layout: 'annotation',
layout: 'demo',
components: {
Seq2seqBox,

Loading…
Cancel
Save