From 5fcbbcf20017361c512ad8d02507ad5262feb532 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 21:50:22 +0000 Subject: [PATCH] Add Hardware Price Tracker MVP --- index.html | 10 +- src/components/AlertsList.tsx | 121 ++++++++++++++++++++ src/components/PriceChart.tsx | 73 ++++++++++++ src/components/ProductsList.tsx | 151 +++++++++++++++++++++++++ src/components/SearchProfiles.tsx | 162 +++++++++++++++++++++++++++ src/index.css | 114 ++++++++++--------- src/pages/Index.tsx | 177 +++++++++++++++++++++++++++++- tailwind.config.ts | 11 ++ 8 files changed, 755 insertions(+), 64 deletions(-) create mode 100644 src/components/AlertsList.tsx create mode 100644 src/components/PriceChart.tsx create mode 100644 src/components/ProductsList.tsx create mode 100644 src/components/SearchProfiles.tsx diff --git a/index.html b/index.html index dcaad83..39be13c 100644 --- a/index.html +++ b/index.html @@ -3,12 +3,12 @@
-{alert.message}
+ +{label}
+ {payload.map((entry: any, index: number) => ( ++ {entry.name}: {entry.value} DKK +
+ ))} +{profile.bestMatch.name}
++ {profile.bestMatch.store} +
++ {((profile.targetPrice - profile.bestMatch.price) / profile.targetPrice * 100).toFixed(1)}% below target +
+ )} +No matches found yet
+Start building your amazing project here!
+Real-time monitoring & alerts
+Active monitoring
+Spec-based searches
+Last 24 hours
+Below target
+