diff options
Diffstat (limited to 'docs/src/pages')
-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; |