From 14a64cb7e5d7be60f7d4aaf5515dd99a5fe589a5 Mon Sep 17 00:00:00 2001 From: "Steve St.Pierre" Date: Sat, 28 Sep 2024 12:17:28 -0400 Subject: [PATCH] Add TailwindCSS to stack carousel --- .../StackCarousel/StackCarousel.tsx | 7 ++++ .../logos/TailwindLogo/TailwindLogo.tsx | 34 +++++++++++++++++++ .../components/logos/TailwindLogo/index.ts | 1 + 3 files changed, 42 insertions(+) create mode 100644 packages/web/components/logos/TailwindLogo/TailwindLogo.tsx create mode 100644 packages/web/components/logos/TailwindLogo/index.ts diff --git a/packages/web/components/StackCarousel/StackCarousel.tsx b/packages/web/components/StackCarousel/StackCarousel.tsx index 9b62280..80030cc 100644 --- a/packages/web/components/StackCarousel/StackCarousel.tsx +++ b/packages/web/components/StackCarousel/StackCarousel.tsx @@ -20,6 +20,7 @@ import StyledComponentsLogo from '../logos/StyledComponentsLogo'; import DockerLogo from '../logos/DockerLogo'; import GraphqlLogo from '../logos/GraphqlLogo'; import PrettierLogo from '../logos/PrettierLogo'; +import TailwindLogo from '../logos/TailwindLogo/TailwindLogo'; const StackCarousel = () => { const { theme } = useTheme(); @@ -98,6 +99,12 @@ const StackCarousel = () => {
  • +
  • + + + TailwindCSS + +
  • ); }; diff --git a/packages/web/components/logos/TailwindLogo/TailwindLogo.tsx b/packages/web/components/logos/TailwindLogo/TailwindLogo.tsx new file mode 100644 index 0000000..24427b4 --- /dev/null +++ b/packages/web/components/logos/TailwindLogo/TailwindLogo.tsx @@ -0,0 +1,34 @@ +interface Props { + className?: string; + size?: number; +} + +const TailwindLogo = ({ className, size = 96 }: Props) => { + return ( + + TailwindCSS + + + + + + + + + + ); +}; + +export default TailwindLogo; diff --git a/packages/web/components/logos/TailwindLogo/index.ts b/packages/web/components/logos/TailwindLogo/index.ts new file mode 100644 index 0000000..d329bc8 --- /dev/null +++ b/packages/web/components/logos/TailwindLogo/index.ts @@ -0,0 +1 @@ +export { default } from './TailwindLogo'; \ No newline at end of file