From 4a91397ee66a3f9a674b0361782f18b2e1a9678c Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Tue, 21 May 2024 09:12:10 -0700 Subject: [PATCH 1/3] changes --- src/components/Home/index.js | 156 +++++------------------ src/components/input/input.component.jsx | 2 +- 2 files changed, 33 insertions(+), 125 deletions(-) diff --git a/src/components/Home/index.js b/src/components/Home/index.js index 0066bc88..ad0569b0 100644 --- a/src/components/Home/index.js +++ b/src/components/Home/index.js @@ -1,6 +1,6 @@ -import React from "react"; +import React from 'react'; -import { Button, Input } from ".."; +import { Button, Input } from '..'; import { ArrowIcon, DiscordIcon, @@ -11,8 +11,8 @@ import { PiechartIcon, XIcon, XIcon2, -} from "../../icons"; -import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; +} from '../../icons'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import MuxPlayer from '@mux/mux-player-react'; export default function Home({ recentPosts }) { @@ -101,7 +101,7 @@ export default function Home({ recentPosts }) { label="Home" isActive onClick={() => { - location.href = ""; + location.href = ''; }} /> @@ -110,7 +110,7 @@ export default function Home({ recentPosts }) { variant="ghost" label="Blog" onClick={() => { - location.href = "/blog/"; + location.href = '/blog/'; }} /> @@ -119,7 +119,7 @@ export default function Home({ recentPosts }) { variant="ghost" label="Documentation" onClick={() => { - location.href = "/docs/"; + location.href = '/docs/'; }} /> @@ -129,7 +129,7 @@ export default function Home({ recentPosts }) { variant="blue" label="Launch app" onClick={() => { - location.href = "https://3dstreet.app"; + location.href = 'https://3dstreet.app'; }} /> @@ -147,7 +147,7 @@ export default function Home({ recentPosts }) { variant="blue" label="Launch app" onClick={() => { - location.href = "https://3dstreet.app"; + location.href = 'https://3dstreet.app'; }} /> @@ -160,7 +160,7 @@ export default function Home({ recentPosts }) { label="Home" isActive onClick={() => { - location.href = ""; + location.href = ''; }} /> @@ -169,7 +169,7 @@ export default function Home({ recentPosts }) { variant="ghost" label="Blog" onClick={() => { - location.href = "/blog/"; + location.href = '/blog/'; }} /> @@ -178,7 +178,7 @@ export default function Home({ recentPosts }) { variant="ghost" label="Documentation" onClick={() => { - location.href = "/docs/"; + location.href = '/docs/'; }} /> @@ -216,14 +216,11 @@ export default function Home({ recentPosts }) {
-

- Design and envision safer, greener streets, together. -

+

Bring your street redesign to life.

- 3DStreet is a revolutionary tool that enables you to unleash - your creativity and design unique streets that not only stand - out visually but also make a tangible impact on creating a safer - and greener world. + 3DStreet alleviates the pain of street projects by helping + stakeholders better understand changes and by reducing the risk + of cancellation and delays

@@ -248,83 +245,6 @@ export default function Home({ recentPosts }) { */} -
- {/* VISION SECTION */} -
-

VISION

-

- We can change our world for the better through safer, greener - streets. -

-
- - {/* STATISTICS SECTION */} -
-

STATISTICS

-
-
- -
-

52%

-

- Over half of all car trips in the US are less than 3 miles - - an ideal distance for green alternatives such as walking, - biking, and transit. -

- - US Bureau of Transportation Statistics, 2022 Report - -
-
-
- -
-

80%

-

- From the number of people interested in, but not using, - active mobility, 80% would be willing to bike on streets - with a protected or completely separated bike lane. -

- - NACTO Report, 2016 - -
-
-
- -
-

32%

-

- Nearly one-third of the population (32%) is dissatisfied - with their community designs for making biking safe. -

- - US Bureau of Transportation Statistics, 2012 Report - -
-
-
-
- - {/* MISSION SECTION */} -
-

mission

-

- Our goal is to empower the world with simple tools that enable - anyone to create a safer and greener future, one street at a time. -

-
-
- {/* FEATURES SECTION */}
@@ -345,10 +265,10 @@ export default function Home({ recentPosts }) {

@@ -373,10 +293,10 @@ export default function Home({ recentPosts }) {