From 234a02f7831a879776d9ea5013e17a752c59c178 Mon Sep 17 00:00:00 2001 From: Jason Jordan Date: Thu, 24 Jul 2025 13:46:38 -0400 Subject: [PATCH] minor clean up for demo --- src/components/DashboardPieChart.tsx | 2 +- src/components/LocationSearchInput.tsx | 8 +- src/components/Navbar.tsx | 2 +- src/pages/dashboard/member/index.tsx | 146 ++++++++++++++++++++++--- 4 files changed, 134 insertions(+), 24 deletions(-) diff --git a/src/components/DashboardPieChart.tsx b/src/components/DashboardPieChart.tsx index e6cc505..249ff27 100644 --- a/src/components/DashboardPieChart.tsx +++ b/src/components/DashboardPieChart.tsx @@ -40,7 +40,7 @@ const COLORS = ['#32CD32', '#E0E0E0']; const renderCustomizedLabel = ({ cx, cy, midAngle, innerRadius, outerRadius, value }: PieLabelProps) => { const radius = innerRadius + (outerRadius - innerRadius) * 0.5; - const x = cx + radius * Math.cos(-(midAngle ?? 0) * RADIAN); + const x = cx + (radius - 25) * Math.cos(-(midAngle ?? 0) * RADIAN); const y = cy + radius * Math.sin(-(midAngle ?? 0) * RADIAN); return ( diff --git a/src/components/LocationSearchInput.tsx b/src/components/LocationSearchInput.tsx index e7f423b..206cfdf 100644 --- a/src/components/LocationSearchInput.tsx +++ b/src/components/LocationSearchInput.tsx @@ -45,10 +45,10 @@ const LocationSearchInput: React.FC = ({className}) => onSelect={handleSelect} > {({ getInputProps, suggestions, getSuggestionItemProps, loading }) => ( -
+
@@ -72,12 +72,12 @@ const LocationSearchInput: React.FC = ({className}) =>
)} - {location.coordinates.lat && location.coordinates.lng && ( + {/* {location.coordinates.lat && location.coordinates.lng && (

Selected Coordinates: Lat: {location.coordinates.lat}, Lng:{' '} {location.coordinates.lng}

- )} + )} */}
); }; diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 8307965..ea980ed 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -158,7 +158,7 @@ const Navbar = () => { })} */}
- + diff --git a/src/pages/dashboard/member/index.tsx b/src/pages/dashboard/member/index.tsx index faadb05..5884c60 100644 --- a/src/pages/dashboard/member/index.tsx +++ b/src/pages/dashboard/member/index.tsx @@ -10,6 +10,7 @@ import DashboardPieChart from '@/components/DashboardPieChart'; import { FaRegIdCard } from "react-icons/fa"; import { GrMapLocation } from "react-icons/gr"; import { FiDownload } from "react-icons/fi"; +import { MdLocationOn } from "react-icons/md"; import LocationSearchInput from '@/components/LocationSearchInput'; import Button from '@/components/Button'; @@ -20,7 +21,7 @@ export default function Member() {
-
+
@@ -42,14 +43,14 @@ export default function Member() { height={60} />
-
+
-
- +
+ Dashboard @@ -74,13 +75,25 @@ export default function Member() {
Robert La'Blah
-
+
+
+
+
+
+
+
+
+
@@ -89,7 +102,7 @@ export default function Member() {

Paid

- +

Deductable Progress

Remaining

@@ -102,27 +115,124 @@ export default function Member() { - {/*
View
*/}

|

- {/*
Download
*/}
-
- +
+
+
+

Recent Claims

+
+
+
+
+ +
+
+ LA'BLAH, ROBERT +
+
+ HOUSE, GREGORY +
+
+ 07/21/2025 +
+
+
+
+ +
+
+ LA'BLAH, ROBERT +
+
+ QUINN, MICHAELA +
+
+ 07/02/2025 +
+
+
+
+ +
+
+ LA'BLAH, JENNY +
+
+ HOWSER, DOGGIE +
+
+ 05/15/2025 +
+
+
+
+ +
+
+ LA'BLAH, ROBERT +
+
+ HOUSE, GREGORY +
+
+ 04/29/2025 +
+
+
+
+ +
{/*