Wire DOT checker CTA to order page instead of email

"Fix My DOT Filings" now links to /order/dot-compliance?dot=XXXXX
instead of a mailto: link.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
justin 2026-05-28 22:46:08 -05:00
parent 13475dc8d0
commit eeea9f5940

View file

@ -236,7 +236,7 @@ Send reset link
html += '<div class="bg-gradient-to-br from-orange-50 to-orange-100 border-2 border-orange-400 rounded-xl p-6 text-center mt-2">';
html += '<h3 class="text-lg font-bold text-gray-900 mb-2">' + redCount + ' compliance issue' + (redCount > 1 ? 's' : '') + ' found</h3>';
html += '<p class="text-sm text-gray-600 mb-4">Performance West can help you resolve these issues. We handle the paperwork so you can focus on driving.</p>';
html += '<a href="mailto:info@performancewest.net?subject=DOT Compliance Help — ' + encodeURIComponent(data.legal_name) + ' (DOT ' + data.dot_number + ')" class="inline-block px-8 py-3 bg-orange-500 text-white font-semibold rounded-lg hover:bg-orange-600 transition-colors shadow-md">Get Help With My Filings &rarr;</a>';
html += '<a href="/order/dot-compliance?dot=' + data.dot_number + '" class="inline-block px-8 py-3 bg-orange-500 text-white font-semibold rounded-lg hover:bg-orange-600 transition-colors shadow-md">Fix My DOT Filings &rarr;</a>';
html += '<p class="text-xs text-gray-400 mt-3">Or call (888) 411-0383</p>';
html += '</div>';
} else {