Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/components/StarsTreemap.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ const initialUpdated = new Intl.DateTimeFormat("en", {
<span class="overview-mark" aria-hidden="true">@</span>
<div>
<span class="eyebrow">GitHub star map</span>
<h1><span id="overview-user">{initialUser}</span>'s starred repositories</h1>
<h1>Your starred map</h1>
<p id="source-description">
{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."}
</p>
</div>
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
Loading