Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the bad request url at banner #13674

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 40 additions & 40 deletions docusaurus/website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,62 +50,62 @@ function Home() {
className={clsx(styles.heroBannerLogo, 'margin-vert--md')}
alt="Create React App logo"
src={useBaseUrl('img/logo.svg')}
/>
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
/>{' '}
<h1 className="hero__title"> {siteConfig.title} </h1>{' '}
<p className="hero__subtitle"> {siteConfig.tagline} </p>{' '}
<div className={styles.getStarted}>
<Link
className="button button--outline button--primary button--lg"
to={useBaseUrl('docs/getting-started')}
>
Get Started
</Link>
</div>
</div>
</div>
Get Started{' '}
</Link>{' '}
</div>{' '}
</div>{' '}
</div>{' '}
{features && features.length && (
<div className={styles.features}>
<div className="container">
<div className="row">
{' '}
{features.map(({ title, content }, idx) => (
<div key={idx} className={clsx('col col--4', styles.feature)}>
<h2>{title}</h2>
<p>{content}</p>
<h2> {title} </h2> <p> {content} </p>{' '}
</div>
))}
</div>
</div>
))}{' '}
</div>{' '}
</div>{' '}
</div>
)}
)}{' '}
<div className={styles.gettingStartedSection}>
<div className="container padding-vert--xl text--left">
<div className="row">
<div className="col col--4 col--offset-1">
<h2>Get started in seconds</h2>
<h2> Get started in seconds </h2>{' '}
<p>
Whether you’re using React or another library, Create React App
lets you <strong>focus on code, not build tools</strong>.
Whether you’ re using React or another library, Create React App
lets you <strong> focus on code, not build tools </strong>.{' '}
<br />
<br />
To create a project called <i>my-app</i>, run this command:
</p>
To create a project called <i> my - app </i>, run this command:{' '}
</p>{' '}
<CodeBlock className="language-sh">
npx create-react-app my-app
</CodeBlock>
npx create - react - app my - app{' '}
</CodeBlock>{' '}
<br />
</div>
</div>{' '}
<div className="col col--5 col--offset-1">
<img
className={styles.featureImage}
alt="Easy to get started in seconds"
src={
'https://camo.githubusercontent.com/29765c4a32f03bd01d44edef1cd674225e3c906b/68747470733a2f2f63646e2e7261776769742e636f6d2f66616365626f6f6b2f6372656174652d72656163742d6170702f323762343261632f73637265656e636173742e737667'
'https://cdn.jsdelivr.net/gh/facebook/create-react-app@27b42ac/screencast.svg'
}
/>
</div>
</div>
</div>
</div>
/>{' '}
</div>{' '}
</div>{' '}
</div>{' '}
</div>{' '}
<div>
<div className="container padding-vert--xl text--left">
<div className="row">
Expand All @@ -114,22 +114,22 @@ function Home() {
className={styles.featureImage}
alt="Easy to update"
src={useBaseUrl('img/update.png')}
/>
</div>
/>{' '}
</div>{' '}
<div className="col col--5 col--offset-1">
<h2>Easy to Maintain</h2>
<h2> Easy to Maintain </h2>{' '}
<p>
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:
</p>
</p>{' '}
<CodeBlock className="language-sh">
npm install react-scripts@latest
</CodeBlock>
</div>
</div>
</div>
</div>
npm install react - scripts @latest{' '}
</CodeBlock>{' '}
</div>{' '}
</div>{' '}
</div>{' '}
</div>{' '}
</Layout>
);
}
Expand Down