Web: gradient wypelnienia pod niebieska linia slownika - opada wzdluz kreski
This commit is contained in:
@@ -82,6 +82,17 @@ function ChartBackdrop() {
|
||||
<stop offset="0%" stopColor="var(--accent)" stopOpacity="0.5" />
|
||||
<stop offset="100%" stopColor="var(--accent)" stopOpacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="chart-fill-2"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="0"
|
||||
y1="660"
|
||||
x2="206"
|
||||
y2="1003"
|
||||
>
|
||||
<stop offset="0%" stopColor="var(--chart-blue)" stopOpacity="0.4" />
|
||||
<stop offset="100%" stopColor="var(--chart-blue)" stopOpacity="0" />
|
||||
</linearGradient>
|
||||
<clipPath id="chart-reveal">
|
||||
<rect ref={clipRef} x="0" y="0" width="0" height="700" />
|
||||
</clipPath>
|
||||
@@ -125,6 +136,12 @@ function ChartBackdrop() {
|
||||
<circle cx="810" cy="560" r="4" fill="var(--accent)" opacity="0.9" />
|
||||
</g>
|
||||
<g clipPath="url(#chart-reveal-2)">
|
||||
<path
|
||||
d={`${CHART_PATH2} L1000,700 L0,700 Z`}
|
||||
fill="url(#chart-fill-2)"
|
||||
fillOpacity="0.3"
|
||||
stroke="none"
|
||||
/>
|
||||
<path
|
||||
d={CHART_PATH2}
|
||||
fill="none"
|
||||
|
||||
Reference in New Issue
Block a user