refactor: overhaul UI for streamlined user experience

Redesign navigation, home overview, user portrait, and valuation pages
with improved functionality and responsive design.

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
This commit is contained in:
v0
2025-07-18 13:47:12 +00:00
parent 440b310c6f
commit 2408d50cb0
316 changed files with 55785 additions and 0 deletions

47
components/Charts.tsx Normal file
View File

@@ -0,0 +1,47 @@
"use client"
import { Line } from "@ant-design/plots"
interface LineChartProps {
data: { date: string; value: number }[]
xField: string
yField: string
}
export function LineChart({ data, xField, yField }: LineChartProps) {
const config = {
data,
xField,
yField,
smooth: true,
color: "#1677ff",
point: {
size: 4,
shape: "circle",
style: {
fill: "#1677ff",
stroke: "#fff",
lineWidth: 2,
},
},
tooltip: {
showMarkers: false,
},
state: {
active: {
style: {
shadowBlur: 4,
stroke: "#000",
fill: "red",
},
},
},
interactions: [
{
type: "marker-active",
},
],
}
return <Line {...config} />
}