Skip to content

Commit 302685d

Browse files
committed
feat - visually show github and dev.to links
1 parent 62ba604 commit 302685d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

frontend/src/app/shared/bookmark-list-element/bookmark-list-element.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ <h5 class="card-title">
88
(click)="playYoutubeVideo(bookmark)"
99
title="Play video"></i>
1010
<i *ngIf="bookmark.stackoverflowQuestionId" class="fab fa-stack-overflow stackoverflow-icon"></i>
11+
<i *ngIf="bookmark.location.startsWith('https://github.com', 0)" class="fab fa-github stackoverflow-icon"></i>
12+
<i *ngIf="bookmark.location.startsWith('https://dev.to/', 0)" class="fab fa-dev stackoverflow-icon"></i>
1113
<a href="{{bookmark.location}}"
1214
target="_blank" [innerHtml]="bookmark.name | highlight: filterText | highlight: queryText"
1315
(click)="addToHistoryService.promoteInHistoryIfLoggedIn(userIsLoggedIn, bookmark)"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Codever",
3-
"version": "6.3.0",
3+
"version": "6.4.0",
44
"description": "Codever - bookmarks and snippets manager for developers & co",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)