Merge version_1 into main #2

Merged
bender merged 1 commits from version_1 into main 2026-03-12 20:10:48 +00:00

View File

@@ -1,6 +1,6 @@
import React from 'react';
import React, { SVGAttributes } from 'react';
interface SvgTextLogoProps {
interface SvgTextLogoProps extends SVGAttributes<SVGSVGElement> {
text: string;
className?: string;
fontSize?: number;
@@ -16,12 +16,14 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
fontWeight = 700,
letterSpacing = 2,
dominantBaseline = 'middle',
...svgProps
}) => {
return (
<svg
viewBox={`0 0 ${text.length * (fontSize * 0.6)} ${fontSize * 1.5}`}
className={`w-full h-auto ${className}`}
xmlns="http://www.w3.org/2000/svg"
{...svgProps}
>
<text
x={fontSize * 0.3}