2 Commits

Author SHA1 Message Date
0429087538 Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx 2026-03-11 21:13:14 +00:00
3f312e2c77 Update src/app/styles/variables.css 2026-03-11 21:11:17 +00:00
2 changed files with 23 additions and 17 deletions

View File

@@ -10,15 +10,15 @@
--accent: #ffffff;
--background-accent: #ffffff; */
--background: #ffffff;
--card: #f9f9f9;
--foreground: #000f06e6;
--primary-cta: #0a7039;
--background: #e8f1f5;
--card: #d9e8f0;
--foreground: #1a3a4d;
--primary-cta: #8b6f47;
--primary-cta-text: #ffffff;
--secondary-cta: #f9f9f9;
--secondary-cta: #d4e5ed;
--secondary-cta-text: #000f06e6;
--accent: #e2e2e2;
--background-accent: #c4c4c4;
--accent: #a8c5d6;
--background-accent: #6b4423;
/* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);

View File

@@ -3,22 +3,28 @@ import React from 'react';
interface SvgTextLogoProps {
text: string;
className?: string;
textClassName?: string;
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical';
}
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
textClassName = '',
dominantBaseline = 'middle'
}) => {
return (
<svg
viewBox="0 0 200 50"
viewBox="0 0 200 60"
className={`w-auto h-8 ${className}`}
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<text
x="10"
y="35"
fontSize="32"
fontWeight="bold"
fill="currentColor"
dominantBaseline="middle"
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline={dominantBaseline}
className={`text-lg font-bold fill-current ${textClassName}`}
>
{text}
</text>
@@ -26,4 +32,4 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
);
};
export default SvgTextLogo;
export default SvgTextLogo;