web: remove CB 10-codes and ByeTruck name from checker + new-carrier page
- 10-code jokes are email-only now; revert checker/new-carrier CTAs to plain - Sell-trucks quick-cash flow no longer names ByeTruck or links out; lead still routes via the truck_sale_quickcash ticket (internal routing stays generic) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0835358cd4
commit
5f3a9dc54f
2 changed files with 10 additions and 11 deletions
|
|
@ -147,7 +147,7 @@ Sign out
|
|||
<h1 style="font-size:28px;font-weight:800;color:#fff;margin:0 0 12px;line-height:1.2">Start Your Trucking Business</h1>
|
||||
<p style="font-size:15px;color:#94a3b8;margin:0;line-height:1.6;max-width:540px;display:inline-block">Answer a few questions about your fleet, and we'll build a custom compliance package for you.</p>
|
||||
<div style="margin-top:22px">
|
||||
<a href="/tools/dot-compliance-check" style="display:inline-flex;align-items:center;gap:8px;padding:11px 26px;background:rgba(255,255,255,0.08);border:1px solid rgba(148,163,184,0.5);color:#e2e8f0;font-weight:600;border-radius:8px;text-decoration:none;font-size:14px">Already got your USDOT? Run a free Compliance Check — 10-4! →</a>
|
||||
<a href="/tools/dot-compliance-check" style="display:inline-flex;align-items:center;gap:8px;padding:11px 26px;background:rgba(255,255,255,0.08);border:1px solid rgba(148,163,184,0.5);color:#e2e8f0;font-weight:600;border-radius:8px;text-decoration:none;font-size:14px">Already got your USDOT? Run a free Compliance Check →</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@ Send reset link
|
|||
h += '<input type="text" id="co-name" placeholder="Your name" value="' + (data.legal_name || '') + '" style="width:100%;padding:9px 12px;font-size:13px;border:1px solid #bbf7d0;border-radius:8px;outline:none;margin-bottom:8px;box-sizing:border-box">';
|
||||
h += '<input type="email" id="co-email" placeholder="Email address" style="width:100%;padding:9px 12px;font-size:13px;border:1px solid #bbf7d0;border-radius:8px;outline:none;margin-bottom:8px;box-sizing:border-box">';
|
||||
h += '<input type="tel" id="co-phone" placeholder="Phone number" value="' + (data.telephone || '') + '" style="width:100%;padding:9px 12px;font-size:13px;border:1px solid #bbf7d0;border-radius:8px;outline:none;margin-bottom:10px;box-sizing:border-box">';
|
||||
h += '<button type="button" id="co-submit" style="padding:11px 28px;background:#16a34a;color:#fff;font-weight:700;border-radius:8px;font-size:14px;border:none;cursor:pointer">10-7 — Get My Shutdown Handled →</button>';
|
||||
h += '<button type="button" id="co-submit" style="padding:11px 28px;background:#16a34a;color:#fff;font-weight:700;border-radius:8px;font-size:14px;border:none;cursor:pointer">Get My Shutdown Handled →</button>';
|
||||
h += '<p id="co-status" class="text-xs hidden" style="margin-top:8px"></p>';
|
||||
h += '</div>';
|
||||
|
||||
|
|
@ -330,7 +330,7 @@ Send reset link
|
|||
h += '</div>';
|
||||
// Quick-cash form (hidden until chosen)
|
||||
h += '<div id="sell-quickcash" style="display:none;margin-top:14px;padding-top:14px;border-top:1px solid #dcfce7">';
|
||||
h += '<p style="font-size:13px;color:#374151;margin:0 0 10px">We’ll send your details to <strong>ByeTruck</strong> for a no-obligation cash offer. Tell us what you’re selling:</p>';
|
||||
h += '<p style="font-size:13px;color:#374151;margin:0 0 10px">We’ll connect you with a vetted truck-buying partner for a no-obligation cash offer. Tell us what you’re selling:</p>';
|
||||
h += '<input type="text" id="qc-name" placeholder="Your name" value="' + (data.legal_name || '') + '" style="width:100%;padding:9px 12px;font-size:13px;border:1px solid #bbf7d0;border-radius:8px;outline:none;margin-bottom:8px;box-sizing:border-box">';
|
||||
h += '<input type="tel" id="qc-phone" placeholder="Phone number" value="' + (data.telephone || '') + '" style="width:100%;padding:9px 12px;font-size:13px;border:1px solid #bbf7d0;border-radius:8px;outline:none;margin-bottom:8px;box-sizing:border-box">';
|
||||
h += '<input type="email" id="qc-email" placeholder="Email address" style="width:100%;padding:9px 12px;font-size:13px;border:1px solid #bbf7d0;border-radius:8px;outline:none;margin-bottom:8px;box-sizing:border-box">';
|
||||
|
|
@ -416,7 +416,7 @@ Send reset link
|
|||
});
|
||||
});
|
||||
|
||||
// Quick-cash → ByeTruck referral lead
|
||||
// Quick-cash → truck-buyer referral lead
|
||||
var qcBtn = document.getElementById("qc-submit");
|
||||
if (qcBtn) qcBtn.addEventListener("click", function() {
|
||||
var name = document.getElementById("qc-name").value.trim();
|
||||
|
|
@ -426,13 +426,12 @@ Send reset link
|
|||
pwSubmitLead({
|
||||
category: "truck_sale_quickcash", requireEmail: false, email: email, name: name,
|
||||
btn: qcBtn, statusEl: document.getElementById("qc-status"),
|
||||
okMsg: "Sent to ByeTruck — they'll contact you with a cash offer. Opening ByeTruck in a new tab...",
|
||||
subject: "Truck Sale (Quick Cash / ByeTruck) — " + data.legal_name + " (DOT " + data.dot_number + ")",
|
||||
message: ["Quick-cash truck sale lead from DOT Compliance Checker — route to ByeTruck.", "",
|
||||
okMsg: "Got it — we'll connect you with a truck buyer who'll reach out with a cash offer.",
|
||||
subject: "Truck Sale (Quick Cash) — " + data.legal_name + " (DOT " + data.dot_number + ")",
|
||||
message: ["Quick-cash truck sale lead from DOT Compliance Checker — route to truck-buying partner.", "",
|
||||
"Carrier: " + data.legal_name, "DOT#: " + data.dot_number, "Location: " + loc, "Fleet: " + fleet,
|
||||
"Vehicle(s): " + (truck || "not specified"), "",
|
||||
"Contact: " + name, "Email: " + email, "Phone: " + (phone || data.telephone || "not provided")].join("\n"),
|
||||
onOk: function() { setTimeout(function() { window.open("https://www.byetruck.com/", "_blank"); }, 1200); }
|
||||
"Contact: " + name, "Email: " + email, "Phone: " + (phone || data.telephone || "not provided")].join("\n")
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -563,7 +562,7 @@ Send reset link
|
|||
html += '<div style="background:linear-gradient(135deg,#fff7ed,#ffedd5);border:2px solid #f97316;border-radius:12px;padding:24px;text-align:center;margin-top:8px">';
|
||||
html += '<h3 style="font-size:18px;font-weight:700;color:#111827;margin-bottom:8px">' + redCount + ' compliance issue' + (redCount > 1 ? 's' : '') + ' found</h3>';
|
||||
html += '<p style="font-size:14px;color:#4b5563;margin-bottom:16px">Performance West can help you resolve these issues. We handle the paperwork so you can focus on driving.</p>';
|
||||
html += '<a href="/order/dot-compliance?dot=' + data.dot_number + svcParam + '" style="display:inline-block;padding:12px 32px;background:#f97316;color:#fff;font-weight:700;border-radius:8px;text-decoration:none;font-size:15px;box-shadow:0 4px 12px rgba(249,115,22,0.3)">10-4 — Fix My DOT Filings →</a>';
|
||||
html += '<a href="/order/dot-compliance?dot=' + data.dot_number + svcParam + '" style="display:inline-block;padding:12px 32px;background:#f97316;color:#fff;font-weight:700;border-radius:8px;text-decoration:none;font-size:15px;box-shadow:0 4px 12px rgba(249,115,22,0.3)">Fix My DOT Filings →</a>';
|
||||
html += '<p class="text-xs text-gray-400 mt-3">Or call (888) 411-0383</p>';
|
||||
html += '</div>';
|
||||
} else if (s.yellow > 0) {
|
||||
|
|
@ -583,7 +582,7 @@ Send reset link
|
|||
html += '<span style="color:#f59e0b;font-size:16px">⚠</span> ' + item + '</li>';
|
||||
});
|
||||
html += '</ul>';
|
||||
html += '<div style="text-align:center"><a href="/order/dot-compliance?dot=' + data.dot_number + yellowSvcParam + '" style="display:inline-block;padding:10px 28px;background:#ea580c;color:#fff;font-weight:700;border-radius:8px;text-decoration:none;font-size:14px">10-4 — Get These Handled →</a>';
|
||||
html += '<div style="text-align:center"><a href="/order/dot-compliance?dot=' + data.dot_number + yellowSvcParam + '" style="display:inline-block;padding:10px 28px;background:#ea580c;color:#fff;font-weight:700;border-radius:8px;text-decoration:none;font-size:14px">Get These Handled →</a>';
|
||||
html += '<p style="font-size:12px;color:#92400e;margin-top:8px">Or call (888) 411-0383</p></div>';
|
||||
html += '</div>';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue