diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-28 17:02:03 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-28 17:02:03 +0200 |
| commit | ce80f0fe7fa60fe5666057ed88c5ca69634df083 (patch) | |
| tree | fc01da35aa7df6343ab79b739f93747009403501 /animism-align/frontend/app/views/viewer/viewer.reducer.js | |
| parent | 62f491d7bb3e1a3c44ad35a5250896e4d1c74c9d (diff) | |
share dialog
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.reducer.js | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.reducer.js b/animism-align/frontend/app/views/viewer/viewer.reducer.js index 70e94ee..1589ea4 100644 --- a/animism-align/frontend/app/views/viewer/viewer.reducer.js +++ b/animism-align/frontend/app/views/viewer/viewer.reducer.js @@ -2,25 +2,37 @@ import * as types from 'app/types' import { GROWL } from 'app/constants' const initialState = { + /* UI component display state */ transcript: false, checklist: false, nav: false, + share: false, + + /* section look and navigation */ sections: { loading: true }, currentSection: null, nextSection: null, - navStyle: 'white', - mediaTitle: null, autoAdvance: false, atEndOfSection: false, + + /* color of the bar / logo / icons */ + navStyle: 'white', + + /* title of media if in fullscreen mode */ + mediaTitle: null, + + /* growl message at top */ growlOpen: true, growlMessage: GROWL.OPENING_MESSAGE, + + /* vitrine */ vitrineModal: { open: false, media: null, index: null, }, - options: { - } + + options: {}, } export default function viewerReducer(state = initialState, action) { |
