Skip to content

Commit

Permalink
Bump docusaurus 🦖 (facebook#7874)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriijas authored Oct 24, 2019
1 parent 1d03579 commit a51729c
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 636 deletions.
8 changes: 4 additions & 4 deletions docusaurus/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"deploy": "docusaurus deploy"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.26",
"@docusaurus/preset-classic": "^2.0.0-alpha.26",
"@docusaurus/core": "^2.0.0-alpha.30",
"@docusaurus/preset-classic": "^2.0.0-alpha.30",
"classnames": "^2.2.6",
"react": "^16.10.2",
"react-dom": "^16.10.2"
"react": "^16.11.0",
"react-dom": "^16.11.0"
},
"browserslist": {
"production": [
Expand Down
8 changes: 4 additions & 4 deletions docusaurus/website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import React from 'react';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import withBaseUrl from '@docusaurus/withBaseUrl';
import useBaseUrl from '@docusaurus/useBaseUrl';

import Layout from '@theme/Layout';
import CodeBlock from '@theme/CodeBlock';
Expand Down Expand Up @@ -48,14 +48,14 @@ function Home() {
<div className="container">
<img
className={classnames(styles.heroBannerLogo, 'margin-vert--md')}
src={withBaseUrl('img/logo.svg')}
src={useBaseUrl('img/logo.svg')}
/>
<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={withBaseUrl('docs/getting-started')}
to={useBaseUrl('docs/getting-started')}
>
Get Started
</Link>
Expand Down Expand Up @@ -115,7 +115,7 @@ function Home() {
<img
className={styles.featureImage}
alt={'Easy to update'}
src={withBaseUrl('img/update.png')}
src={useBaseUrl('img/update.png')}
/>
</div>
<div className="col col--5 col--offset-1">
Expand Down
Loading

0 comments on commit a51729c

Please sign in to comment.