From 9cdc299ade66ff25493175c9383811f55ded0b42 Mon Sep 17 00:00:00 2001 From: null Date: Sun, 17 May 2026 17:42:03 -0500 Subject: [PATCH] fix: undefined Tailwind classes, SPA navigation, phone/email links (closes #51, #52) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace all undefined shadcn/ui Tailwind classes with correct config values (text-muted-foreground→text-muted, text-card-foreground→text-text, bg-secondary→bg-section-alt, ring-ring→ring-primary-navy, etc.) - Replace text-cyan/bg-cyan with text-primary-cyan/bg-primary-cyan - Convert all internal to React Router for SPA navigation - Remove self-referencing /contact button on Contact page - Add tel: links for phone numbers, mailto: links for emails in Contact.jsx and Support.jsx hero badges and info sections - Fix Header.jsx mobile menu button hover:text-cyan→hover:text-primary-cyan (batch 0.6.3) --- src/components/layout/Footer.jsx | 14 +++++++------- src/components/layout/Header.jsx | 2 +- src/components/layout/MobileNav.jsx | 2 +- src/components/ui/Badge.jsx | 2 +- src/components/ui/Button.jsx | 8 ++++---- src/components/ui/Card.jsx | 4 ++-- src/components/ui/CardDescription.jsx | 2 +- src/components/ui/Dialog.jsx | 4 ++-- src/components/ui/Input.jsx | 2 +- src/components/ui/Select.jsx | 4 ++-- src/components/ui/Sheet.jsx | 6 +++--- src/components/ui/Textarea.jsx | 4 ++-- src/pages/Contact.jsx | 8 ++++---- src/pages/Industries.jsx | 11 ++++++----- src/pages/IndustryDetail.jsx | 13 +++++++------ src/pages/ServiceDetail.jsx | 13 +++++++------ src/pages/Services.jsx | 11 ++++++----- src/pages/Support.jsx | 2 +- 18 files changed, 58 insertions(+), 54 deletions(-) diff --git a/src/components/layout/Footer.jsx b/src/components/layout/Footer.jsx index ccaf392..6416ccf 100644 --- a/src/components/layout/Footer.jsx +++ b/src/components/layout/Footer.jsx @@ -53,15 +53,15 @@ const Footer = () => {

{companyInfo.address}

- {companyInfo.email} + {companyInfo.email}
- {companyInfo.phone} + {companyInfo.phone}
- Contact Form + Contact Form
- + Request Consultation
@@ -70,7 +70,7 @@ const Footer = () => { {/* Quick Links */}
-

Quick Links

+

Quick Links