aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/components/base/Slider.astro
diff options
context:
space:
mode:
Diffstat (limited to 'apps/website/src/components/base/Slider.astro')
-rw-r--r--apps/website/src/components/base/Slider.astro13
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>