From 04f3b010d47f84fd04de1ec93d68491e67848898 Mon Sep 17 00:00:00 2001 From: Conner Davis Date: Wed, 4 May 2022 18:21:31 -0700 Subject: [PATCH 1/2] fix(docs): Update `README` Components links to new URL pattern We don't use `HashRouter` anymore, so the links no longer begin with `#`. Also adds anchors to the `Forms` page for each of the components listed (radio, checkbox, and so forth). --- README.md | 84 ++++++++++++++++++------------------ src/docs/pages/FormsPage.tsx | 12 +++--- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 1d4baedb8..6f8533e5b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

:construction: flowbite-react (unreleased) :construction:

- + Flowbite - Tailwind CSS components

@@ -18,7 +18,7 @@ Latest release - + Licenese

@@ -50,7 +50,7 @@ Documentation for `flowbite-react` is not yet finished. If you want to browse the components, visit [flowbite-react.com](https://flowbite-react.com/). -If you want to learn more about Flowbite, visit [Flowbite docs](https://flowbite.comhttps://flowbite.com/docs/getting-started/introduction/). +If you want to learn more about Flowbite, visit [Flowbite docs](https://flowbite-react.comhttps://flowbite-react.com/getting-started/introduction/). ## Getting started @@ -86,17 +86,17 @@ module.exports = { - + Tailwind CSS Alerts - + Tailwind CSS Badge - + Tailwind CSS Breadcrumbs @@ -108,17 +108,17 @@ module.exports = { - + Tailwind CSS Buttons - + Tailwind CSS Button Group - + Tailwind CSS Cards @@ -130,17 +130,17 @@ module.exports = { - + Tailwind CSS Dropdown - + Tailwind CSS Forms - + Tailwind CSS List group @@ -152,17 +152,17 @@ module.exports = { - + Tailwind CSS Typography - + Tailwind CSS Modal - + Tailwind CSS Tabs @@ -174,17 +174,17 @@ module.exports = { - + Tailwind CSS Navbar - + Tailwind CSS Pagination - + Tailwind CSS Timeline @@ -196,17 +196,17 @@ module.exports = { - + Tailwind CSS Progress Bar - + Tailwind CSS Tables - + Tailwind CSS Toast @@ -218,17 +218,17 @@ module.exports = { - + Tailwind CSS Tooltips - + Tailwind CSS Datepicker - + Tailwind CSS Spinner @@ -240,17 +240,17 @@ module.exports = { - + Tailwind CSS Footer - + Tailwind CSS Accordion - + Tailwind CSS Sidebar @@ -262,17 +262,17 @@ module.exports = { - + Tailwind CSS Carousel - + Tailwind CSS Avatar - + Tailwind CSS Rating @@ -284,17 +284,17 @@ module.exports = { - + Tailwind CSS Input Field - + Tailwind CSS File Input - + Tailwind CSS Search Input @@ -306,17 +306,17 @@ module.exports = { - + Tailwind CSS Select - + Tailwind CSS Textarea - + Tailwind CSS Checkbox @@ -328,17 +328,17 @@ module.exports = { - + Tailwind CSS Radio - + Tailwind CSS Toggle - + Tailwind CSS Range Slider @@ -348,7 +348,7 @@ module.exports = { - + Tailwind CSS Floating Label @@ -373,10 +373,10 @@ Thank you for your interest in helping! Visit our [guide on contributing](https: If you need the Figma files for the components you can check out our website for more information: -🎨 [Get access to the Figma design files](https://flowbite.com/figma/) +🎨 [Get access to the Figma design files](https://flowbite-react.com/figma/) ## Copyright and license The Flowbite name and logos are trademarks of Crafty Dwarf Inc. -📝 [Read about the licensing terms](https://flowbite.com/docs/getting-started/license/) +📝 [Read about the licensing terms](https://flowbite-react.com/getting-started/license/) diff --git a/src/docs/pages/FormsPage.tsx b/src/docs/pages/FormsPage.tsx index 4f02670e9..e35fc2f70 100644 --- a/src/docs/pages/FormsPage.tsx +++ b/src/docs/pages/FormsPage.tsx @@ -188,7 +188,7 @@ const FormsPage: FC = () => { { title: 'Textarea', code: ( -
+
@@ -199,7 +199,7 @@ const FormsPage: FC = () => { { title: 'Select input', code: ( -
+
@@ -215,7 +215,7 @@ const FormsPage: FC = () => { { title: 'Checkbox', code: ( -
+