From 93645b00835edc44c8c44b09c4dc6a350b611cbd Mon Sep 17 00:00:00 2001 From: Shkumbin Sherifi Date: Tue, 14 Jul 2026 11:11:30 +0200 Subject: [PATCH] Clarify starred map demo copy --- src/components/StarsTreemap.astro | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/StarsTreemap.astro b/src/components/StarsTreemap.astro index 07cbf3d..8650ea1 100644 --- a/src/components/StarsTreemap.astro +++ b/src/components/StarsTreemap.astro @@ -19,10 +19,10 @@ const initialUpdated = new Intl.DateTimeFormat("en", {
GitHub star map -

{initialUser}'s starred repositories

+

Your starred map

{initialSource === "static" - ? "Explore the bundled snapshot, then sign in to map your own public stars." + ? "This preview shows how your own GitHub stars could look. Sign in to generate your live map." : "Your public GitHub stars, loaded directly from GitHub."}

@@ -468,7 +468,6 @@ const initialUpdated = new Intl.DateTimeFormat("en", { const langChips = document.getElementById("lang-chips") as HTMLDivElement; const topicChips = document.getElementById("topic-chips") as HTMLDivElement; const searchInput = document.getElementById("search") as HTMLInputElement; - const overviewUser = document.getElementById("overview-user") as HTMLSpanElement; const sourceLabel = document.getElementById("source-label") as HTMLSpanElement; const sourceDescription = document.getElementById("source-description") as HTMLParagraphElement; const repoCount = document.getElementById("repo-count") as HTMLElement; @@ -683,7 +682,6 @@ const initialUpdated = new Intl.DateTimeFormat("en", { filters.topics.clear(); filters.search = ""; searchInput.value = ""; - overviewUser.textContent = data.user; sourceLabel.textContent = "Live GitHub"; sourceDescription.textContent = "Your public GitHub stars, loaded directly from GitHub."; repoCount.textContent = String(data.repos.length);