Add ROI Calculator page, polish Mobile SDK explorer tabs and hero layout
CI / build (push) Canceled after 0s
CI / build (push) Canceled after 0s
Wires a new /roi-calculator route into nav, routing, sitemap and SEO metadata, and enlarges the Mobile SDK explorer's tab tiles and phone stage for better readability. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ var PAGE_NAMES = {
|
||||
p10: "DNS Protect",
|
||||
p11: "Cookie Policy",
|
||||
p12: "Privacy Policy",
|
||||
p13: "ROI Calculator",
|
||||
};
|
||||
|
||||
var PAGE_PATHS = {
|
||||
@@ -37,6 +38,7 @@ var PAGE_PATHS = {
|
||||
p10: "/dns-protect",
|
||||
p11: "/cookie-policy",
|
||||
p12: "/privacy-policy",
|
||||
p13: "/roi-calculator",
|
||||
};
|
||||
|
||||
var FEED_EVENTS = [
|
||||
@@ -179,6 +181,14 @@ function showPage(id, navId) {
|
||||
else coBtn.classList.remove("on");
|
||||
}
|
||||
|
||||
// For Operators dropdown parent (Overview + ROI Calculator)
|
||||
var fo = ["p4", "p13"].indexOf(active) >= 0;
|
||||
var foBtn = document.getElementById("nav-fo");
|
||||
if (foBtn) {
|
||||
if (fo) foBtn.classList.add("on");
|
||||
else foBtn.classList.remove("on");
|
||||
}
|
||||
|
||||
// Close mobile nav
|
||||
var mob = document.getElementById("mob-nav");
|
||||
if (mob) mob.style.display = "none";
|
||||
|
||||
Reference in New Issue
Block a user