diff --git a/client/src/App.js b/client/src/App.js index 29bd2ef..8373e3a 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -18,6 +18,8 @@ import Landing from './containers/Landing'; import Help from './containers/Help'; // Import Foooter component import Footer from './components/Footer'; +// Import Event Details component +import EventDetails from './containers/EventDetails/EventDetails'; // import NavBar component import NavBar from './components/NavBar'; // import card components @@ -124,6 +126,7 @@ class App extends Component { + diff --git a/client/src/containers/EventDetails/EventDetails.css b/client/src/containers/EventDetails/EventDetails.css new file mode 100644 index 0000000..cbe281b --- /dev/null +++ b/client/src/containers/EventDetails/EventDetails.css @@ -0,0 +1,7 @@ +.section { + border: 1px solid black; + padding: 20px; +} +.padRight { + margin-right: 20px !important; +} \ No newline at end of file diff --git a/client/src/containers/EventDetails/EventDetails.js b/client/src/containers/EventDetails/EventDetails.js new file mode 100644 index 0000000..e7cb60a --- /dev/null +++ b/client/src/containers/EventDetails/EventDetails.js @@ -0,0 +1,45 @@ +// import React +import React, { Component } from 'react'; +import Button from '@material-ui/core/Button'; +import '../EventDetails/EventDetails.css'; + +class EventDetails extends Component { + render() { + return ( +
+

Event Details

+
+ Event: Charlotte's Web @ Stages Theatre (Pay What You Can performance)
+ Location: 1111 Mainstreet, Hopkins, MN, 55343, United States
+ Date: September 23rd, 2018
+ Time: 1:00 PM
+ Ages: All Ages
+
+ Description: + Patrons can reserve up to SIX (6) tickets at no cost. Patron/Households can reserve tickets to a maximum of THREE (3) pay-what-you-can productions per season. The day of the performance you can “pay-what-you-can” by making a donation of any amount on your way into the theater. +
+
+
+
+ + + +
+
+ ); + } +} + +export default EventDetails; diff --git a/client/src/containers/EventDetails/index.js b/client/src/containers/EventDetails/index.js new file mode 100644 index 0000000..c7c02eb --- /dev/null +++ b/client/src/containers/EventDetails/index.js @@ -0,0 +1 @@ +export { default } from './EventDetails'; \ No newline at end of file diff --git a/client/src/containers/Events/MyEventCard.js b/client/src/containers/Events/MyEventCard.js index 6f7f142..b234d8d 100644 --- a/client/src/containers/Events/MyEventCard.js +++ b/client/src/containers/Events/MyEventCard.js @@ -1,4 +1,5 @@ import React, { Component } from 'react'; +import { Link } from 'react-router-dom'; import Card from '@material-ui/core/Card'; import CardActions from '@material-ui/core/CardActions'; import CardContent from '@material-ui/core/CardContent'; @@ -52,7 +53,7 @@ class MyEventCard extends Component { - + diff --git a/client/src/containers/Landing/EventCard.js b/client/src/containers/Landing/EventCard.js index 5c8a2e7..2a12552 100644 --- a/client/src/containers/Landing/EventCard.js +++ b/client/src/containers/Landing/EventCard.js @@ -1,4 +1,5 @@ import React, { Component } from 'react'; +import { Link } from 'react-router-dom'; import Card from '@material-ui/core/Card'; import CardActions from '@material-ui/core/CardActions'; import CardContent from '@material-ui/core/CardContent'; @@ -52,7 +53,7 @@ class EventCard extends Component { - + diff --git a/client/src/containers/Landing/UpcomingEventContent.js b/client/src/containers/Landing/UpcomingEventContent.js index 8de686b..f19cdf8 100644 --- a/client/src/containers/Landing/UpcomingEventContent.js +++ b/client/src/containers/Landing/UpcomingEventContent.js @@ -1,4 +1,5 @@ import React, { Component } from 'react'; +import { Link } from 'react-router-dom'; import Typography from '@material-ui/core/Typography'; import { withStyles } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; @@ -33,7 +34,7 @@ class UpcomingEventContent extends Component { Time: {item.time} -