import type { ReactNode } from 'react'
import { twMerge } from 'tailwind-merge'
import { LogosMark } from '@acid-info/logos-ui'
import { Link } from '@/i18n/navigation'
type StackCardProps = {
label: ReactNode
href: string
className?: string
labelClassName?: string
}
export function StackCard({
label,
href,
className,
labelClassName,
}: StackCardProps) {
return (
{label}
)
}
type StackRowProps = {
children: ReactNode
href?: string
className?: string
labelClassName?: string
}
export function StackRow({
children,
href,
className,
labelClassName,
}: StackRowProps) {
const containerClasses = twMerge(
'flex items-center justify-center rounded-3xl border px-6 text-center transition-colors',
href && 'cursor-pointer',
className
)
const content = (
{children}
)
if (href) {
return (
{content}
)
}
return
{content}
}