폰트 수정, UI수정 및 대시보드 수정

This commit is contained in:
skkim committed 2026-03-13 10:13:26 +09:00
1 parent 65ea09ffd5
commit 7aedf07203
9 files changed
+313 -339

No files matched your search

+25 -9
View File
@@ -76,11 +76,27 @@ export const GeometricChart: React.FC<GeometricChartProps> = ({ data }) => {
style={{ overflow: 'visible', width: '440px', height: '440px' }}
>
<defs>
<filter id="radar-glow" x="-20%" y="-20%" width="140%" height="140%">
<feGaussianBlur stdDeviation="4" result="coloredBlur" />
{/* 레이더 폴리곤 fill: radial gradient */}
<radialGradient id="radar-fill-gradient" cx="280" cy="280" r="160" fx="280" fy="280" gradientUnits="userSpaceOnUse">
<stop offset="60%" stopColor="#034245" stopOpacity="0" />
<stop offset="100%" stopColor="#94FBE0" stopOpacity="0.30" />
</radialGradient>
{/* 레이더 폴리곤 filter: outer drop-shadow + inset glow */}
<filter id="radar-polygon-filter" x="-30%" y="-30%" width="160%" height="160%">
{/* Outer drop shadow */}
<feDropShadow dx="0" dy="0" stdDeviation="6" floodColor="#94FBE0" floodOpacity="0.5" result="dropShadow" />
{/* Inset glow: invert alpha → blur → composite inside */}
<feComponentTransfer in="SourceAlpha" result="invertedAlpha">
<feFuncA type="linear" slope="-1" intercept="1" />
</feComponentTransfer>
<feGaussianBlur in="invertedAlpha" stdDeviation="6" result="blurredOuter" />
<feComposite in="blurredOuter" in2="SourceAlpha" operator="in" result="insetMask" />
<feFlood floodColor="#94FBE0" floodOpacity="0.5" result="insetColor" />
<feComposite in="insetColor" in2="insetMask" operator="in" result="insetGlow" />
<feMerge>
<feMergeNode in="coloredBlur" />
<feMergeNode in="dropShadow" />
<feMergeNode in="SourceGraphic" />
<feMergeNode in="insetGlow" />
</feMerge>
</filter>
<filter id="badge-glow" x="-50%" y="-50%" width="200%" height="200%">
@@ -118,11 +134,11 @@ export const GeometricChart: React.FC<GeometricChartProps> = ({ data }) => {
{/* 데이터 폴리곤 */}
<polygon
points={dataPolygon}
fill="rgba(45, 212, 191, 0.15)"
stroke="#2DD4BF"
fill="url(#radar-fill-gradient)"
stroke="var(--Color-mint-500, #94FBE0)"
strokeWidth="2"
strokeLinejoin="round"
filter="url(#radar-glow)"
filter="url(#radar-polygon-filter)"
/>
{/* 데이터 포인트 */}
@@ -132,8 +148,8 @@ export const GeometricChart: React.FC<GeometricChartProps> = ({ data }) => {
cx={point.x}
cy={point.y}
r="4"
fill="#2DD4BF"
stroke="#1A1A2E"
fill="#ffffff"
stroke="#ffffff"
strokeWidth="2"
/>
))}
@@ -145,7 +161,7 @@ export const GeometricChart: React.FC<GeometricChartProps> = ({ data }) => {
const rank = rankMap.get(i) || i + 1;
const isTopThree = rank <= 3;
const isLeftSide = Math.cos(angle) < -0.1;
const textX = isLeftSide ? -14 : 14;
const textX = isLeftSide ? -20 : 20;
const textAnchor: 'start' | 'end' = isLeftSide ? 'end' : 'start';
return (