Skip to content

Commit fff6a61

Browse files
Merge pull request #7 from DeDuckProject/feat/logo-in-pr-comment
feat: add git-glimpse logo to PR comment header
2 parents 35ed4f6 + d6d0d67 commit fff6a61

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

assets/logo_square_small.png

28.2 KB
Loading

packages/core/src/publisher/github-comment.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ function buildCommentBody(options: CommentOptions): string {
7979

8080
const rerunSection = rerunUrl ? `\n\n[↺ Re-run demo](${rerunUrl})` : '';
8181

82+
const logoUrl =
83+
'https://raw.githubusercontent.com/DeDuckProject/git-glimpse/main/assets/logo_square_small.png';
84+
8285
return `${COMMENT_MARKER}
83-
## 🎬 UI Demo Preview
86+
## <img src="${logoUrl}" width="40" height="40" align="absmiddle" alt="git-glimpse logo" /> UI Demo Preview
8487
8588
**Changes detected in**: ${changedFilesList}${moreFiles}
8689

0 commit comments

Comments
 (0)