From 599d3e0758d6f1a3cf5ce69cfc03eab484c3ff17 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 23 Jul 2020 22:43:31 +0200 Subject: styling the sections --- .../app/views/viewer/nav/viewer.sections.js | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 animism-align/frontend/app/views/viewer/nav/viewer.sections.js (limited to 'animism-align/frontend/app/views/viewer/nav/viewer.sections.js') diff --git a/animism-align/frontend/app/views/viewer/nav/viewer.sections.js b/animism-align/frontend/app/views/viewer/nav/viewer.sections.js deleted file mode 100644 index 76402e8..0000000 --- a/animism-align/frontend/app/views/viewer/nav/viewer.sections.js +++ /dev/null @@ -1,40 +0,0 @@ -import React, { Component } from 'react' -// import { Link } from 'react-router-dom' -import { connect } from 'react-redux' - -import actions from 'app/actions' -import { Arrow } from './viewer.icons' -import ViewerSectionsNav from './viewer.sections.nav' -import { ROMAN_NUMERALS } from 'app/constants' -import { thumbnailURL } from 'app/views/align/align.util' - -class ViewerSections extends Component { - componentDidMount() { - } - - render() { - const { sections } = this.props - return ( -
- {sections.map(section => { - console.log(section) - return ( -
-
- {ROMAN_NUMERALS[section.index]}: {section.title} -
- ) - })} - -
- ) - } -} - -const mapStateToProps = state => ({ - sections: state.viewer.sections, -}) - -export default connect(mapStateToProps)(ViewerSections) -- cgit v1.2.3-70-g09d2