import { businessConfig } from "@/lib/seo-config" import { Card, CardContent } from "@/components/ui/card" interface AuthorBioProps { className?: string showSchema?: boolean } /** * Author Bio Component * Displays business expertise and credentials for E-E-A-T signals * Includes Person schema for author information */ export function AuthorBio({ className = "", showSchema = true }: AuthorBioProps) { // Years in business calculation const foundingYear = new Date(businessConfig.openingDate).getFullYear() const currentYear = new Date().getFullYear() const yearsInBusiness = currentYear - foundingYear // Person schema for author/owner const personSchema = showSchema ? { "@context": "https://schema.org", "@type": "Person", name: businessConfig.name, jobTitle: "Vending Machine Supplier & Service Provider", worksFor: { "@type": "Organization", name: businessConfig.name, }, knowsAbout: [ "Vending Machine Installation", "Vending Machine Repair", "Vending Machine Sales", "Vending Machine Service", "Local Business Solutions", ], } : null return ( <> {showSchema && personSchema && (