import React from 'react';

interface SvgTextLogoProps {
  text: string;
  className?: string;
}

const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
  return (
    <svg
      viewBox="0 0 200 50"
      className={className}
      role="img"
      aria-label={text}
    >
      <text
        x="100"
        y="25"
        textAnchor="middle"
        dominantBaseline="central"
        className="text-xl font-bold fill-current"
      >
        {text}
      </text>
    </svg>
  );
};

export default SvgTextLogo;
