Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuko1101 committed May 7, 2023
1 parent f51fdb4 commit 02c04b4
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const config = {
},
{
label: 'Pull requests',
href: 'https://github.com/yuko1101/enka-network-api/pulls',
href: 'https://github.com/yuko1101/starrail.js/pulls',
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions docs/src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import clsx from 'clsx';
import styles from './styles.module.css';

// TODO: Add images
import codeImage from '../../../static/img/code.png';
import simpleCodeImage from '../../../static/img/simple-code.png';
import autocompleteImage from '../../../static/img/autocomplete.png';
import datalistImage from '../../../static/img/datalist.png';

const FeatureList = [
{
title: 'Easy to Use',
img: codeImage,
img: simpleCodeImage,
description: (
<>
This package is very simple to use.
Expand Down Expand Up @@ -41,7 +41,7 @@ const FeatureList = [
}
];

function Feature({ Svg, title, description }) {
function Feature({ img, title, description }) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
Expand Down
30 changes: 15 additions & 15 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-color-primary: #f9a527;
--ifm-color-primary-dark: #fea725;
--ifm-color-primary-darker: #f48d0f;
--ifm-color-primary-darkest: #e36a00;
--ifm-color-primary-light: #ffbf2a;
--ifm-color-primary-lighter: #ffd940;
--ifm-color-primary-lightest: #ffe223;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* 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;
--ifm-color-primary: #f9a527;
--ifm-color-primary-dark: #fea725;
--ifm-color-primary-darker: #f48d0f;
--ifm-color-primary-darkest: #e36a00;
--ifm-color-primary-light: #ffbf2a;
--ifm-color-primary-lighter: #ffd940;
--ifm-color-primary-lightest: #ffe223;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
}
Binary file added docs/static/img/autocomplete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/img/datalist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/img/simple-code.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 02c04b4

Please sign in to comment.