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
-
-
-
-
-
-
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
-
-
-
-
-
-
-
- {/* 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 }) {
{
- location.href = "https://3dstreet.app";
+ location.href = 'https://3dstreet.app';
}}
/>
@@ -373,10 +293,10 @@ export default function Home({ recentPosts }) {
{
- location.href = "https://3dstreet.app";
+ location.href = 'https://3dstreet.app';
}}
/>
@@ -402,10 +322,10 @@ export default function Home({ recentPosts }) {
{
- location.href = "https://3dstreet.app";
+ location.href = 'https://3dstreet.app';
}}
/>
@@ -430,10 +350,10 @@ export default function Home({ recentPosts }) {
{
- location.href = "https://3dstreet.app";
+ location.href = 'https://3dstreet.app';
}}
/>
@@ -480,7 +400,7 @@ export default function Home({ recentPosts }) {
alt="author-avatar"
/>
{`${authors[0].name} ${
- authors.length > 1 ? "and others" : ""
+ authors.length > 1 ? 'and others' : ''
}`}
@@ -494,10 +414,10 @@ export default function Home({ recentPosts }) {
)}
{
- location.href = "/blog/";
+ location.href = '/blog/';
}}
/>
@@ -630,18 +550,6 @@ export default function Home({ recentPosts }) {
- {/* START SECTION */}
-
- Ready to reimagine a safer greener world?
- {
- location.href = "https://3dstreet.app";
- }}
- />
-
-
{/* FOOTER SECTION */}