import React from 'react' import { Link } from 'react-router-dom' type Variant = 'copper' | 'outline' | 'dark' | 'dark-ivory' type BaseProps = { children: React.ReactNode variant?: Variant className?: string } const STYLES: Record = { copper: { base: 'bg-copper text-char', fill: 'bg-char', text: 'group-hover:text-ivory', }, outline: { base: 'border border-ivory/30 text-ivory', fill: 'bg-copper', text: 'group-hover:text-char', }, dark: { base: 'bg-char text-ivory', fill: 'bg-copper', text: 'group-hover:text-char', }, 'dark-ivory': { base: 'bg-char text-ivory', fill: 'bg-ivory', text: 'group-hover:text-char', }, } function Inner({ children, variant = 'copper' }: { children: React.ReactNode; variant?: Variant }) { const style = STYLES[variant] return ( <>