Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Change the support icon

Chocobozzz64ff48cb8d85
diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts
index 3f96ef6de7..e24468da55 100644
--- a/client/src/app/core/plugins/plugin.service.ts
+++ b/client/src/app/core/plugins/plugin.service.ts
@@ -12,7 +12,7 @@ import { ClientHook, ClientHookName, clientHookObject } from '@shared/models/plu
import { PluginClientScope } from '@shared/models/plugins/plugin-client-scope.type'
import { RegisterClientHookOptions } from '@shared/models/plugins/register-client-hook.model'
import { HttpClient } from '@angular/common/http'
-import { AuthService } from '@app/core'
+import { AuthService } from '@app/core/auth'
import { RestExtractor } from '@app/shared/rest'
import { PluginType } from '@shared/models/plugins/plugin.type'
import { PublicServerSetting } from '@shared/models/plugins/public-server.setting'
diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts
index a56674b58f..a13b7d8e05 100644
--- a/client/src/app/shared/images/global-icon.component.ts
+++ b/client/src/app/shared/images/global-icon.component.ts
@@ -26,7 +26,7 @@ const icons = {
'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg'),
'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg'),
'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg'),
- 'heart': require('!!raw-loader?!../../../assets/images/video/heart.svg'),
+ 'support': require('!!raw-loader?!../../../assets/images/video/support.svg'),
'like': require('!!raw-loader?!../../../assets/images/video/like.svg'),
'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg'),
'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg'),
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index 5b98a7bd48..647cc3c576 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -73,8 +73,8 @@
<my-global-icon iconName="dislike"></my-global-icon>
</div>
- <div *ngIf="video.support" (click)="showSupportModal()" class="action-button">
- <my-global-icon iconName="heart"></my-global-icon>
+ <div *ngIf="video.support" (click)="showSupportModal()" class="action-button action-button-support">
+ <my-global-icon iconName="support"></my-global-icon>
<span class="icon-text" i18n>Support</span>
</div>
diff --git a/client/src/assets/images/video/heart.svg b/client/src/assets/images/video/heart.svg
deleted file mode 100644
index 618f64f10a..0000000000
--- a/client/src/assets/images/video/heart.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
- <g transform="translate(-48.000000, -1046.000000)" fill-rule="nonzero" fill="#000000">
- <g transform="translate(48.000000, 1046.000000)">
- <g id="heart">
- <path d="M12.0174466,21 L20.9041801,11.3556763 C22.6291961,9.13778099 22.2795957,5.90145416 20.1233257,4.12713796 C17.9670557,2.35282175 14.8206518,2.71241362 13.0956358,4.93030888 L12.0174465,6.5 L10.9043642,4.93030888 C9.17934824,2.71241362 6.0329443,2.35282175 3.87667432,4.12713796 C1.72040435,5.90145416 1.37080391,9.13778099 3.09581989,11.3556763 L12.0174466,21 Z"></path>
- </g>
- </g>
- </g>
- </g>
-</svg>
diff --git a/client/src/assets/images/video/support.svg b/client/src/assets/images/video/support.svg
new file mode 100644
index 0000000000..351d52b861
--- /dev/null
+++ b/client/src/assets/images/video/support.svg
@@ -0,0 +1,14 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ viewBox="0 0 947.70386 999.3125"
+ width="947.70386"
+ height="999.3125">
+ <g transform="translate(2.669496,27.625894)">
+ <g transform="matrix(0.1,0,0,-0.1,0,511)">
+ <path d="m 3744.3542,4564.3712 c -217.4,-34.2 -520.3,-200.3 -693.7,-376.2 -263.8,-263.8 -388.4,-571.6 -388.4,-952.6 0,-256.5 44,-437.2 173.4,-684 75.7,-144.1 197.9,-280.9 747.5,-842.7 1106.5,-1133.40001 1138.2,-1165.20001 1253,-1194.50001 188.1,-51.3 214.9,-29.3 1162.7,938.00001 498.3,508.1 911.1,950.2 962.4,1030.8 263.8,415.3 283.3,964.9 48.8,1409.4 -180.8,342 -581.3,620.4 -972.2,676.6 -332.2,48.9 -671.7,-36.6 -967.3,-236.9 l -156.3,-109.9 -119.7,87.9 c -158.8,117.2 -351.8,202.7 -554.5,244.3 -183.1,39.1 -295.4,41.6 -495.7,9.8 z"
+ fill="#000000"/>
+ <path d="m 7991.4051,47.633899 c -39.1,-19.5 -473.9,-437.299999 -964.9,-925.800029 l -891.6,-891.59997 h -830.5 c -757.2,0 -837.8,4.9 -913.6,44 -207.6,112.4 -227.2,415.2 -39.1,561.8 66,53.7 83,53.7 950.2,53.7 989.3,0 1008.8,2.5 1094.3,173.49997 56.2,105 56.2,317.50003 4.9,427.50003 -83.1,175.9 4.8,168.5 -1915.1,168.5 h -1722 l -173.4,-63.5 c -95.3,-34.2 -232.1,-102.6 -305.3,-151.5 -73.3,-48.9 -442.1,-400.60003 -823.2,-779.2 l -688.80006,-693.7 664.40006,-647.3 c 366.4,-354.2 779.2,-754.8 918.4,-889.1 l 251.6,-241.8 481.2,481.2 481.2,481.2 h 1487.6 c 1294.6,0 1494.9,4.9 1565.8,39.1 58.6,26.9 339.6,368.8 1028.4,1248.2 522.8,666.89997 964.9,1243.3 982,1284.9 41.5,92.8 2.5,212.499999 -95.3,297.999999 -66,53.7 -95.3,61.1 -273.6,61.1 -132,-0.1 -224.8,-12.3 -273.6,-39.2 z"
+ fill="#000000"/>
+ </g>
+ </g>
+</svg>