import React from 'react'; import PropTypes from 'prop-types'; import Interactive from 'react-interactive'; import { Link } from 'react-router'; import s from './styles/app.style'; const language = "ENG"; const bkgrnd = "05"; const propTypes = { children: PropTypes.element.isRequired, routes: PropTypes.array.isRequired, }; function App({ children, routes }) { function generateMapMenu() { let path = ''; function nextPath(route) { path += ( (path.slice(-1) === '/' ? '' : '/') + (route.path === '/' ? '' : route.path) ); return path; } return ( routes.filter(route => route.mapMenuTitle) .map((route, index, array) => ( {route.mapMenuTitle} {(index + 1) < array.length && ' / '} )) ); } return (
{/*

Single Page Apps for GitHub Pages

*/} {children}
©2008 Chaotic USA Entertainment Group, Inc.
U.S. Pat 5810666 and 5954332 and other pending patent applications. All Rights Reserved.
); } App.propTypes = propTypes; export default App;