From e02589b26dd9c05d66d61272d673be57d0a9549d Mon Sep 17 00:00:00 2001 From: Michael Fatemi Date: Sun, 11 Apr 2021 10:44:20 -0400 Subject: [PATCH] rewrite bottom cards --- src/components/Home.tsx | 85 ++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 44 deletions(-) diff --git a/src/components/Home.tsx b/src/components/Home.tsx index 0d12d76..fca7972 100644 --- a/src/components/Home.tsx +++ b/src/components/Home.tsx @@ -3,6 +3,11 @@ import { useContext } from 'react'; import { ION_AUTHORIZATION_ENDPOINT } from '../api/api'; import AuthenticationContext from './AuthenticationContext'; +import ChatIcon from '@material-ui/icons/Chat'; +import LockIcon from '@material-ui/icons/Lock'; +import LocalTaxi from '@material-ui/icons/LocalTaxi'; +import RedeemIcon from '@material-ui/icons/Redeem'; + export default function Home() { const { user, isLoggedIn } = useContext(AuthenticationContext); @@ -87,73 +92,65 @@ export default function Home() {
-
-
Browse Posts
+
+ + Privacy and Security +

- Easily browse through NLP generated recommended posts in - your feed. These posts match your previous interests and - recent trending political and social subjects. + All carpools are private to a community. Nobody can view a + route before being approved by an admin to the group.

-  + {/*  */}
-
Browse Events
-
- +
+ + Optimized Routes +
+

- Browse local community political events that match your - political interests in order to best advocate your - concerns and have your voice heard. + We provide maps for every carpool that enable riders and + drivers to choose the optimal carpools for their routes.

-
-
-
-  + {/*  */}
-
-
-
- -
Discussion Thread
-
- +
+ + Communication +
+

- View someone's post and leave a like or comment to further - discuss the thread or show your support. Each like or - comment will make your feed give more posts or events that - are similar. + Easily communicate with others in the pool without needing + to set up an external group chat. For example, you could + coordinate based on who has been vaccinated and who + hasn't, and ensure that you are following all COVID safety + protocols.

-
-
-
-  + /> */}
-
-
-
- -
Create Posts
-
- +
+ + Rewards +
+

- Create your own post anonymously for free and easily. Your - post will be seen by many others as well as politicians - that can possibly advocate and recognize your interests - for your given enough support. + Every driver is given points based on how many passenger + miles they have. These points can accumulate and be shown + as badges on the driver's profile.