From f44df8e63a1e0d9988f739ed813936f29ebf7d02 Mon Sep 17 00:00:00 2001 From: Lars van Vianen Date: Sun, 25 Aug 2024 07:36:05 +0200 Subject: [PATCH] Create AppGuides.tsx --- src/components/AppGuides.tsx | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/components/AppGuides.tsx diff --git a/src/components/AppGuides.tsx b/src/components/AppGuides.tsx new file mode 100644 index 0000000..b18b089 --- /dev/null +++ b/src/components/AppGuides.tsx @@ -0,0 +1,57 @@ +const TWBS_DOCS_URL = "https://getbootstrap.com/docs/5.3"; + +const GUIDES = [ + { + url: `${TWBS_DOCS_URL}/getting-started/introduction/`, + title: "Stylescape quick start guide", + }, + { + url: `${TWBS_DOCS_URL}/getting-started/webpack/`, + title: "Stylescape Webpack guide", + }, + { + url: `${TWBS_DOCS_URL}/getting-started/parcel/`, + title: "Stylescape Parcel guide", + }, + { + url: `${TWBS_DOCS_URL}/getting-started/vite/`, + title: "Stylescape Vite guide", + }, + { + url: `${TWBS_DOCS_URL}/getting-started/contribute/`, + title: "Contributing to Stylescape", + }, +]; + +const AppGuides: React.FC = () => { + return ( + <> +

Guides

+

+ Read more detailed instructions and documentation on using or + contributing to Stylescape. +

+ {GUIDES.map((guide) => { + return ( +
  • + + + + + {guide.title} + +
  • + ); + })} + + ); +}; + +export default AppGuides;