From 42a21b33ca41d85b92a50df24b13eec78a2fe9f8 Mon Sep 17 00:00:00 2001 From: Chandan Kumar <149804185+chandankumarm55@users.noreply.github.com> Date: Sun, 15 Sep 2024 22:49:58 +0530 Subject: [PATCH 1/2] fixed the bad request url at banner --- docusaurus/website/src/pages/index.js | 80 +++++++++++++-------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/docusaurus/website/src/pages/index.js b/docusaurus/website/src/pages/index.js index 5efc1fa9856..1ba9694cbf5 100644 --- a/docusaurus/website/src/pages/index.js +++ b/docusaurus/website/src/pages/index.js @@ -50,62 +50,62 @@ function Home() { className={clsx(styles.heroBannerLogo, 'margin-vert--md')} alt="Create React App logo" src={useBaseUrl('img/logo.svg')} - /> -

{siteConfig.title}

-

{siteConfig.tagline}

+ />{' '} +

{siteConfig.title}

{' '} +

{siteConfig.tagline}

{' '}
- Get Started - -
- - + Get Started{' '} + {' '} + {' '} + {' '} + {' '} {features && features.length && (
+ {' '} {features.map(({ title, content }, idx) => (
-

{title}

-

{content}

+

{title}

{content}

{' '}
- ))} -
-
+ ))}{' '} +
{' '} + {' '} - )} + )}{' '}
-

Get started in seconds

+

Get started in seconds

{' '}

- Whether you’re using React or another library, Create React App - lets you focus on code, not build tools. + Whether you’ re using React or another library, Create React App + lets you focus on code, not build tools .{' '}

- To create a project called my-app, run this command: -

+ To create a project called my - app , run this command:{' '} +

{' '} - npx create-react-app my-app - + npx create - react - app my - app{' '} + {' '}
-
+
{' '}
Easy to get started in seconds -
-
-
- + />{' '} + {' '} + {' '} + {' '} + {' '}
@@ -114,22 +114,22 @@ function Home() { className={styles.featureImage} alt="Easy to update" src={useBaseUrl('img/update.png')} - /> -
+ />{' '} +
{' '}
-

Easy to Maintain

+

Easy to Maintain

{' '}

- Updating your build tooling is typically a daunting and - time-consuming task. When new versions of Create React App are + Updating your build tooling is typically a daunting and time - + consuming task.When new versions of Create React App are released, you can upgrade using a single command: -

+

{' '} - npm install react-scripts@latest - -
-
- - + npm install react - scripts @latest{' '} + {' '} + {' '} + {' '} + {' '} + {' '} ); } From 3130416afc31e7b669df161d3786e5f4c90165de Mon Sep 17 00:00:00 2001 From: Chandan Kumar <149804185+chandankumarm55@users.noreply.github.com> Date: Sun, 22 Sep 2024 08:33:23 +0530 Subject: [PATCH 2/2] Update index.js --- docusaurus/website/src/pages/index.js | 108 +++++++++++++------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/docusaurus/website/src/pages/index.js b/docusaurus/website/src/pages/index.js index 1ba9694cbf5..763bdd293d7 100644 --- a/docusaurus/website/src/pages/index.js +++ b/docusaurus/website/src/pages/index.js @@ -41,95 +41,95 @@ function Home() { return ( -
+
Create React App logo{' '} -

{siteConfig.title}

{' '} -

{siteConfig.tagline}

{' '} -
+ src={ useBaseUrl('img/logo.svg') } + /> +

{ siteConfig.title }

+

{ siteConfig.tagline }

+
- Get Started{' '} - {' '} -
{' '} -
{' '} -
{' '} - {features && features.length && ( -
+ Get Started + +
+
+
+ { features && features.length && ( +
- {' '} - {features.map(({ title, content }, idx) => ( -
-

{title}

{content}

{' '} + { features.map(({ title, content }, idx) => ( +
+

{ title }

+

{ content }

- ))}{' '} -
{' '} -
{' '} + )) } +
+
- )}{' '} -
+ ) } +
-

Get started in seconds

{' '} +

Get started in seconds

- Whether you’ re using React or another library, Create React App - lets you focus on code, not build tools .{' '} + Whether you’re using React or another library, Create React App + lets you focus on code, not build tools.

- To create a project called my - app , run this command:{' '} -

{' '} + To create a project called my-app, run this command: +

- npx create - react - app my - app{' '} - {' '} + npx create-react-app my-app +
-
{' '} +
Easy to get started in seconds{' '} -
{' '} -
{' '} -
{' '} -
{' '} + /> + + + +
Easy to update{' '} -
{' '} + src={ useBaseUrl('img/update.png') } + /> +
-

Easy to Maintain

{' '} +

Easy to Maintain

- Updating your build tooling is typically a daunting and time - - consuming task.When new versions of Create React App are + Updating your build tooling is typically a daunting and + time-consuming task. When new versions of Create React App are released, you can upgrade using a single command: -

{' '} +

- npm install react - scripts @latest{' '} - {' '} -
{' '} -
{' '} -
{' '} - {' '} + npm install react-scripts@latest + + + + +
); }