Skip to content

Commit

Permalink
Center the rabbit (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl authored Sep 8, 2021
1 parent 08a5f06 commit 10e884d
Showing 2 changed files with 14 additions and 17 deletions.
5 changes: 1 addition & 4 deletions website/.prettierrc
Original file line number Diff line number Diff line change
@@ -8,8 +8,5 @@
"parser": "typescript"
}
}
],
"proseWrap": "preserve",
"tabWidth": 4,
"printWidth": 80
]
}
26 changes: 13 additions & 13 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -16,16 +16,18 @@ const features = [
// imageUrl: 'img/undraw_docusaurus_mountain.svg',
description: (
<>
Rapid provides a fast and robust approach for building your REST-based APIs
Rapid provides a fast and robust approach for building your REST-based
APIs
</>
),
},
{
title: <>Focus on What Matters</>,
// imageUrl: 'img/undraw_docusaurus_tree.svg',
// imageUrl: 'img/undraw_docusaurus_tree.svg',
description: (
<>
Rapid allows you to focus on your API's resource model and rely on well-established conventions for the nitty-gritty details
Rapid allows you to focus on your API's resource model and rely on
well-established conventions for the nitty-gritty details
</>
),
},
@@ -41,7 +43,7 @@ const features = [
},
];

function Feature({imageUrl, title, description}) {
function Feature({ imageUrl, title, description }) {
const imgUrl = useBaseUrl(imageUrl);
return (
<div className={classnames('col col--4', styles.feature)}>
@@ -58,32 +60,31 @@ function Feature({imageUrl, title, description}) {

function Home() {
const context = useDocusaurusContext();
const {siteConfig = {}} = context;
const { siteConfig = {} } = context;
return (
<Layout
title={`${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
description="Description will go into a meta tag in <head />"
>
<header className={classnames('hero hero--primary', styles.heroBanner)}>
<div className="container">
<div className="row">
<div className={classnames('col col--5 col--offset-1')}>
<div className={classnames('col')}>
{/* <h1 className="hero__title">{siteConfig.title}</h1> */}
<RabbitSvg/>
<RabbitSvg />
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className={classnames(
'button button--outline button--secondary button--lg',
styles.getStarted,
)}
to={useBaseUrl('docs/')}>
to={useBaseUrl('docs/')}
>
Get Started
</Link>
</div>
</div>
<div className={classnames('col col--5')}>

</div>
</div>
</div>
</header>
@@ -107,4 +108,3 @@ function Home() {
// setTimeout(animateRapidSpaceMan, 1000)

export default Home;

0 comments on commit 10e884d

Please sign in to comment.