Changed carousel images to larger images and restyled.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								sports-matcher/client/public/images/basketball_normalized.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sports-matcher/client/public/images/basketball_normalized.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 529 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								sports-matcher/client/public/images/tennis_normalized.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sports-matcher/client/public/images/tennis_normalized.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 894 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								sports-matcher/client/public/images/volleyball_normalized.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sports-matcher/client/public/images/volleyball_normalized.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 592 KiB  | 
@@ -1,18 +1,17 @@
 | 
			
		||||
import React from "react";
 | 
			
		||||
import { Carousel } from "react-bootstrap";
 | 
			
		||||
import "../styles/HomeCarousel.css";
 | 
			
		||||
export default class HomeCarousel extends React.Component{
 | 
			
		||||
export default class HomeCarousel extends React.Component {
 | 
			
		||||
    constructor(props) {
 | 
			
		||||
        super(props);
 | 
			
		||||
    }
 | 
			
		||||
    render() {
 | 
			
		||||
        return (
 | 
			
		||||
            <Carousel>
 | 
			
		||||
            <Carousel className="jumbotron" variant="light">
 | 
			
		||||
                <Carousel.Item>
 | 
			
		||||
                    <img
 | 
			
		||||
                        src='https://www.allanpanthera.com/wp-content/uploads/elementor/thumbs/79377445_m-o6r0ydib97moj7m7zg58w32qirim121wxt2i8thqyg.jpg'
 | 
			
		||||
                        className="d-block w-100"
 | 
			
		||||
                        src='/images/volleyball_normalized.jpg'
 | 
			
		||||
                        alt="Connect Slide"
 | 
			
		||||
                        style={{ height: "300px", width: "2000px"}}
 | 
			
		||||
                    />
 | 
			
		||||
                    <Carousel.Caption>
 | 
			
		||||
                        <div className="captionStyle">
 | 
			
		||||
@@ -23,9 +22,9 @@ export default class HomeCarousel extends React.Component{
 | 
			
		||||
                </Carousel.Item>
 | 
			
		||||
                <Carousel.Item>
 | 
			
		||||
                    <img
 | 
			
		||||
                        src='http://cpadollard.com/wp-content/uploads/2018/01/cpa-dollard-fsc-banner-calendar_2000x300.jpg'
 | 
			
		||||
                        className="d-block w-100"
 | 
			
		||||
                        src='/images/basketball_normalized.jpg'
 | 
			
		||||
                        alt="Schedule Slide"
 | 
			
		||||
                        style={{ height: "300px", width: "2000px" }}
 | 
			
		||||
                    />
 | 
			
		||||
                    <Carousel.Caption>
 | 
			
		||||
                        <div className="captionStyle">
 | 
			
		||||
@@ -36,9 +35,9 @@ export default class HomeCarousel extends React.Component{
 | 
			
		||||
                </Carousel.Item>
 | 
			
		||||
                <Carousel.Item>
 | 
			
		||||
                    <img
 | 
			
		||||
                        src='https://tadvantagesites-com.cdn-convertus.com/uploads/sites/288/2019/07/Generic-Personal-Watercraft-3.jpg'
 | 
			
		||||
                        src='/images/tennis_normalized.jpg'
 | 
			
		||||
                        alt="Rent Slide"
 | 
			
		||||
                        style={{ height: "300px", width: "2000px" }}
 | 
			
		||||
                        className="d-block w-100"
 | 
			
		||||
                    />
 | 
			
		||||
                    <Carousel.Caption>
 | 
			
		||||
                        <div className="captionStyle">
 | 
			
		||||
 
 | 
			
		||||
@@ -10,11 +10,7 @@ export default class Welcome extends React.Component {
 | 
			
		||||
    render() {
 | 
			
		||||
        return (
 | 
			
		||||
            <div className="page-root">
 | 
			
		||||
                <div>
 | 
			
		||||
                    {/* <h1>Sports Matcher</h1>
 | 
			
		||||
                    <p>The best place to find a local match for a good game of your favourite sport!</p> */}
 | 
			
		||||
                    <HomeCarousel></HomeCarousel>
 | 
			
		||||
                </div>
 | 
			
		||||
                <HomeCarousel />
 | 
			
		||||
                <div className="text-center p-3 mt-2">
 | 
			
		||||
                    <h2>Why?</h2>
 | 
			
		||||
                    <p>Because you want to play the sports you love while meeting new friends!</p>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,15 +0,0 @@
 | 
			
		||||
.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%);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -1,19 +1,3 @@
 | 
			
		||||
.jumbotron {
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  padding-left: 1.5rem;
 | 
			
		||||
  padding-right: 1.5rem;
 | 
			
		||||
  padding-top: 12rem;
 | 
			
		||||
  padding-bottom: 1rem;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background-size: cover;
 | 
			
		||||
  background-color: black;
 | 
			
		||||
  color: white;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.jumbotron h1 {
 | 
			
		||||
  font-size: 1.5rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.horizontal-scroller {
 | 
			
		||||
  overflow-x: scroll;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user