From c38c58a2c857df75ebbb44af3e71aee19d0a4715 Mon Sep 17 00:00:00 2001 From: Seungpyo1007 Date: Fri, 31 Jul 2026 14:23:27 +0900 Subject: [PATCH] fix(site): list software and websites on the homepage The endpoint list stopped at brands and never gained the collections added since: software, and websites (40,084 records, added this week). The playground resource picker was missing websites too, so the two newest collections were unreachable from the site even though the API serves them. Games are deliberately still absent: deploy-pages strips /v1/games from the published artifact (a million per-record files exceed the Pages deployment window), so listing them would hand visitors a 404. Also widens the meta description, which advertised only smartphone/SoC/GPU/CPU. Verified by building the site and grepping dist/index.html: v1/websites and v1/software render, games does not. Refs #1 --- site/src/pages/index.astro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index 837292cc200b..44cf1a8e9dbb 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -18,6 +18,8 @@ const endpoints = [ { 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/software", desc: "List all software", href: `${base}v1/software/index.json` }, + { label: "/v1/websites", desc: "List all websites", href: `${base}v1/websites/index.json` }, { label: "/v1/brands", desc: "All brands", href: `${base}v1/brands/index.json` }, ]; --- @@ -39,7 +41,7 @@ const endpoints = [ })(); TechAPI — open data for consumer electronics specs - + @@ -168,6 +170,7 @@ const endpoints = [ +