From 8ff0ba44f867592b6d84632518c110212976d2d6 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 3 Jun 2025 18:18:42 +0200 Subject: [PATCH] updates --- src/App.tsx | 8 ++++---- src/components/OffsetOrder.tsx | 32 +++----------------------------- 2 files changed, 7 insertions(+), 33 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index fc5288f..9a3a466 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -85,8 +85,8 @@ function App() { switch (currentPage) { case 'calculator': return ( -
-
+
+

Calculate & Offset Your Yacht's Carbon Footprint

@@ -95,7 +95,7 @@ function App() {

-
+
-
+
0 && ( e.preventDefault()} - onTouchStart={(e) => e.preventDefault()} + className="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-4 rounded-lg transition-colors duration-200 flex items-center justify-center space-x-2" > View Project Details - - {/* Fallback click area - covers entire card */} -
{ - e.preventDefault(); - e.stopPropagation(); - handleProjectClick(project, e); - }} - onTouchEnd={(e) => { - e.preventDefault(); - e.stopPropagation(); - handleProjectClick(project); - }} - onKeyDown={(e) => { - if (e.key === 'Enter' || e.key === ' ') { - e.preventDefault(); - handleProjectClick(project); - } - }} - role="button" - tabIndex={0} - aria-label={`View details for ${project.name}`} - /> ))}