diff --git a/public/mapicons/cage.png b/public/map-icons/cage.png similarity index 100% rename from public/mapicons/cage.png rename to public/map-icons/cage.png diff --git a/public/mapicons/marten-icon.png b/public/map-icons/marten-icon.png similarity index 100% rename from public/mapicons/marten-icon.png rename to public/map-icons/marten-icon.png diff --git a/public/mapicons/other-icon.png b/public/map-icons/other-icon.png similarity index 100% rename from public/mapicons/other-icon.png rename to public/map-icons/other-icon.png diff --git a/public/mapicons/paws.png b/public/map-icons/paws.png similarity index 100% rename from public/mapicons/paws.png rename to public/map-icons/paws.png diff --git a/public/mapicons/photo-icon.png b/public/map-icons/photo-icon.png similarity index 100% rename from public/mapicons/photo-icon.png rename to public/map-icons/photo-icon.png diff --git a/public/mapicons/tire-icon.png b/public/map-icons/tire-icon.png similarity index 100% rename from public/mapicons/tire-icon.png rename to public/map-icons/tire-icon.png diff --git a/public/quizimages/advanced/question1.jpg b/public/quiz-images/advanced/question1.jpg similarity index 100% rename from public/quizimages/advanced/question1.jpg rename to public/quiz-images/advanced/question1.jpg diff --git a/public/quizimages/advanced/question10.jpg b/public/quiz-images/advanced/question10.jpg similarity index 100% rename from public/quizimages/advanced/question10.jpg rename to public/quiz-images/advanced/question10.jpg diff --git a/public/quizimages/advanced/question11.jpg b/public/quiz-images/advanced/question11.jpg similarity index 100% rename from public/quizimages/advanced/question11.jpg rename to public/quiz-images/advanced/question11.jpg diff --git a/public/quizimages/advanced/question12.jpg b/public/quiz-images/advanced/question12.jpg similarity index 100% rename from public/quizimages/advanced/question12.jpg rename to public/quiz-images/advanced/question12.jpg diff --git a/public/quizimages/advanced/question13.jpg b/public/quiz-images/advanced/question13.jpg similarity index 100% rename from public/quizimages/advanced/question13.jpg rename to public/quiz-images/advanced/question13.jpg diff --git a/public/quizimages/advanced/question14.jpg b/public/quiz-images/advanced/question14.jpg similarity index 100% rename from public/quizimages/advanced/question14.jpg rename to public/quiz-images/advanced/question14.jpg diff --git a/public/quizimages/advanced/question15.jpg b/public/quiz-images/advanced/question15.jpg similarity index 100% rename from public/quizimages/advanced/question15.jpg rename to public/quiz-images/advanced/question15.jpg diff --git a/public/quizimages/advanced/question16.jpg b/public/quiz-images/advanced/question16.jpg similarity index 100% rename from public/quizimages/advanced/question16.jpg rename to public/quiz-images/advanced/question16.jpg diff --git a/public/quizimages/advanced/question17.jpg b/public/quiz-images/advanced/question17.jpg similarity index 100% rename from public/quizimages/advanced/question17.jpg rename to public/quiz-images/advanced/question17.jpg diff --git a/public/quizimages/advanced/question18.jpg b/public/quiz-images/advanced/question18.jpg similarity index 100% rename from public/quizimages/advanced/question18.jpg rename to public/quiz-images/advanced/question18.jpg diff --git a/public/quizimages/advanced/question19.jpg b/public/quiz-images/advanced/question19.jpg similarity index 100% rename from public/quizimages/advanced/question19.jpg rename to public/quiz-images/advanced/question19.jpg diff --git a/public/quizimages/advanced/question2.jpg b/public/quiz-images/advanced/question2.jpg similarity index 100% rename from public/quizimages/advanced/question2.jpg rename to public/quiz-images/advanced/question2.jpg diff --git a/public/quizimages/advanced/question20.jpg b/public/quiz-images/advanced/question20.jpg similarity index 100% rename from public/quizimages/advanced/question20.jpg rename to public/quiz-images/advanced/question20.jpg diff --git a/public/quizimages/advanced/question3.jpg b/public/quiz-images/advanced/question3.jpg similarity index 100% rename from public/quizimages/advanced/question3.jpg rename to public/quiz-images/advanced/question3.jpg diff --git a/public/quizimages/advanced/question4.jpg b/public/quiz-images/advanced/question4.jpg similarity index 100% rename from public/quizimages/advanced/question4.jpg rename to public/quiz-images/advanced/question4.jpg diff --git a/public/quizimages/advanced/question5.jpg b/public/quiz-images/advanced/question5.jpg similarity index 100% rename from public/quizimages/advanced/question5.jpg rename to public/quiz-images/advanced/question5.jpg diff --git a/public/quizimages/advanced/question6.jpg b/public/quiz-images/advanced/question6.jpg similarity index 100% rename from public/quizimages/advanced/question6.jpg rename to public/quiz-images/advanced/question6.jpg diff --git a/public/quizimages/advanced/question7.jpg b/public/quiz-images/advanced/question7.jpg similarity index 100% rename from public/quizimages/advanced/question7.jpg rename to public/quiz-images/advanced/question7.jpg diff --git a/public/quizimages/advanced/question8.jpg b/public/quiz-images/advanced/question8.jpg similarity index 100% rename from public/quizimages/advanced/question8.jpg rename to public/quiz-images/advanced/question8.jpg diff --git a/public/quizimages/advanced/question9.jpg b/public/quiz-images/advanced/question9.jpg similarity index 100% rename from public/quizimages/advanced/question9.jpg rename to public/quiz-images/advanced/question9.jpg diff --git a/public/quizimages/easy/question1.jpg b/public/quiz-images/easy/question1.jpg similarity index 100% rename from public/quizimages/easy/question1.jpg rename to public/quiz-images/easy/question1.jpg diff --git a/public/quizimages/easy/question10.jpg b/public/quiz-images/easy/question10.jpg similarity index 100% rename from public/quizimages/easy/question10.jpg rename to public/quiz-images/easy/question10.jpg diff --git a/public/quizimages/easy/question11.jpg b/public/quiz-images/easy/question11.jpg similarity index 100% rename from public/quizimages/easy/question11.jpg rename to public/quiz-images/easy/question11.jpg diff --git a/public/quizimages/easy/question12.jpg b/public/quiz-images/easy/question12.jpg similarity index 100% rename from public/quizimages/easy/question12.jpg rename to public/quiz-images/easy/question12.jpg diff --git a/public/quizimages/easy/question13.jpg b/public/quiz-images/easy/question13.jpg similarity index 100% rename from public/quizimages/easy/question13.jpg rename to public/quiz-images/easy/question13.jpg diff --git a/public/quizimages/easy/question14.jpg b/public/quiz-images/easy/question14.jpg similarity index 100% rename from public/quizimages/easy/question14.jpg rename to public/quiz-images/easy/question14.jpg diff --git a/public/quizimages/easy/question15.jpg b/public/quiz-images/easy/question15.jpg similarity index 100% rename from public/quizimages/easy/question15.jpg rename to public/quiz-images/easy/question15.jpg diff --git a/public/quizimages/easy/question16.jpg b/public/quiz-images/easy/question16.jpg similarity index 100% rename from public/quizimages/easy/question16.jpg rename to public/quiz-images/easy/question16.jpg diff --git a/public/quizimages/easy/question17.jpg b/public/quiz-images/easy/question17.jpg similarity index 100% rename from public/quizimages/easy/question17.jpg rename to public/quiz-images/easy/question17.jpg diff --git a/public/quizimages/easy/question18.jpg b/public/quiz-images/easy/question18.jpg similarity index 100% rename from public/quizimages/easy/question18.jpg rename to public/quiz-images/easy/question18.jpg diff --git a/public/quizimages/easy/question19.jpg b/public/quiz-images/easy/question19.jpg similarity index 100% rename from public/quizimages/easy/question19.jpg rename to public/quiz-images/easy/question19.jpg diff --git a/public/quizimages/easy/question2.jpg b/public/quiz-images/easy/question2.jpg similarity index 100% rename from public/quizimages/easy/question2.jpg rename to public/quiz-images/easy/question2.jpg diff --git a/public/quizimages/easy/question20.jpg b/public/quiz-images/easy/question20.jpg similarity index 100% rename from public/quizimages/easy/question20.jpg rename to public/quiz-images/easy/question20.jpg diff --git a/public/quizimages/easy/question3.jpg b/public/quiz-images/easy/question3.jpg similarity index 100% rename from public/quizimages/easy/question3.jpg rename to public/quiz-images/easy/question3.jpg diff --git a/public/quizimages/easy/question4.jpg b/public/quiz-images/easy/question4.jpg similarity index 100% rename from public/quizimages/easy/question4.jpg rename to public/quiz-images/easy/question4.jpg diff --git a/public/quizimages/easy/question5.jpg b/public/quiz-images/easy/question5.jpg similarity index 100% rename from public/quizimages/easy/question5.jpg rename to public/quiz-images/easy/question5.jpg diff --git a/public/quizimages/easy/question6.jpg b/public/quiz-images/easy/question6.jpg similarity index 100% rename from public/quizimages/easy/question6.jpg rename to public/quiz-images/easy/question6.jpg diff --git a/public/quizimages/easy/question7.jpg b/public/quiz-images/easy/question7.jpg similarity index 100% rename from public/quizimages/easy/question7.jpg rename to public/quiz-images/easy/question7.jpg diff --git a/public/quizimages/easy/question8.jpg b/public/quiz-images/easy/question8.jpg similarity index 100% rename from public/quizimages/easy/question8.jpg rename to public/quiz-images/easy/question8.jpg diff --git a/public/quizimages/easy/question9.jpg b/public/quiz-images/easy/question9.jpg similarity index 100% rename from public/quizimages/easy/question9.jpg rename to public/quiz-images/easy/question9.jpg diff --git a/public/quizimages/intermediate/question1.jpg b/public/quiz-images/intermediate/question1.jpg similarity index 100% rename from public/quizimages/intermediate/question1.jpg rename to public/quiz-images/intermediate/question1.jpg diff --git a/public/quizimages/intermediate/question10.jpg b/public/quiz-images/intermediate/question10.jpg similarity index 100% rename from public/quizimages/intermediate/question10.jpg rename to public/quiz-images/intermediate/question10.jpg diff --git a/public/quizimages/intermediate/question11.jpg b/public/quiz-images/intermediate/question11.jpg similarity index 100% rename from public/quizimages/intermediate/question11.jpg rename to public/quiz-images/intermediate/question11.jpg diff --git a/public/quizimages/intermediate/question12.jpg b/public/quiz-images/intermediate/question12.jpg similarity index 100% rename from public/quizimages/intermediate/question12.jpg rename to public/quiz-images/intermediate/question12.jpg diff --git a/public/quizimages/intermediate/question13.jpg b/public/quiz-images/intermediate/question13.jpg similarity index 100% rename from public/quizimages/intermediate/question13.jpg rename to public/quiz-images/intermediate/question13.jpg diff --git a/public/quizimages/intermediate/question14.jpg b/public/quiz-images/intermediate/question14.jpg similarity index 100% rename from public/quizimages/intermediate/question14.jpg rename to public/quiz-images/intermediate/question14.jpg diff --git a/public/quizimages/intermediate/question15.jpg b/public/quiz-images/intermediate/question15.jpg similarity index 100% rename from public/quizimages/intermediate/question15.jpg rename to public/quiz-images/intermediate/question15.jpg diff --git a/public/quizimages/intermediate/question16.jpg b/public/quiz-images/intermediate/question16.jpg similarity index 100% rename from public/quizimages/intermediate/question16.jpg rename to public/quiz-images/intermediate/question16.jpg diff --git a/public/quizimages/intermediate/question17.jpg b/public/quiz-images/intermediate/question17.jpg similarity index 100% rename from public/quizimages/intermediate/question17.jpg rename to public/quiz-images/intermediate/question17.jpg diff --git a/public/quizimages/intermediate/question18.jpg b/public/quiz-images/intermediate/question18.jpg similarity index 100% rename from public/quizimages/intermediate/question18.jpg rename to public/quiz-images/intermediate/question18.jpg diff --git a/public/quizimages/intermediate/question19.jpg b/public/quiz-images/intermediate/question19.jpg similarity index 100% rename from public/quizimages/intermediate/question19.jpg rename to public/quiz-images/intermediate/question19.jpg diff --git a/public/quizimages/intermediate/question2.jpg b/public/quiz-images/intermediate/question2.jpg similarity index 100% rename from public/quizimages/intermediate/question2.jpg rename to public/quiz-images/intermediate/question2.jpg diff --git a/public/quizimages/intermediate/question20.jpg b/public/quiz-images/intermediate/question20.jpg similarity index 100% rename from public/quizimages/intermediate/question20.jpg rename to public/quiz-images/intermediate/question20.jpg diff --git a/public/quizimages/intermediate/question3.jpg b/public/quiz-images/intermediate/question3.jpg similarity index 100% rename from public/quizimages/intermediate/question3.jpg rename to public/quiz-images/intermediate/question3.jpg diff --git a/public/quizimages/intermediate/question4.jpg b/public/quiz-images/intermediate/question4.jpg similarity index 100% rename from public/quizimages/intermediate/question4.jpg rename to public/quiz-images/intermediate/question4.jpg diff --git a/public/quizimages/intermediate/question5.jpg b/public/quiz-images/intermediate/question5.jpg similarity index 100% rename from public/quizimages/intermediate/question5.jpg rename to public/quiz-images/intermediate/question5.jpg diff --git a/public/quizimages/intermediate/question6.jpg b/public/quiz-images/intermediate/question6.jpg similarity index 100% rename from public/quizimages/intermediate/question6.jpg rename to public/quiz-images/intermediate/question6.jpg diff --git a/public/quizimages/intermediate/question7.jpg b/public/quiz-images/intermediate/question7.jpg similarity index 100% rename from public/quizimages/intermediate/question7.jpg rename to public/quiz-images/intermediate/question7.jpg diff --git a/public/quizimages/intermediate/question8.jpg b/public/quiz-images/intermediate/question8.jpg similarity index 100% rename from public/quizimages/intermediate/question8.jpg rename to public/quiz-images/intermediate/question8.jpg diff --git a/public/quizimages/intermediate/question9.jpg b/public/quiz-images/intermediate/question9.jpg similarity index 100% rename from public/quizimages/intermediate/question9.jpg rename to public/quiz-images/intermediate/question9.jpg diff --git a/readme.md b/readme.md index 97519ac..b560172 100644 --- a/readme.md +++ b/readme.md @@ -24,5 +24,6 @@ The application allows for users to post marten sightings. They can attach photo * Material-UI * Google API * Netlify +* Disqus * Flamelink CMS * EmailJS diff --git a/src/App.js b/src/App.js index bd3131f..5ac2abf 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import Main from './components/Main'; -import './App.css'; +import './css/App.css'; class App extends Component { componentDidMount() { @@ -16,4 +16,4 @@ class App extends Component { } } -export default App; +export default App; \ No newline at end of file diff --git a/src/components/SightingMap.js b/src/components/SightingMap.js index bf3aafa..abc06b8 100644 --- a/src/components/SightingMap.js +++ b/src/components/SightingMap.js @@ -2,7 +2,7 @@ import React, { Component, Fragment } from 'react'; import { Map, InfoWindow, Marker, GoogleApiWrapper } from 'google-maps-react'; import moment from 'moment'; import Typography from '@material-ui/core/Typography'; -import firebase from '../firebase.js'; +import firebase from '../utilities/firebase.js'; // Google Maps API Key const API_KEY = 'AIzaSyAZ_0J01bA6wCbIPK4UBq2RUBC-hIqG4mM'; @@ -216,22 +216,22 @@ export class MapContainer extends Component { switch(type) { case 'visual': - pinIcon = '/mapicons/marten-icon.png'; + pinIcon = '/map-icons/marten-icon.png'; break; case 'roadkill': - pinIcon = '/mapicons/tire-icon.png'; + pinIcon = '/map-icons/tire-icon.png'; break; case 'viewed_tracks': - pinIcon = '/mapicons/paws.png'; + pinIcon = '/map-icons/paws.png'; break; case 'trapped': - pinIcon = '/mapicons/cage.png'; + pinIcon = '/map-icons/cage.png'; break; case 'photo': - pinIcon = '/mapicons/photo-icon.png'; + pinIcon = '/map-icons/photo-icon.png'; break; case 'other': - pinIcon = '/mapicons/other-icon.png'; + pinIcon = '/map-icons/other-icon.png'; break; default: break; diff --git a/src/components/flamelink/FlameLinkCollection.js b/src/components/flamelink/FlameLinkCollection.js index c563e35..afc8312 100644 --- a/src/components/flamelink/FlameLinkCollection.js +++ b/src/components/flamelink/FlameLinkCollection.js @@ -1,5 +1,5 @@ import React, { Component} from 'react'; -import flamelinkApp from '../../flamelink.js'; +import flamelinkApp from '../../utilities/flamelink.js'; import FlameLinkCollectionComponentCreations from './FlameLinkCollectionComponentCreations'; class FlameLinkCollection extends Component { diff --git a/src/components/flamelink/FlameLinkCollectionGallery.js b/src/components/flamelink/FlameLinkCollectionGallery.js index 2c0ca3c..323b575 100644 --- a/src/components/flamelink/FlameLinkCollectionGallery.js +++ b/src/components/flamelink/FlameLinkCollectionGallery.js @@ -3,7 +3,7 @@ import Typography from '@material-ui/core/Typography'; import Grid from '@material-ui/core/Grid'; import { withStyles } from '@material-ui/core/styles'; import RenderGallery from './RenderGallery'; -import flamelinkApp from '../../flamelink.js'; +import flamelinkApp from '../../utilities/flamelink.js'; import FlameLinkCollectionGalleryContent from './FlameLinkCollectionGalleryContent'; import "react-image-gallery/styles/css/image-gallery.css"; import '../../css/FlameLink.css'; diff --git a/src/components/flamelink/FlameLinkCollectionGalleryContent.js b/src/components/flamelink/FlameLinkCollectionGalleryContent.js index 0ed6a0f..249dc36 100644 --- a/src/components/flamelink/FlameLinkCollectionGalleryContent.js +++ b/src/components/flamelink/FlameLinkCollectionGalleryContent.js @@ -1,5 +1,5 @@ import { Component } from 'react'; -import flamelinkApp from '../../flamelink.js'; +import flamelinkApp from '../../utilities/flamelink.js'; import '../../css/FlameLink.css'; class FlameLinkCollectionGalleryContent extends Component { diff --git a/src/components/flamelink/FlameLinkCollectionStructure.js b/src/components/flamelink/FlameLinkCollectionStructure.js index 3404394..bed944f 100644 --- a/src/components/flamelink/FlameLinkCollectionStructure.js +++ b/src/components/flamelink/FlameLinkCollectionStructure.js @@ -2,7 +2,7 @@ import React, { Component} from 'react'; import Grid from '@material-ui/core/Grid'; import Typography from '@material-ui/core/Typography'; import { withStyles } from '@material-ui/core/styles'; -import flamelinkApp from '../../flamelink.js'; +import flamelinkApp from '../../utilities/flamelink.js'; import FlameLinkImage from './FlameLinkImage'; import FlameLinkFieldSet from './FlameLinkFieldSet'; diff --git a/src/components/flamelink/FlameLinkImage.js b/src/components/flamelink/FlameLinkImage.js index d33657a..87d54dc 100644 --- a/src/components/flamelink/FlameLinkImage.js +++ b/src/components/flamelink/FlameLinkImage.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import Typography from '@material-ui/core/Typography'; -import flamelinkApp from '../../flamelink.js'; +import flamelinkApp from '../../utilities/flamelink.js'; import '../../css/FlameLink.css'; class FlameLinkImage extends Component { diff --git a/src/components/flamelink/FlameLinkStructure.js b/src/components/flamelink/FlameLinkStructure.js index 7f37792..dc6482e 100644 --- a/src/components/flamelink/FlameLinkStructure.js +++ b/src/components/flamelink/FlameLinkStructure.js @@ -2,7 +2,7 @@ import React, { Component} from 'react'; import Grid from '@material-ui/core/Grid'; import Typography from '@material-ui/core/Typography'; import { withStyles } from '@material-ui/core/styles'; -import flamelinkApp from '../../flamelink.js'; +import flamelinkApp from '../../utilities/flamelink.js'; import FlameLinkImage from './FlameLinkImage'; import FlameLinkFieldSet from './FlameLinkFieldSet'; diff --git a/src/components/forms/ContactForm.js b/src/components/forms/ContactForm.js index 12677e5..28ccef3 100644 --- a/src/components/forms/ContactForm.js +++ b/src/components/forms/ContactForm.js @@ -1,7 +1,7 @@ import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; 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 TextField from '@material-ui/core/TextField'; import CheckCircleIcon from '@material-ui/icons/CheckCircle'; diff --git a/src/components/forms/ReportForm.js b/src/components/forms/ReportForm.js index 9966aa1..e61beb1 100644 --- a/src/components/forms/ReportForm.js +++ b/src/components/forms/ReportForm.js @@ -9,7 +9,7 @@ import Snackbar from '@material-ui/core/Snackbar'; import IconButton from '@material-ui/core/IconButton'; import CloseIcon from '@material-ui/icons/Close'; import Button from '@material-ui/core/Button'; -import firebase from '../../firebase.js'; +import firebase from '../../utilities/firebase.js'; import GoogleMap from './ReportMap'; import Modal from '@material-ui/core/Modal'; import Typography from '@material-ui/core/Typography'; diff --git a/src/components/list/ViewSightings.js b/src/components/list/ViewSightings.js index 2caa73b..368ea6e 100644 --- a/src/components/list/ViewSightings.js +++ b/src/components/list/ViewSightings.js @@ -1,6 +1,6 @@ import React, { Component, Fragment } from 'react'; 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 ListItem from '@material-ui/core/ListItem'; import ListItemText from '@material-ui/core/ListItemText'; diff --git a/src/App.css b/src/css/App.css similarity index 100% rename from src/App.css rename to src/css/App.css diff --git a/src/emailjs.js b/src/emailjs.js deleted file mode 100644 index b2c9193..0000000 --- a/src/emailjs.js +++ /dev/null @@ -1,5 +0,0 @@ -import * as emailjs from 'emailjs-com' - -emailjs.init("user_4d5R86dmu6vgeJP4euxSA"); - -export default emailjs; \ No newline at end of file diff --git a/src/images/marten-icon.png b/src/images/marten-icon.png deleted file mode 100644 index 20e396d..0000000 Binary files a/src/images/marten-icon.png and /dev/null differ diff --git a/src/images/tire-icon.png b/src/images/tire-icon.png deleted file mode 100644 index ae18fac..0000000 Binary files a/src/images/tire-icon.png and /dev/null differ diff --git a/src/pages/About.js b/src/pages/About.js index aed4944..88d18da 100644 --- a/src/pages/About.js +++ b/src/pages/About.js @@ -1,6 +1,6 @@ import React, { Component, Fragment } from 'react'; import FlameLinkComponentCreations from '../components/flamelink/FlameLinkComponentCreations'; -import flamelinkApp from '../flamelink.js'; +import flamelinkApp from '../utilities/flamelink.js'; class About extends Component { constructor() { diff --git a/src/pages/Home.js b/src/pages/Home.js index 666bcb2..0e09315 100644 --- a/src/pages/Home.js +++ b/src/pages/Home.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import FlameLinkComponentCreations from '../components/flamelink/FlameLinkComponentCreations'; import FlameLinkCollectionGallery from '../components/flamelink/FlameLinkCollectionGallery'; -import flamelinkApp from '../flamelink'; +import flamelinkApp from '../utilities/flamelink'; import Grid from '@material-ui/core/Grid'; class Home extends Component { diff --git a/src/quiz/advancedQuiz.js b/src/quiz/advancedQuiz.js index e7bb4a5..a57db95 100644 --- a/src/quiz/advancedQuiz.js +++ b/src/quiz/advancedQuiz.js @@ -4,7 +4,7 @@ const advancedQuiz = { "quizTitle": "Trail Cam Quiz: Advanced", "questions": [ { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -15,7 +15,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -26,7 +26,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -37,7 +37,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Robin", @@ -48,7 +48,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What is in the marten's mouth?

, + "question": What is in the marten's mouth?

, "questionType": "text", "answers": [ "American Woodcock", @@ -59,7 +59,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Black bear", @@ -70,7 +70,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Black bear", @@ -81,7 +81,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Coyote", @@ -92,7 +92,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -103,7 +103,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -114,7 +114,7 @@ const advancedQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -125,7 +125,7 @@ const advancedQuiz = { "correctAnswer": "2" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -136,7 +136,7 @@ const advancedQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Hermit Thrush", @@ -147,7 +147,7 @@ const advancedQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American beaver", @@ -158,7 +158,7 @@ const advancedQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -169,7 +169,7 @@ const advancedQuiz = { "correctAnswer": "2" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern fox squirrel", @@ -180,7 +180,7 @@ const advancedQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Woodcock", @@ -191,7 +191,7 @@ const advancedQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern fox squirrel", @@ -202,7 +202,7 @@ const advancedQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "House mouse", @@ -213,7 +213,7 @@ const advancedQuiz = { "correctAnswer": "3" }, { - "question": What is in the marten's mouth?

, + "question": What is in the marten's mouth?

, "questionType": "text", "answers": [ "Eastern chipmunk", diff --git a/src/quiz/easyQuiz.js b/src/quiz/easyQuiz.js index 209eb24..40e526e 100644 --- a/src/quiz/easyQuiz.js +++ b/src/quiz/easyQuiz.js @@ -4,7 +4,7 @@ const easyQuiz = { "quizTitle": "Trail Cam Quiz: Easy", "questions": [ { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Black bear", @@ -15,7 +15,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American beaver", @@ -26,7 +26,7 @@ const easyQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -37,7 +37,7 @@ const easyQuiz = { "correctAnswer": "2" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern fox squirrel", @@ -48,7 +48,7 @@ const easyQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Crow", @@ -59,7 +59,7 @@ const easyQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -70,7 +70,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -81,7 +81,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Robin", @@ -92,7 +92,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Black bear", @@ -103,7 +103,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Bobcat", @@ -114,7 +114,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Coyote", @@ -125,7 +125,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -136,7 +136,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -147,7 +147,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Raccoon", @@ -158,7 +158,7 @@ const easyQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American beaver", @@ -169,7 +169,7 @@ const easyQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -180,7 +180,7 @@ const easyQuiz = { "correctAnswer": "2" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -191,7 +191,7 @@ const easyQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Elk", @@ -202,7 +202,7 @@ const easyQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Elk", @@ -213,7 +213,7 @@ const easyQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Elk", diff --git a/src/quiz/intermediateQuiz.js b/src/quiz/intermediateQuiz.js index c9c16ea..348465a 100644 --- a/src/quiz/intermediateQuiz.js +++ b/src/quiz/intermediateQuiz.js @@ -4,7 +4,7 @@ const intermediateQuiz = { "quizTitle": "Trail Cam Quiz: Intermediate", "questions": [ { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -15,7 +15,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -26,7 +26,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -37,7 +37,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American marten", @@ -48,7 +48,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Robin", @@ -59,7 +59,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Black bear", @@ -70,7 +70,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Bobcat", @@ -81,7 +81,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Bobcat", @@ -92,7 +92,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Crow", @@ -103,7 +103,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Coyote", @@ -114,7 +114,7 @@ const intermediateQuiz = { "correctAnswer": "1" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -125,7 +125,7 @@ const intermediateQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -136,7 +136,7 @@ const intermediateQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American beaver", @@ -147,7 +147,7 @@ const intermediateQuiz = { "correctAnswer": "3" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -158,7 +158,7 @@ const intermediateQuiz = { "correctAnswer": "2" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American badger", @@ -169,7 +169,7 @@ const intermediateQuiz = { "correctAnswer": "2" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Coyote", @@ -180,7 +180,7 @@ const intermediateQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern fox squirrel", @@ -191,7 +191,7 @@ const intermediateQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Eastern chipmunk", @@ -202,7 +202,7 @@ const intermediateQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "American Woodcock", @@ -213,7 +213,7 @@ const intermediateQuiz = { "correctAnswer": "4" }, { - "question": What animal is this?

, + "question": What animal is this?

, "questionType": "text", "answers": [ "Elk", diff --git a/src/utilities/emailjs.js b/src/utilities/emailjs.js new file mode 100644 index 0000000..fde8ec1 --- /dev/null +++ b/src/utilities/emailjs.js @@ -0,0 +1,5 @@ +import * as emailjs from 'emailjs-com'; + +emailjs.init("user_4d5R86dmu6vgeJP4euxSA"); + +export default emailjs; \ No newline at end of file diff --git a/src/firebase.js b/src/utilities/firebase.js similarity index 100% rename from src/firebase.js rename to src/utilities/firebase.js diff --git a/src/flamelink.js b/src/utilities/flamelink.js similarity index 100% rename from src/flamelink.js rename to src/utilities/flamelink.js