From fea7a270294e34deb761a7b5ee622e94ae31f0df Mon Sep 17 00:00:00 2001 From: hashrock Date: Mon, 7 Nov 2022 22:24:32 +0900 Subject: [PATCH] add Fresh Components (#872) --- www/components/DocsHeader.tsx | 4 +- www/components/DocsTitle.tsx | 4 +- www/components/NavigationBar.tsx | 4 + www/components/gallery/Background.tsx | 11 +++ www/components/gallery/Button.tsx | 14 +++ www/components/gallery/CodeBox.tsx | 43 +++++++++ www/components/gallery/ColoredButton.tsx | 14 +++ www/components/gallery/Footer.tsx | 76 +++++++++++++++ www/components/gallery/Header.tsx | 35 +++++++ www/components/gallery/Input.tsx | 14 +++ www/components/gallery/LinkButton.tsx | 14 +++ www/fresh.gen.ts | 40 ++++---- www/islands/ComponentGallery.tsx | 105 +++++++++++++++++++++ www/routes/components.tsx | 80 ++++++++++++++++ www/routes/docs/[...slug].tsx | 4 +- www/routes/showcase.tsx | 2 +- www/static/gallery/banner-chart.png | Bin 0 -> 71508 bytes www/static/gallery/banner-tabler-icons.png | Bin 0 -> 44125 bytes www/static/gallery/grid.svg | 11 +++ 19 files changed, 450 insertions(+), 25 deletions(-) create mode 100644 www/components/gallery/Background.tsx create mode 100644 www/components/gallery/Button.tsx create mode 100644 www/components/gallery/CodeBox.tsx create mode 100644 www/components/gallery/ColoredButton.tsx create mode 100644 www/components/gallery/Footer.tsx create mode 100644 www/components/gallery/Header.tsx create mode 100644 www/components/gallery/Input.tsx create mode 100644 www/components/gallery/LinkButton.tsx create mode 100644 www/islands/ComponentGallery.tsx create mode 100644 www/routes/components.tsx create mode 100644 www/static/gallery/banner-chart.png create mode 100644 www/static/gallery/banner-tabler-icons.png create mode 100644 www/static/gallery/grid.svg diff --git a/www/components/DocsHeader.tsx b/www/components/DocsHeader.tsx index 9e5fd45f..3bd65fba 100644 --- a/www/components/DocsHeader.tsx +++ b/www/components/DocsHeader.tsx @@ -1,13 +1,13 @@ import DocsTitle from "./DocsTitle.tsx"; -export default function DocsHeader() { +export default function DocsHeader(props: { title: string }) { return (
- +