Merge pull request #65 from alDuncanson/refactor/restructure-and-minor-bugfix
Project restructuring and list bugfix.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 460 KiB After Width: | Height: | Size: 460 KiB |
Before Width: | Height: | Size: 805 KiB After Width: | Height: | Size: 805 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 538 KiB After Width: | Height: | Size: 538 KiB |
Before Width: | Height: | Size: 259 KiB After Width: | Height: | Size: 259 KiB |
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 244 KiB |
Before Width: | Height: | Size: 484 KiB After Width: | Height: | Size: 484 KiB |
Before Width: | Height: | Size: 319 KiB After Width: | Height: | Size: 319 KiB |
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 185 KiB |
Before Width: | Height: | Size: 373 KiB After Width: | Height: | Size: 373 KiB |
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 270 KiB |
Before Width: | Height: | Size: 731 KiB After Width: | Height: | Size: 731 KiB |
Before Width: | Height: | Size: 444 KiB After Width: | Height: | Size: 444 KiB |
Before Width: | Height: | Size: 253 KiB After Width: | Height: | Size: 253 KiB |
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 193 KiB |
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 235 KiB |
Before Width: | Height: | Size: 245 KiB After Width: | Height: | Size: 245 KiB |
Before Width: | Height: | Size: 712 KiB After Width: | Height: | Size: 712 KiB |
Before Width: | Height: | Size: 608 KiB After Width: | Height: | Size: 608 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 236 KiB After Width: | Height: | Size: 236 KiB |
Before Width: | Height: | Size: 521 KiB After Width: | Height: | Size: 521 KiB |
Before Width: | Height: | Size: 446 KiB After Width: | Height: | Size: 446 KiB |
Before Width: | Height: | Size: 447 KiB After Width: | Height: | Size: 447 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 496 KiB After Width: | Height: | Size: 496 KiB |
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 492 KiB After Width: | Height: | Size: 492 KiB |
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 446 KiB After Width: | Height: | Size: 446 KiB |
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 252 KiB |
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 434 KiB |
Before Width: | Height: | Size: 782 KiB After Width: | Height: | Size: 782 KiB |
Before Width: | Height: | Size: 1000 KiB After Width: | Height: | Size: 1000 KiB |
Before Width: | Height: | Size: 507 KiB After Width: | Height: | Size: 507 KiB |
Before Width: | Height: | Size: 754 KiB After Width: | Height: | Size: 754 KiB |
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 363 KiB |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 453 KiB After Width: | Height: | Size: 453 KiB |
Before Width: | Height: | Size: 460 KiB After Width: | Height: | Size: 460 KiB |
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 270 KiB |
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
Before Width: | Height: | Size: 379 KiB After Width: | Height: | Size: 379 KiB |
Before Width: | Height: | Size: 1012 KiB After Width: | Height: | Size: 1012 KiB |
Before Width: | Height: | Size: 247 KiB After Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 806 KiB After Width: | Height: | Size: 806 KiB |
Before Width: | Height: | Size: 504 KiB After Width: | Height: | Size: 504 KiB |
Before Width: | Height: | Size: 378 KiB After Width: | Height: | Size: 378 KiB |
Before Width: | Height: | Size: 413 KiB After Width: | Height: | Size: 413 KiB |
Before Width: | Height: | Size: 722 KiB After Width: | Height: | Size: 722 KiB |
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 252 KiB |
Before Width: | Height: | Size: 380 KiB After Width: | Height: | Size: 380 KiB |
Before Width: | Height: | Size: 380 KiB After Width: | Height: | Size: 380 KiB |
Before Width: | Height: | Size: 773 KiB After Width: | Height: | Size: 773 KiB |
Before Width: | Height: | Size: 694 KiB After Width: | Height: | Size: 694 KiB |
|
@ -24,5 +24,6 @@ The application allows for users to post marten sightings. They can attach photo
|
||||||
* Material-UI
|
* Material-UI
|
||||||
* Google API
|
* Google API
|
||||||
* Netlify
|
* Netlify
|
||||||
|
* Disqus
|
||||||
* Flamelink CMS
|
* Flamelink CMS
|
||||||
* EmailJS
|
* EmailJS
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import Main from './components/Main';
|
import Main from './components/Main';
|
||||||
import './App.css';
|
import './css/App.css';
|
||||||
import { CookiesProvider } from 'react-cookie';
|
import { CookiesProvider } from 'react-cookie';
|
||||||
|
|
||||||
class App extends Component {
|
class App extends Component {
|
||||||
|
|
|
@ -32,7 +32,7 @@ import CssBaseline from '@material-ui/core/CssBaseline';
|
||||||
import ExpandLess from '@material-ui/icons/ExpandLess';
|
import ExpandLess from '@material-ui/icons/ExpandLess';
|
||||||
import ExpandMore from '@material-ui/icons/ExpandMore';
|
import ExpandMore from '@material-ui/icons/ExpandMore';
|
||||||
import Collapse from '@material-ui/core/Collapse';
|
import Collapse from '@material-ui/core/Collapse';
|
||||||
import FlameLinkCollectionGallery from '../components/FlameLinkCollectionGallery';
|
import FlameLinkCollectionGallery from '../components/flamelink/FlameLinkCollectionGallery';
|
||||||
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
|
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
|
||||||
import Switch from '@material-ui/core/Switch';
|
import Switch from '@material-ui/core/Switch';
|
||||||
import { withCookies, Cookies } from 'react-cookie';
|
import { withCookies, Cookies } from 'react-cookie';
|
||||||
|
@ -327,7 +327,7 @@ class ResponsiveDrawer extends React.Component {
|
||||||
{this.state.key === 'Home' && <Home />}
|
{this.state.key === 'Home' && <Home />}
|
||||||
{this.state.key === 'Report' && <Report />}
|
{this.state.key === 'Report' && <Report />}
|
||||||
{this.state.key === 'Map' && <ViewMap />}
|
{this.state.key === 'Map' && <ViewMap />}
|
||||||
{this.state.key === 'List' && <SightingList key={this.state.themeName} />}
|
{this.state.key === 'List' && <SightingList themeName={this.state.themeName} />}
|
||||||
{this.state.key === 'About' && <About />}
|
{this.state.key === 'About' && <About />}
|
||||||
{this.state.key === 'Contact' && <Contact />}
|
{this.state.key === 'Contact' && <Contact />}
|
||||||
{this.state.key === 'Easy-Quiz' && <Quiz difficulty='Easy' />}
|
{this.state.key === 'Easy-Quiz' && <Quiz difficulty='Easy' />}
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React, { Component, Fragment } from 'react';
|
||||||
import { Map, InfoWindow, Marker, GoogleApiWrapper } from 'google-maps-react';
|
import { Map, InfoWindow, Marker, GoogleApiWrapper } from 'google-maps-react';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import Typography from '@material-ui/core/Typography';
|
import Typography from '@material-ui/core/Typography';
|
||||||
import firebase from '../firebase.js';
|
import firebase from '../utilities/firebase.js';
|
||||||
|
|
||||||
// Google Maps API Key
|
// Google Maps API Key
|
||||||
const API_KEY = 'AIzaSyAZ_0J01bA6wCbIPK4UBq2RUBC-hIqG4mM';
|
const API_KEY = 'AIzaSyAZ_0J01bA6wCbIPK4UBq2RUBC-hIqG4mM';
|
||||||
|
@ -216,22 +216,22 @@ export class MapContainer extends Component {
|
||||||
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case 'visual':
|
case 'visual':
|
||||||
pinIcon = '/mapicons/marten-icon.png';
|
pinIcon = '/map-icons/marten-icon.png';
|
||||||
break;
|
break;
|
||||||
case 'roadkill':
|
case 'roadkill':
|
||||||
pinIcon = '/mapicons/tire-icon.png';
|
pinIcon = '/map-icons/tire-icon.png';
|
||||||
break;
|
break;
|
||||||
case 'viewed_tracks':
|
case 'viewed_tracks':
|
||||||
pinIcon = '/mapicons/paws.png';
|
pinIcon = '/map-icons/paws.png';
|
||||||
break;
|
break;
|
||||||
case 'trapped':
|
case 'trapped':
|
||||||
pinIcon = '/mapicons/cage.png';
|
pinIcon = '/map-icons/cage.png';
|
||||||
break;
|
break;
|
||||||
case 'photo':
|
case 'photo':
|
||||||
pinIcon = '/mapicons/photo-icon.png';
|
pinIcon = '/map-icons/photo-icon.png';
|
||||||
break;
|
break;
|
||||||
case 'other':
|
case 'other':
|
||||||
pinIcon = '/mapicons/other-icon.png';
|
pinIcon = '/map-icons/other-icon.png';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { Component} from 'react';
|
import React, { Component} from 'react';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../../utilities/flamelink.js';
|
||||||
import FlameLinkCollectionComponentCreations from './FlameLinkCollectionComponentCreations';
|
import FlameLinkCollectionComponentCreations from './FlameLinkCollectionComponentCreations';
|
||||||
|
|
||||||
class FlameLinkCollection extends Component {
|
class FlameLinkCollection extends Component {
|
|
@ -3,10 +3,10 @@ import Typography from '@material-ui/core/Typography';
|
||||||
import Grid from '@material-ui/core/Grid';
|
import Grid from '@material-ui/core/Grid';
|
||||||
import { withStyles } from '@material-ui/core/styles';
|
import { withStyles } from '@material-ui/core/styles';
|
||||||
import RenderGallery from './RenderGallery';
|
import RenderGallery from './RenderGallery';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../../utilities/flamelink.js';
|
||||||
import FlameLinkCollectionGalleryContent from './FlameLinkCollectionGalleryContent';
|
import FlameLinkCollectionGalleryContent from './FlameLinkCollectionGalleryContent';
|
||||||
import "react-image-gallery/styles/css/image-gallery.css";
|
import "react-image-gallery/styles/css/image-gallery.css";
|
||||||
import '../css/FlameLink.css';
|
import '../../css/FlameLink.css';
|
||||||
|
|
||||||
const styles = theme => ({
|
const styles = theme => ({
|
||||||
flamelinkItem: {
|
flamelinkItem: {
|
|
@ -1,6 +1,6 @@
|
||||||
import { Component } from 'react';
|
import { Component } from 'react';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../../utilities/flamelink.js';
|
||||||
import '../css/FlameLink.css';
|
import '../../css/FlameLink.css';
|
||||||
|
|
||||||
class FlameLinkCollectionGalleryContent extends Component {
|
class FlameLinkCollectionGalleryContent extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
|
@ -2,7 +2,7 @@ import React, { Component} from 'react';
|
||||||
import Grid from '@material-ui/core/Grid';
|
import Grid from '@material-ui/core/Grid';
|
||||||
import Typography from '@material-ui/core/Typography';
|
import Typography from '@material-ui/core/Typography';
|
||||||
import { withStyles } from '@material-ui/core/styles';
|
import { withStyles } from '@material-ui/core/styles';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../../utilities/flamelink.js';
|
||||||
import FlameLinkImage from './FlameLinkImage';
|
import FlameLinkImage from './FlameLinkImage';
|
||||||
import FlameLinkFieldSet from './FlameLinkFieldSet';
|
import FlameLinkFieldSet from './FlameLinkFieldSet';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import Typography from '@material-ui/core/Typography';
|
import Typography from '@material-ui/core/Typography';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../../utilities/flamelink.js';
|
||||||
import '../css/FlameLink.css';
|
import '../../css/FlameLink.css';
|
||||||
|
|
||||||
class FlameLinkImage extends Component {
|
class FlameLinkImage extends Component {
|
||||||
constructor() {
|
constructor() {
|
|
@ -2,7 +2,7 @@ import React, { Component} from 'react';
|
||||||
import Grid from '@material-ui/core/Grid';
|
import Grid from '@material-ui/core/Grid';
|
||||||
import Typography from '@material-ui/core/Typography';
|
import Typography from '@material-ui/core/Typography';
|
||||||
import { withStyles } from '@material-ui/core/styles';
|
import { withStyles } from '@material-ui/core/styles';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../../utilities/flamelink.js';
|
||||||
import FlameLinkImage from './FlameLinkImage';
|
import FlameLinkImage from './FlameLinkImage';
|
||||||
import FlameLinkFieldSet from './FlameLinkFieldSet';
|
import FlameLinkFieldSet from './FlameLinkFieldSet';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import ImageGallery from 'react-image-gallery';
|
import ImageGallery from 'react-image-gallery';
|
||||||
import "react-image-gallery/styles/css/image-gallery.css";
|
import "react-image-gallery/styles/css/image-gallery.css";
|
||||||
import '../css/FlameLink.css';
|
import '../../css/FlameLink.css';
|
||||||
|
|
||||||
class RenderGallery extends Component {
|
class RenderGallery extends Component {
|
||||||
constructor() {
|
constructor() {
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Fragment } from 'react';
|
import React, { Fragment } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Grid from '@material-ui/core/Grid';
|
import Grid from '@material-ui/core/Grid';
|
||||||
import emailjs from '../emailjs.js'
|
import emailjs from '../../utilities/emailjs.js'
|
||||||
import { withStyles } from '@material-ui/core/styles';
|
import { withStyles } from '@material-ui/core/styles';
|
||||||
import TextField from '@material-ui/core/TextField';
|
import TextField from '@material-ui/core/TextField';
|
||||||
import CheckCircleIcon from '@material-ui/icons/CheckCircle';
|
import CheckCircleIcon from '@material-ui/icons/CheckCircle';
|
|
@ -9,8 +9,8 @@ import Snackbar from '@material-ui/core/Snackbar';
|
||||||
import IconButton from '@material-ui/core/IconButton';
|
import IconButton from '@material-ui/core/IconButton';
|
||||||
import CloseIcon from '@material-ui/icons/Close';
|
import CloseIcon from '@material-ui/icons/Close';
|
||||||
import Button from '@material-ui/core/Button';
|
import Button from '@material-ui/core/Button';
|
||||||
import firebase from '../firebase.js';
|
import firebase from '../../utilities/firebase.js';
|
||||||
import GoogleMap from '../components/ReportMap';
|
import GoogleMap from './ReportMap';
|
||||||
import Modal from '@material-ui/core/Modal';
|
import Modal from '@material-ui/core/Modal';
|
||||||
import Typography from '@material-ui/core/Typography';
|
import Typography from '@material-ui/core/Typography';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component, Fragment } from 'react';
|
import React, { Component, Fragment } from 'react';
|
||||||
import Grid from '@material-ui/core/Grid';
|
import Grid from '@material-ui/core/Grid';
|
||||||
import firebase from '../firebase.js';
|
import firebase from '../../utilities/firebase.js';
|
||||||
import List from '@material-ui/core/List';
|
import List from '@material-ui/core/List';
|
||||||
import ListItem from '@material-ui/core/ListItem';
|
import ListItem from '@material-ui/core/ListItem';
|
||||||
import ListItemText from '@material-ui/core/ListItemText';
|
import ListItemText from '@material-ui/core/ListItemText';
|
||||||
|
@ -64,6 +64,24 @@ class ViewSightings extends Component {
|
||||||
clicked: false
|
clicked: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
componentDidUpdate(props) {
|
||||||
|
if (this.props.themeName !== props.themeName) {
|
||||||
|
this.setState({
|
||||||
|
selectedSighting: {
|
||||||
|
id: null,
|
||||||
|
lat: null,
|
||||||
|
lng: null,
|
||||||
|
desc: null,
|
||||||
|
type: null,
|
||||||
|
confidence: null,
|
||||||
|
date: null,
|
||||||
|
time: null
|
||||||
|
},
|
||||||
|
clicked: false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
|
@ -1,5 +0,0 @@
|
||||||
import * as emailjs from 'emailjs-com'
|
|
||||||
|
|
||||||
emailjs.init("user_4d5R86dmu6vgeJP4euxSA");
|
|
||||||
|
|
||||||
export default emailjs;
|
|
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 72 KiB |
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import './index.css';
|
import './css/index.css';
|
||||||
import App from './App';
|
import App from './App.js';
|
||||||
import registerServiceWorker from './registerServiceWorker';
|
import registerServiceWorker from './registerServiceWorker';
|
||||||
|
|
||||||
ReactDOM.render(<App/>, document.getElementById('root'));
|
ReactDOM.render(<App/>, document.getElementById('root'));
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component, Fragment } from 'react';
|
import React, { Component, Fragment } from 'react';
|
||||||
import FlameLinkComponentCreations from '../components/FlameLinkComponentCreations';
|
import FlameLinkComponentCreations from '../components/flamelink/FlameLinkComponentCreations';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../utilities/flamelink.js';
|
||||||
|
|
||||||
class About extends Component {
|
class About extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import ContactForm from '../components/ContactForm.js'
|
import ContactForm from '../components/forms/ContactForm.js'
|
||||||
|
|
||||||
class Contact extends Component {
|
class Contact extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import FlameLinkComponentCreations from '../components/FlameLinkComponentCreations';
|
import FlameLinkComponentCreations from '../components/flamelink/FlameLinkComponentCreations';
|
||||||
import FlameLinkCollectionGallery from '../components/FlameLinkCollectionGallery';
|
import FlameLinkCollectionGallery from '../components/flamelink/FlameLinkCollectionGallery';
|
||||||
import flamelinkApp from '../flamelink';
|
import flamelinkApp from '../utilities/flamelink';
|
||||||
import Grid from '@material-ui/core/Grid';
|
import Grid from '@material-ui/core/Grid';
|
||||||
|
|
||||||
class Home extends Component {
|
class Home extends Component {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { Component, Fragment } from 'react';
|
import React, { Component, Fragment } from 'react';
|
||||||
import FlameLinkComponentCreations from '../components/FlameLinkComponentCreations';
|
import FlameLinkComponentCreations from '../components/flamelink/FlameLinkComponentCreations';
|
||||||
import flamelinkApp from '../flamelink.js';
|
import flamelinkApp from '../flamelink.js';
|
||||||
|
|
||||||
class Info extends Component {
|
class Info extends Component {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import ReportForm from '../components/ReportForm';
|
import ReportForm from '../components/forms/ReportForm';
|
||||||
|
|
||||||
class Report extends Component {
|
class Report extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import ViewSightings from '../components/ViewSightings.js';
|
import ViewSightings from '../components/list/ViewSightings.js';
|
||||||
|
|
||||||
class Sighting extends Component {
|
class Sighting extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
@ -8,7 +8,7 @@ class Sighting extends Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<ViewSightings/>
|
<ViewSightings themeName={this.props.themeName}/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ const advancedQuiz = {
|
||||||
"quizTitle": "Trail Cam Quiz: Advanced",
|
"quizTitle": "Trail Cam Quiz: Advanced",
|
||||||
"questions": [
|
"questions": [
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question1.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question1.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American marten",
|
"American marten",
|
||||||
|
@ -15,7 +15,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question2.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question2.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American marten",
|
"American marten",
|
||||||
|
@ -26,7 +26,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question3.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question3.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American marten",
|
"American marten",
|
||||||
|
@ -37,7 +37,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question4.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question4.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American Robin",
|
"American Robin",
|
||||||
|
@ -48,7 +48,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What is in the marten's mouth?<br /><br /><img src="/quizimages/advanced/question5.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What is in the marten's mouth?<br /><br /><img src="/quiz-images/advanced/question5.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American Woodcock",
|
"American Woodcock",
|
||||||
|
@ -59,7 +59,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question6.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question6.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Black bear",
|
"Black bear",
|
||||||
|
@ -70,7 +70,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question7.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question7.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Black bear",
|
"Black bear",
|
||||||
|
@ -81,7 +81,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question8.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question8.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Coyote",
|
"Coyote",
|
||||||
|
@ -92,7 +92,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question9.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question9.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Eastern chipmunk",
|
"Eastern chipmunk",
|
||||||
|
@ -103,7 +103,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question10.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question10.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Eastern chipmunk",
|
"Eastern chipmunk",
|
||||||
|
@ -114,7 +114,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "1"
|
"correctAnswer": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question11.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question11.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American marten",
|
"American marten",
|
||||||
|
@ -125,7 +125,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "2"
|
"correctAnswer": "2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question12.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question12.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American marten",
|
"American marten",
|
||||||
|
@ -136,7 +136,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "4"
|
"correctAnswer": "4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question13.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question13.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Hermit Thrush",
|
"Hermit Thrush",
|
||||||
|
@ -147,7 +147,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "3"
|
"correctAnswer": "3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question14.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question14.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American beaver",
|
"American beaver",
|
||||||
|
@ -158,7 +158,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "3"
|
"correctAnswer": "3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question15.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question15.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American badger",
|
"American badger",
|
||||||
|
@ -169,7 +169,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "2"
|
"correctAnswer": "2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question16.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question16.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Eastern fox squirrel",
|
"Eastern fox squirrel",
|
||||||
|
@ -180,7 +180,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "4"
|
"correctAnswer": "4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question17.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question17.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"American Woodcock",
|
"American Woodcock",
|
||||||
|
@ -191,7 +191,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "4"
|
"correctAnswer": "4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question18.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question18.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Eastern fox squirrel",
|
"Eastern fox squirrel",
|
||||||
|
@ -202,7 +202,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "3"
|
"correctAnswer": "3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What animal is this?<br /><br /><img src="/quizimages/advanced/question19.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What animal is this?<br /><br /><img src="/quiz-images/advanced/question19.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"House mouse",
|
"House mouse",
|
||||||
|
@ -213,7 +213,7 @@ const advancedQuiz = {
|
||||||
"correctAnswer": "3"
|
"correctAnswer": "3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": <Fragment>What is in the marten's mouth?<br /><br /><img src="/quizimages/advanced/question20.jpg" alt=""></img></Fragment>,
|
"question": <Fragment>What is in the marten's mouth?<br /><br /><img src="/quiz-images/advanced/question20.jpg" alt=""></img></Fragment>,
|
||||||
"questionType": "text",
|
"questionType": "text",
|
||||||
"answers": [
|
"answers": [
|
||||||
"Eastern chipmunk",
|
"Eastern chipmunk",
|
||||||
|
|