mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 01:15:49 +10:00
chore: add what's new label
This commit is contained in:
@@ -9,16 +9,6 @@ import { Card } from '@documenso/ui/primitives/card';
|
|||||||
|
|
||||||
import { Thumb } from './thumb';
|
import { Thumb } from './thumb';
|
||||||
|
|
||||||
type SlideType = {
|
|
||||||
label: string;
|
|
||||||
imageSrc: string;
|
|
||||||
type: 'image' | 'video';
|
|
||||||
};
|
|
||||||
|
|
||||||
type CarouselPropType = {
|
|
||||||
slides: SlideType[];
|
|
||||||
};
|
|
||||||
|
|
||||||
const SLIDES = [
|
const SLIDES = [
|
||||||
{
|
{
|
||||||
label: 'Signing Process',
|
label: 'Signing Process',
|
||||||
@@ -163,7 +153,11 @@ export const Carousel = () => {
|
|||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<div className="mx-auto mt-12 max-w-4xl px-2">
|
<div className="mx-auto mt-12 max-w-4xl px-2">
|
||||||
<div className="flex justify-between" ref={emblaThumbsRef}>
|
<div className="bg-muted-foreground/10 text-foreground inline-block rounded-xl px-3 py-2 text-sm">
|
||||||
|
What's new
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="mt-2 flex justify-between" ref={emblaThumbsRef}>
|
||||||
{slides.map((slide, index) => (
|
{slides.map((slide, index) => (
|
||||||
<Thumb
|
<Thumb
|
||||||
key={index}
|
key={index}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export const Thumb: React.FC<PropType> = (props) => {
|
|||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
type="button"
|
type="button"
|
||||||
className={cn('text-muted-foreground border-b-2 border-transparent py-4', {
|
className={cn('text-muted-foreground border-b-2 border-transparent py-4', {
|
||||||
'border-primary border-b-2 text-neutral-900': selected,
|
'border-primary text-foreground border-b-2': selected,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{label}
|
{label}
|
||||||
|
|||||||
Reference in New Issue
Block a user