diff --git a/sports-matcher/client/src/components/HomeCarousel.js b/sports-matcher/client/src/components/HomeCarousel.js new file mode 100644 index 0000000..4f667a8 --- /dev/null +++ b/sports-matcher/client/src/components/HomeCarousel.js @@ -0,0 +1,54 @@ +import React from "react"; +import { Carousel } from "react-bootstrap"; +import "../styles/HomeCarousel.css"; +export default class HomeCarousel extends React.Component{ + constructor(props) { + super(props); + } + render() { + return ( + + + Connect Slide + +
+

Connect

+

Connect with other athletes in your area!

+
+
+
+ + Schedule Slide + +
+

Schedule

+

Schedule sport meets with other athletes!

+
+
+
+ + Rent Slide + +
+

Rent

+

Rent sports equipment from other athletes!

+
+
+
+
+ ); + } +} + diff --git a/sports-matcher/client/src/pages/Welcome.js b/sports-matcher/client/src/pages/Welcome.js index c172574..e1484c7 100644 --- a/sports-matcher/client/src/pages/Welcome.js +++ b/sports-matcher/client/src/pages/Welcome.js @@ -1,5 +1,6 @@ import React from "react"; import { apiClient } from "../utils/httpClients"; +import HomeCarousel from "../components/HomeCarousel"; export default class Welcome extends React.Component { constructor(props) { super(props); @@ -9,9 +10,10 @@ export default class Welcome extends React.Component { render() { return (
-
-

Sports Matcher

-

The best place to find a local match for a good game of your favourite sport!

+
+ {/*

Sports Matcher

+

The best place to find a local match for a good game of your favourite sport!

*/} +

Why?

diff --git a/sports-matcher/client/src/styles/HomeCarousel.css b/sports-matcher/client/src/styles/HomeCarousel.css new file mode 100644 index 0000000..ecedbf6 --- /dev/null +++ b/sports-matcher/client/src/styles/HomeCarousel.css @@ -0,0 +1,15 @@ +.captionStyle { + background-color: seashell; + color: black; + outline: 1px solid black; +} + +.carousel-control-next, +.carousel-control-prev /*, .carousel-indicators */ { + filter: invert(100%); +} + +.carousel-indicators button { + filter: invert(100%); +} +