Skip to content

Commit

Permalink
Updated landing page (docs) (#224)
Browse files Browse the repository at this point in the history
* Added medium-logo

* Updated colors
  • Loading branch information
adimiko authored May 23, 2024
1 parent be48ea1 commit c700ea5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
26 changes: 13 additions & 13 deletions documentation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions documentation/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-color-primary: #5575be;
--ifm-color-primary-dark: #4466b3;
--ifm-color-primary-darker: #4160a9;
--ifm-color-primary-darkest: #354f8b;
--ifm-color-primary-light: #6985c6;
--ifm-color-primary-lighter: #738dc9;
--ifm-color-primary-lightest: #91a5d5;
}
4 changes: 4 additions & 0 deletions documentation/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';

import Heading from '@theme/Heading';
import styles from './index.module.css';
import logo from '@site/static/img/medium-logo.png';

function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>

<div className="container">
<img src={logo} className="App-logo" alt="logo" />
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
Expand All @@ -22,6 +25,7 @@ function HomepageHeader() {
to="/docs/introduction">
Documentation
</Link>

</div>
</div>
</header>
Expand Down
Binary file added documentation/static/img/medium-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c700ea5

Please sign in to comment.