18 lines
662 B
TypeScript
18 lines
662 B
TypeScript
/** P→A 호 SVG 경로 위 "Reward" 라벨 (DEMO Solution.tsx) */
|
|
export function AgdpRewardPathLabel() {
|
|
const pathId = "agdp-reward-path";
|
|
|
|
return (
|
|
<svg className="absolute inset-0 w-full h-full pointer-events-none z-20" viewBox="0 0 100 100" aria-hidden="true">
|
|
<defs>
|
|
<path id={pathId} d="M 10.6 56.9 A 40 40 0 0 0 43.1 89.4" fill="none" />
|
|
</defs>
|
|
<text fontSize="3.5" className="break-keep font-medium uppercase tracking-widest fill-lavender-300" opacity="0.8">
|
|
<textPath href={`#${pathId}`} startOffset="50%" textAnchor="middle">
|
|
← Reward SIGNAL
|
|
</textPath>
|
|
</text>
|
|
</svg>
|
|
);
|
|
}
|