feat: replace signup widget with carousel

This commit is contained in:
Ephraim Atta-Duncan
2024-05-23 10:09:36 +00:00
parent 7da5535667
commit 7fdda0a840
8 changed files with 5784 additions and 1061 deletions

View File

@ -0,0 +1,26 @@
import React from 'react';
import { cn } from '@documenso/ui/lib/utils';
type PropType = {
selected: boolean;
index: number;
onClick: () => void;
label: string;
};
export const Thumb: React.FC<PropType> = (props) => {
const { selected, label, onClick } = props;
return (
<button
onClick={onClick}
type="button"
className={cn('text-muted-foreground border-b-2 border-transparent py-4', {
'border-primary border-b-2 text-neutral-900': selected,
})}
>
{label}
</button>
);
};