From 874877f5baa9df096bc88fe68a5ced621aef5921 Mon Sep 17 00:00:00 2001 From: Manohar Gupta Date: Sat, 23 May 2026 17:39:39 +0530 Subject: [PATCH] Add bundled reference files download links --- packages/web/components/ProfileViewer.tsx | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/packages/web/components/ProfileViewer.tsx b/packages/web/components/ProfileViewer.tsx index 5861b87..05411f9 100644 --- a/packages/web/components/ProfileViewer.tsx +++ b/packages/web/components/ProfileViewer.tsx @@ -340,6 +340,39 @@ export function ProfileViewer() { {/* Content */}
+ {/* Bundled profiles section */} +
+

Bundled Reference Files

+
+ {[ + { name: "Solar - Gujarat", path: "/api/profiles/solar/GJ", type: "solar" }, + { name: "Solar - Karnataka", path: "/api/profiles/solar/KA", type: "solar" }, + { name: "Solar - Rajasthan", path: "/api/profiles/solar/RJ", type: "solar" }, + { name: "Wind - Gujarat", path: "/api/profiles/wind/GJ", type: "wind" }, + { name: "Wind - Karnataka", path: "/api/profiles/wind/KA", type: "wind" }, + { name: "Wind - Rajasthan", path: "/api/profiles/wind/RJ", type: "wind" }, + ].map((profile) => ( + + {profile.type === "solar" ? "☀️" : "💨"} +
+
{profile.name}
+
8760 hourly values
+
+ + + + + +
+ ))} +
+
+ {activeTab === "solar" && (