Convert from JSX to TSX
CI Pipeline / test (20) (pull_request) Failing after 1m17s
CI Pipeline / test (18) (pull_request) Failing after 1m28s
CI Pipeline / e2e (chromium) (pull_request) Failing after 1m33s
CI Pipeline / e2e (firefox) (pull_request) Failing after 1m27s
CI Pipeline / e2e (webkit) (pull_request) Failing after 1m34s
CI Pipeline / visual-regression (pull_request) Failing after 2m9s
CI Pipeline / storybook (pull_request) Failing after 1m5s
CI Pipeline / performance (pull_request) Failing after 1m42s
CI Pipeline / lint (pull_request) Failing after 49s
CI Pipeline / build (pull_request) Failing after 1m29s
CI Pipeline / test (20) (pull_request) Failing after 1m17s
CI Pipeline / test (18) (pull_request) Failing after 1m28s
CI Pipeline / e2e (chromium) (pull_request) Failing after 1m33s
CI Pipeline / e2e (firefox) (pull_request) Failing after 1m27s
CI Pipeline / e2e (webkit) (pull_request) Failing after 1m34s
CI Pipeline / visual-regression (pull_request) Failing after 2m9s
CI Pipeline / storybook (pull_request) Failing after 1m5s
CI Pipeline / performance (pull_request) Failing after 1m42s
CI Pipeline / lint (pull_request) Failing after 49s
CI Pipeline / build (pull_request) Failing after 1m29s
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
"use client";
|
||||
|
||||
import React, { memo } from "react";
|
||||
|
||||
interface QuoteDecorProps {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const QuoteDecor = memo<QuoteDecorProps>(({ className = "" }) => {
|
||||
return (
|
||||
<svg
|
||||
className={`text-[var(--color-surface-inverse-brand-primary)] opacity-100 w-full h-full md:max-w-[640px] lg:max-w-[850px] xl:max-w-[1100px] ${className}`}
|
||||
viewBox="400 0 442 163"
|
||||
aria-hidden="true"
|
||||
overflow="visible"
|
||||
preserveAspectRatio="xMinYMin meet"
|
||||
>
|
||||
<g fill="currentColor">
|
||||
{/* Mobile ellipses */}
|
||||
<g className="md:hidden">
|
||||
{/* First ellipse - top left */}
|
||||
<ellipse
|
||||
cx="490"
|
||||
cy="80"
|
||||
rx="300"
|
||||
ry="100"
|
||||
transform="rotate(-20 600 90)"
|
||||
/>
|
||||
{/* Second ellipse - middle */}
|
||||
<ellipse
|
||||
cx="508"
|
||||
cy="250"
|
||||
rx="300"
|
||||
ry="110"
|
||||
transform="rotate(-25 600 90)"
|
||||
/>
|
||||
{/* Third ellipse - bottom right */}
|
||||
<ellipse
|
||||
cx="550"
|
||||
cy="420"
|
||||
rx="300"
|
||||
ry="120"
|
||||
transform="rotate(-25 600 90)"
|
||||
/>
|
||||
</g>
|
||||
|
||||
{/* MD+ ellipses */}
|
||||
<g className="hidden md:block">
|
||||
{/* First ellipse - top left */}
|
||||
<ellipse
|
||||
cx="590"
|
||||
cy="70"
|
||||
rx="300"
|
||||
ry="110"
|
||||
transform="rotate(-30 600 90)"
|
||||
/>
|
||||
{/* Second ellipse - middle */}
|
||||
<ellipse
|
||||
cx="680"
|
||||
cy="250"
|
||||
rx="300"
|
||||
ry="110"
|
||||
transform="rotate(-30 600 90)"
|
||||
/>
|
||||
{/* Third ellipse - bottom right */}
|
||||
<ellipse
|
||||
cx="670"
|
||||
cy="400"
|
||||
rx="300"
|
||||
ry="120"
|
||||
transform="rotate(-30 600 90)"
|
||||
/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
QuoteDecor.displayName = "QuoteDecor";
|
||||
|
||||
export default QuoteDecor;
|
||||
Reference in New Issue
Block a user