diff options
author | Carey <kcarey1@APC02S226SG8WM.local> | 2020-10-28 07:40:54 -0500 |
---|---|---|
committer | Carey <kcarey1@APC02S226SG8WM.local> | 2020-10-28 07:40:54 -0500 |
commit | 99ad9cbdefee94007511ec2e53437951cf0e4305 (patch) | |
tree | 168c9886965ad5e5f36f4fbbad55cd5f70c5124e /docs/src | |
parent | 6aae66782682ffcabf953d785308b83ee16fc3b6 (diff) | |
parent | cb922fd8a2a3eddcbece040ca3727d43b171ffe3 (diff) |
Merge https://github.com/zmkfirmware/zmk into refactor_kconfig
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/pages/index.js | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index 1b1fc65..7019e57 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -5,6 +5,7 @@ import Link from "@docusaurus/Link"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import useBaseUrl from "@docusaurus/useBaseUrl"; import styles from "./styles.module.css"; +import PropTypes from "prop-types"; const features = [ { @@ -12,7 +13,8 @@ const features = [ imageUrl: "img/undraw_zephyr.svg", description: ( <> - With a wide range of architecture support, ZMK is ready for many existing keyboards. + With a wide range of architecture support, ZMK is ready for many + existing keyboards. </> ), }, @@ -20,19 +22,13 @@ const features = [ title: <>Permissive Licensing</>, imageUrl: "img/undraw_open_source.svg", description: ( - <> - MIT licensed to remove any future limitations in innovation. - </> + <>MIT licensed to remove any future limitations in innovation.</> ), }, { title: <>Wireless First</>, imageUrl: "img/undraw_wireless.svg", - description: ( - <> - Designed for the future, including wireless support. - </> - ), + description: <>Designed for the future, including wireless support.</>, }, ]; @@ -51,6 +47,12 @@ function Feature({ imageUrl, title, description }) { ); } +Feature.propTypes = { + imageUrl: PropTypes.string.isRequired, + title: PropTypes.string.isRequired, + description: PropTypes.string.isRequired, +}; + function Home() { const context = useDocusaurusContext(); const { siteConfig = {} } = context; |