Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions project-app/components/ImageGallery/ImageGallery.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { Carousel } from 'antd';
import React from 'react';
import Style from './ImageGallery.module.css'

const ImageGallery = () => (
<div className={Style.imageContainer}>
<Carousel className={Style.Carousel} autoplay>
<div >
<img className={Style.imageCSS} src="https://www.belvederecl.com/wp-content/uploads/2019/05/Community-cleanup-picture.jpg"/>
</div>
<div >
<img className={Style.imageCSS} src="https://www.belvederecl.com/wp-content/uploads/2019/05/Community-cleanup-picture.jpg"/>
</div>
<div >
<img className={Style.imageCSS} src="https://www.belvederecl.com/wp-content/uploads/2019/05/Community-cleanup-picture.jpg"/>
</div>
<div >
<img className={Style.imageCSS} src="https://www.belvederecl.com/wp-content/uploads/2019/05/Community-cleanup-picture.jpg"/>
</div>
</Carousel>
</div>
);

export default ImageGallery;
25 changes: 25 additions & 0 deletions project-app/components/ImageGallery/ImageGallery.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.imageContainer {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 20px;
background-color: #006C72;

}

.Carousel {
display: flex;
justify-content: center;
align-items: center;
height: 350px;
width: 500px;
margin:50px 0px 100px 0px;
filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

.imageCSS {
border-radius: 25px;
height: 350px;
width: 500px;

}
2 changes: 1 addition & 1 deletion project-app/components/Landing/NavButton/NavButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from "react";

function NavButton( {buttonText}) {
return (
<button className = "bg-orange-500 hover:bg-orange-700 text-black font-bold py-2 px-4 rounded">
<button className = "bg-[#FF9505] hover:bg-orange-700 text-white font-bold py-2 px-4 rounded shadow-2xl ">
{buttonText}
</button>
)
Expand Down
18 changes: 18 additions & 0 deletions project-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions project-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@fontsource/montserrat": "^4.5.11",
"@sefailyasoz/react-carousel": "^1.1.1",
"antd": "^4.22.1",
"esri-leaflet-geocoder": "^3.1.3",
"leaflet": "^1.8.0",
Expand Down
2 changes: 2 additions & 0 deletions project-app/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Navbar from "../components/Navbar/Navbar";
import dynamic from "next/dynamic";
import LandingBanner from "../components/Landing/Landing";
import Weather from "../components/Weather/Weather";
import ImageGallery from "../components/ImageGallery/ImageGallery";

import Footer from "../components/Footer/Footer";

Expand All @@ -24,6 +25,7 @@ export default function Home() {
<Navbar />
<LandingBanner />
<Stats />
<ImageGallery/>
<MapWithNoSSR />
<Weather />
<Footer />
Expand Down
2 changes: 1 addition & 1 deletion project-app/styles/Home.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.container {
overflow: hidden;

}

.main {
min-height: 100vh;
padding: 4rem 0;

display: flex;
flex-direction: column;
justify-content: center;
Expand Down
2 changes: 2 additions & 0 deletions project-app/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
body{
overflow-x: hidden;
width: 100vw;
background-color: #f15100;

}

img {
Expand Down