Skip to content

Commit 0933791

Browse files
committed
add find elsewhere to all search results
1 parent 5719699 commit 0933791

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

frontend/src/app/search-results/find-elsewhere/find-elsewhere.component.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<hr>
12
<div class="find-elsewhere-options">
23
<span><i class="fa fa-search"></i> Find elsewhere</span>
34
<a
@@ -16,6 +17,14 @@
1617
>
1718
Google
1819
</a>
20+
<a
21+
href="https://stackoverflow.com/search?q={{searchText}}"
22+
class="btn btn-outline-secondary btn-sm mr-3 mt-2 tag-list-header shadow-sm"
23+
title="Find with Stackoverflow"
24+
target="_blank"
25+
>
26+
Stackoverflow
27+
</a>
1928
<a
2029
href="https://www.bing.com/search?q={{searchText}}"
2130
class="btn btn-outline-secondary btn-sm mr-3 mt-2 tag-list-header shadow-sm"
@@ -25,3 +34,4 @@
2534
Bing
2635
</a>
2736
</div>
37+
<hr>

frontend/src/app/search-results/search-results-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,5 +201,5 @@
201201

202202
</mat-tab-group>
203203

204-
<app-find-elsewhere *ngIf="(searchResults$ | async)?.length === 0 && currentPage === 1" [searchText]="searchText">
204+
<app-find-elsewhere [searchText]="searchText">
205205
</app-find-elsewhere>

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": "7.0.2",
3+
"version": "7.1.2",
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)