diff options
author | Pauline <git@ethanlibs.co> | 2023-12-20 01:58:22 -0500 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-12-20 01:58:22 -0500 |
commit | 8e85be96a154b371b4cf1fb1924155d96150f949 (patch) | |
tree | 22edab0f259bbdba76d1c8fb790ff2c6cf65db60 /apps/website/src/components/base/Slider.astro | |
parent | 64537e64852193cb735ee4853c0f8d07a5222030 (diff) | |
download | Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.gz Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.bz2 Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.zip |
chore(lint): bump deps and fix linting/format
Diffstat (limited to 'apps/website/src/components/base/Slider.astro')
-rw-r--r-- | apps/website/src/components/base/Slider.astro | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/website/src/components/base/Slider.astro b/apps/website/src/components/base/Slider.astro index c1b32d1..95ffd05 100644 --- a/apps/website/src/components/base/Slider.astro +++ b/apps/website/src/components/base/Slider.astro @@ -2,20 +2,21 @@ import type { HTMLAttributes } from 'astro/types'; interface Props extends HTMLAttributes<'div'> { - dir?: string; - wrapperClass?: string; + dir?: string + wrapperClass?: string } const { - dir = "left", - wrapperClass = "" + dir = 'left', + wrapperClass = '', } = Astro.props; --- <div class={ `w-full bg-blue-100 flex flex-row gap-2.5 overflow-hidden slider - ${dir === "right" ? "reverse" : ""} - ${wrapperClass}`}> + ${dir === 'right' ? 'reverse' : ''} + ${wrapperClass}` +}> <slot /> </div> |