chore(ComparisonSlider): add comments and remove unused code

This commit is contained in:
Ilia Mashkov
2026-01-26 12:46:12 +03:00
parent 67db6e22a7
commit 1484ea024e

View File

@@ -1,8 +1,18 @@
<!--
Component: SliderLine
Visual representation of the slider line.
-->
<script lang="ts">
import { cn } from '$shared/shadcn/utils/shadcn-utils';
interface Props {
/**
* Position of the slider
*/
sliderPos: number;
/**
* Whether the slider is being dragged
*/
isDragging: boolean;
}
let { sliderPos, isDragging }: Props = $props();
@@ -44,12 +54,3 @@ let { sliderPos, isDragging }: Props = $props();
<div class="w-3 h-3 bg-indigo-500 rounded-full shadow-lg ring-2 ring-white"></div>
</div>
</div>
<!--
<style>
div {
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
</style>
-->