diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index d8499d8b878..c71950e610f 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -7,12 +7,12 @@ const ghUrl = "https://github.com/GetTechAPI/TechAPI"; const endpoints = [ { label: "/v1/smartphones", desc: "List all phones", href: `${base}v1/smartphones/index.json` }, - { label: "/v1/smartphones/{slug}", desc: "Phone detail + scores", href: `${base}v1/smartphones/galaxy-s25-ultra/index.json` }, - { label: "/v1/smartphones/{slug}/score", desc: "Computed scores", href: `${base}v1/smartphones/galaxy-s25-ultra/score/index.json` }, + { label: "/v1/smartphones/{slug}", desc: "Phone detail + scores", href: `${base}v1/smartphones/galaxy-s26-ultra/index.json` }, + { label: "/v1/smartphones/{slug}/score", desc: "Computed scores", href: `${base}v1/smartphones/galaxy-s26-ultra/score/index.json` }, { label: "/v1/tablets", desc: "List all tablets", href: `${base}v1/tablets/index.json` }, { label: "/v1/watches", desc: "List all watches", href: `${base}v1/watches/index.json` }, { label: "/v1/pdas", desc: "List all PDAs", href: `${base}v1/pdas/index.json` }, - { label: "/v1/socs/{slug}", desc: "System-on-chip detail", href: `${base}v1/socs/snapdragon-8-elite/index.json` }, + { label: "/v1/socs/{slug}", desc: "System-on-chip detail", href: `${base}v1/socs/snapdragon-8-elite-gen-5/index.json` }, { label: "/v1/gpus/{slug}", desc: "Discrete GPU detail", href: `${base}v1/gpus/geforce-rtx-5090/index.json` }, { label: "/v1/cpus/{slug}", desc: "Desktop / laptop CPU", href: `${base}v1/cpus/core-i9-14900k/index.json` }, { label: "/v1/brands", desc: "All brands", href: `${base}v1/brands/index.json` }, @@ -170,7 +170,7 @@ const endpoints = [
/v1/smartphones/galaxy-s25-ultra
+ /v1/smartphones/galaxy-s26-ultra
diff --git a/site/src/scripts/techapi.js b/site/src/scripts/techapi.js
index 258a167db23..bc7ea846360 100644
--- a/site/src/scripts/techapi.js
+++ b/site/src/scripts/techapi.js
@@ -70,8 +70,8 @@ async function loadList(resource) {
if (!cmdEl) return;
const DEMOS = [
- { resource: "smartphones", slug: "galaxy-s25-ultra" },
- { resource: "socs", slug: "snapdragon-8-elite" },
+ { resource: "smartphones", slug: "galaxy-s26-ultra" },
+ { resource: "socs", slug: "snapdragon-8-elite-gen-5" },
{ resource: "gpus", slug: "geforce-rtx-5090" },
];
const reduce = window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
@@ -556,15 +556,15 @@ document.getElementById("pg-copy")?.addEventListener("click", (e) => {
const b = e.currentTarget, p = b.textContent; b.textContent = "Copied ✓"; setTimeout(() => (b.textContent = p), 1200);
});
if (resSel) populateSlugs("smartphones").then((items) => {
- slugIn.value = (items[0] && items[0].slug) || "galaxy-s25-ultra";
+ slugIn.value = (items[0] && items[0].slug) || "galaxy-s26-ultra";
run("smartphones", slugIn.value);
});
/* ============================================================
FEATURED DEVICES
============================================================ */
-const PREFERRED = ["galaxy-s25-ultra", "iphone-16-pro-max", "pixel-9-pro",
- "oneplus-13", "xiaomi-15-ultra", "galaxy-z-fold-6"];
+const PREFERRED = ["galaxy-s26-ultra", "iphone-17-pro-max", "pixel-10-pro",
+ "oneplus-14", "xiaomi-15-ultra", "galaxy-z-fold-7"];
function bar(label, v) {
const w = v == null ? 0 : Math.round(v);