Add ROI Calculator page, polish Mobile SDK explorer tabs and hero layout
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:
2026-10-13 16:17:24 +05:00
co-authored by Claude Sonnet 5
parent 81ffaa85c3
commit 3a209bd79a
16 changed files with 2022 additions and 21 deletions
+10
View File
@@ -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";