From 21015188b67ea8af95e1fb304d379eca62058364 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 13 Aug 2020 20:17:53 +0200 Subject: carousel vs gallery --- .../frontend/app/views/align/components/annotations/annotation.form.js | 2 +- .../frontend/app/views/viewer/player/components.inline/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'animism-align/frontend/app') diff --git a/animism-align/frontend/app/views/align/components/annotations/annotation.form.js b/animism-align/frontend/app/views/align/components/annotations/annotation.form.js index caf64be..449e240 100644 --- a/animism-align/frontend/app/views/align/components/annotations/annotation.form.js +++ b/animism-align/frontend/app/views/align/components/annotations/annotation.form.js @@ -16,7 +16,7 @@ const ANNOTATION_TYPES = [ 'sentence', 'section_heading', 'heading_text', 'paragraph_end', 'video', 'image', - 'gallery', 'grid', 'vitrine', + 'gallery', 'grid', 'carousel', 'vitrine', 'curtain', 'intro', ].map(name => ({ name, label: capitalize(name.replace('_', ' ')) })) diff --git a/animism-align/frontend/app/views/viewer/player/components.inline/index.js b/animism-align/frontend/app/views/viewer/player/components.inline/index.js index fb949db..7c00e09 100644 --- a/animism-align/frontend/app/views/viewer/player/components.inline/index.js +++ b/animism-align/frontend/app/views/viewer/player/components.inline/index.js @@ -13,6 +13,7 @@ import { } from './inline.image' import { + InlineCarousel, InlineGallery, InlineVitrine, } from './inline.gallery' @@ -34,4 +35,5 @@ export const inlineComponents = { intro: React.memo(Intro), vitrine: InlineVitrine, gallery: InlineGallery, + carousel: InlineCarousel, } -- cgit v1.2.3-70-g09d2