import React from 'react'; import Link from 'next/link'; interface LogoProps { src?: string | null; storeName?: string; href?: string | null; imageClassName?: string; textClassName?: string; } const Logo: React.FC = ({ src, storeName = 'Shop', href = '/', imageClassName = 'h-6', textClassName = 'text-xl', }) => { const mark = src ? ( {storeName} ) : ( {storeName} ); if (href === null) { return {mark}; } return ( {mark} ); }; export default Logo;