Skip to content

Commit f821d4d

Browse files
committed
update documentation
1 parent 51870d9 commit f821d4d

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ jobs:
5151
git config --global user.name "gh-actions"
5252
cd documentation
5353
yarn install --frozen-lockfile
54+
rm -rf .docusaurus/
5455
yarn build
5556
yarn deploy

documentation/src/components/HomepageFeatures.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
import React from 'react';
22
import styles from './HomepageFeatures.module.css';
33
import useBaseUrl from '@docusaurus/useBaseUrl';
4+
import clsx from 'clsx'
45

56
export default function HomepageFeatures() {
67
return (
78
<>
89
<h1 className="text--center text--primary">What's in the Box ? 📦</h1>
910
<section>
1011
<div className="container">
11-
<div className={styles.featuresRow}>
12-
<div className="col--6">
12+
<div className={clsx('row row--align-center featureRow')}>
13+
<div className={clsx('col col--6 text--right')}>
1314
<img src={useBaseUrl('/img/Red.png')} alt="mockups" className={styles.mockups}/>
1415
</div>
15-
<div className="col--6">
16+
<div className={clsx('col col--6 ')}>
1617
<ul className="features">
1718
<li className="text--bold text--secondary text--uppercase text"><h3>Internationalization 🌍</h3></li>
1819
<li className="text--bold text--secondary text--uppercase"><h3>Dark mode and multi-theming 🌗 </h3></li>

documentation/src/pages/index.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ function HomepageHeader() {
2323
<div className="container">
2424
<h1 className="hero__title">{siteConfig.title}</h1>
2525
<p className="hero__subtitle">{siteConfig.tagline}</p>
26-
<div className={styles.buttons}>
27-
<Link
28-
className="button button--lg"
29-
to="/docs/Introduction">
30-
Getting started 🚀
31-
</Link>
32-
</div>
26+
<Link
27+
className="button button--outline button--lg"
28+
to="/docs/Introduction">
29+
Getting started 🚀
30+
</Link>
3331
</div>
3432
</header>
3533
);

documentation/src/pages/index.module.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,3 @@
1717
padding: 2rem;
1818
}
1919
}
20-
21-
.buttons {
22-
display: flex;
23-
align-items: center;
24-
justify-content: center;
25-
}
26-
27-
.getStartedButton {
28-
--ifm-button-color: var(--ifm-heading-color);
29-
}

0 commit comments

Comments
 (0)