'use client'; import * as React from 'react'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import { cn } from '@/lib/utils'; import clsx from 'clsx'; import { GlowBg } from '@/components/shared/ui/glow-bg'; interface LandingProductTourProps extends React.ComponentPropsWithoutRef { className?: string; title?: string; titleComponent?: React.ReactNode; description?: string | React.ReactNode; descriptionComponent?: React.ReactNode; withBackground?: boolean; withBackgroundGlow?: boolean; variant?: 'primary' | 'secondary'; backgroundGlowVariant?: 'primary' | 'secondary'; } const LandingProductTourSection = React.forwardRef< React.ElementRef, LandingProductTourProps >( ( { className, title, titleComponent, description, descriptionComponent, withBackground = false, withBackgroundGlow = false, variant = 'primary', backgroundGlowVariant = 'primary', ...props }, ref, ) => (
{withBackgroundGlow ? (
) : null}
{title ? (

{title}

) : ( titleComponent )} {description ? (

{description}

) : ( descriptionComponent )}
), ); LandingProductTourSection.displayName = 'LandingProductTourSection'; const LandingProductTour = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); LandingProductTour.displayName = TabsPrimitive.Root.displayName; const LandingProductTourList = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); LandingProductTourList.displayName = TabsPrimitive.List.displayName; const LandingProductTourTrigger = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); LandingProductTourTrigger.displayName = TabsPrimitive.Trigger.displayName; const LandingProductTourContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); LandingProductTourContent.displayName = TabsPrimitive.Content.displayName; export { LandingProductTourSection, LandingProductTour, LandingProductTourList, LandingProductTourTrigger, LandingProductTourContent, };