From 53ce28a960cc929efc4ead964d79c1b0a67f5d57 Mon Sep 17 00:00:00 2001 From: Tyler Flowers Date: Thu, 21 Dec 2023 02:48:08 -0500 Subject: Clean up Slider --- apps/website/src/components/base/Slider.astro | 66 ++++++++++++++++++--------- 1 file changed, 44 insertions(+), 22 deletions(-) (limited to 'apps/website/src/components') diff --git a/apps/website/src/components/base/Slider.astro b/apps/website/src/components/base/Slider.astro index 95ffd05..ae4bbae 100644 --- a/apps/website/src/components/base/Slider.astro +++ b/apps/website/src/components/base/Slider.astro @@ -4,45 +4,67 @@ import type { HTMLAttributes } from 'astro/types'; interface Props extends HTMLAttributes<'div'> { dir?: string wrapperClass?: string + childrenNum: number + childrenSize?: string + speed?: string } const { dir = 'left', wrapperClass = '', + childrenNum, + childrenSize = '256px', + speed = '15s', } = Astro.props; + ---
- +
+ + +
- - -- cgit