refactor(projects): rename the demo list identifiers to match the page

This commit is contained in:
tiennm99 committed 2026-09-18 13:18:37 +07:00
1 parent 2b6ba57f47
commit 26e2ff3721
3 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -62,11 +62,11 @@ export function renderStarred(repos) {
}
/**
* Repos that have a clickable URL, by name.
* Repos with a live demo URL.
* @param {import("./github-api.mjs").Repo[]} repos
* @returns {string[]}
*/
export function renderLinked(repos) {
export function renderDemo(repos) {
const rows = repos.map((r) => [
`[${r.nameWithOwner}](${r.htmlUrl})`,
cell(r.description),