mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-12 16:15:11 +00:00
refactor(projects): rename the demo list identifiers to match the page
This commit is contained in:
1 parent
2b6ba57f47
commit
26e2ff3721
3 files changed
+15
-15
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user