import { businessConfig } from "@/lib/seo-config" import { Phone, Mail, Globe } from "lucide-react" interface NAPDataProps { variant?: "inline" | "vertical" | "compact" showIcons?: boolean className?: string } /** * NAP (Name, Address, Phone) Data Component * Displays consistent business contact information with microdata markup * Service-only business (no physical address) */ export function NAPData({ variant = "vertical", showIcons = true, className = "", }: NAPDataProps) { const baseClasses = variant === "inline" ? "flex flex-wrap items-center gap-4" : "flex flex-col gap-2" return (
{/* Phone */}
{showIcons && } {businessConfig.phone}
{/* Email */}
{showIcons && } {businessConfig.email}
{/* Website */}
) } /** * Compact NAP display for headers/footers */ export function NAPDataCompact({ className = "" }: { className?: string }) { return (
{businessConfig.phone} {businessConfig.email}
) }