diff --git a/public/images/banner-new.jpg b/public/images/banner-new.jpg new file mode 100644 index 0000000..98aec84 Binary files /dev/null and b/public/images/banner-new.jpg differ diff --git a/public/index.html b/public/index.html index 6139d01..e20a250 100644 --- a/public/index.html +++ b/public/index.html @@ -5,10 +5,7 @@ - + - React App + WheelShare diff --git a/src/components/Home.tsx b/src/components/Home.tsx index 141c90f..0d12d76 100644 --- a/src/components/Home.tsx +++ b/src/components/Home.tsx @@ -12,33 +12,39 @@ export default function Home() { display: 'flex', flexDirection: 'column', alignItems: 'center', + padding: '1rem 0rem', + backgroundImage: "url('images/banner-new.jpg')", + backgroundRepeat: 'no-repeat', + color: 'white', + // backgroundSize: '', }} > -

Home

-
+

+ WheelShare +

+
{!isLoggedIn ? ( ) : ( 'Hello ' + user?.first_name + '!' )}
-
+
-
-
-
-
-

+

Helping communities utilize carpooling

-
+

About Us

diff --git a/src/components/PoolMap.tsx b/src/components/PoolMap.tsx index 0ce62ef..a925dba 100644 --- a/src/components/PoolMap.tsx +++ b/src/components/PoolMap.tsx @@ -3,6 +3,15 @@ import GoogleMapReact from 'google-map-react'; const position = { lat: 39.043758, lng: -77.487442 }; export default function PoolMap() { + const renderMarkers = (map: any, maps: any) => { + let marker = new maps.Marker({ + position, + map, + title: 'Hello World!', + }); + return marker; + }; + return (
renderMarkers(map, maps)} >
);