Skip to content

Commit 47ca6b2

Browse files
committed
Try my other apps
1 parent 736b7d4 commit 47ca6b2

File tree

7 files changed

+113
-0
lines changed

7 files changed

+113
-0
lines changed

src/_locales/de/messages.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,12 @@
315315
"promoClearYoutube": {
316316
"message": "Möchten Sie Kurzfilme, Kommentare, empfohlene Videos, Abonnements und andere YouTube-Ablenkungen blockieren? Wir haben eine weitere Erweiterung erstellt, mit der Sie YouTube ohne Ablenkung ansehen können.",
317317
"description": "Install"
318+
},
319+
"tryMyOtherApps": {
320+
"message": "Probieren Sie meine anderen Apps aus"
321+
},
322+
"clearYoutube": {
323+
"message": "Clear YouTube",
324+
"description": "Chrome-Erweiterung, die YouTube-Shorts, empfohlene Videos, Kommentare, Feeds, Homepage-Empfehlungen und andere Ablenkungen ausblenden kann. Sieh dir YouTube ohne Ablenkungen an."
318325
}
319326
}

src/_locales/en/messages.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,12 @@
315315
"intervalsChart": {
316316
"message": "Only time intervals greater than",
317317
"description": "are shown"
318+
},
319+
"tryMyOtherApps": {
320+
"message": "Try my other apps"
321+
},
322+
"clearYoutube": {
323+
"message": "Clear YouTube",
324+
"description": "Chrome extension that can hide YouTube shorts, recomended videos, comments, feed, homepage recommendations and other distractions. Watch YouTube free of distractions."
318325
}
319326
}

src/_locales/ru/messages.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,5 +316,12 @@
316316
"intervalsChart": {
317317
"message": "Отображаются только временные интервалы, превышающие",
318318
"description": ""
319+
},
320+
"tryMyOtherApps": {
321+
"message": "Попробуйте другие мои приложения"
322+
},
323+
"clearYoutube": {
324+
"message": "Clear YouTube",
325+
"description": "Расширение для Chrome, которое может скрывать шортс YouTube, рекомендуемые видео, комментарии, ленту новостей, рекомендации по домашней странице и другие отвлекающие факторы. Смотрите YouTube без отвлекающих факторов."
319326
}
320327
}

src/_locales/zh_CN/messages.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,12 @@
315315
"promoClearYoutube": {
316316
"message": "您想屏蔽短片、评论、推荐视频、订阅和其他 YouTube 干扰内容吗? 我们创建了另一个扩展程序,可帮助您不受干扰地观看 YouTube",
317317
"description": "安装"
318+
},
319+
"tryMyOtherApps": {
320+
"message": "试试我的其他应用程序"
321+
},
322+
"clearYoutube": {
323+
"message": "Clear YouTube",
324+
"description": "Chrome扩展程序,可以隐藏YouTube短片,推荐视频,评论,feed,主页推荐和其他分心。 观看YouTube免费分心。"
318325
}
319326
}
Lines changed: 11 additions & 0 deletions
Loading

src/components/About.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<a :href="CHROME_STORE_REVIEW_URL" target="_blank">{{ t('review.message') }}</a></label
2323
>
2424
</div>
25+
<MyApps />
2526
</template>
2627

2728
<script lang="ts">
@@ -31,6 +32,7 @@ export default {
3132
</script>
3233

3334
<script lang="ts" setup>
35+
import MyApps from './MyApps.vue';
3436
import { useI18n } from 'vue-i18n';
3537
import { CHROME_STORE_SUPPORT_URL, CHROME_STORE_REVIEW_URL } from '../utils/chrome-url';
3638
const { t } = useI18n();

src/components/MyApps.vue

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<template>
2+
<div class="main">
3+
<p class="header">{{ t('tryMyOtherApps.message') }}</p>
4+
<div class="app-block" @click="openAppLink(App.ClearYoutube)">
5+
<img src="../assets/icons/clear-youtube-logo.svg" height="45" />
6+
<div>
7+
<p class="title">{{ t('clearYoutube.message') }}</p>
8+
<p class="description">
9+
{{ t('clearYoutube.description') }}
10+
</p>
11+
</div>
12+
</div>
13+
</div>
14+
</template>
15+
16+
<script lang="ts">
17+
export default {
18+
name: 'MyApps',
19+
};
20+
</script>
21+
22+
<script lang="ts" setup>
23+
import { useI18n } from 'vue-i18n';
24+
import { CHROME_STORE_CLEAR_YOUTUBE_URL } from '../utils/chrome-url';
25+
const { t } = useI18n();
26+
27+
enum App {
28+
ClearYoutube,
29+
TrackerJam,
30+
}
31+
32+
function openAppLink(app: App) {
33+
switch (app) {
34+
case App.ClearYoutube:
35+
window.open(CHROME_STORE_CLEAR_YOUTUBE_URL, '_blank');
36+
}
37+
}
38+
</script>
39+
40+
<style scoped>
41+
.main {
42+
margin-top: 50px;
43+
}
44+
.header {
45+
font-size: 16px;
46+
font-weight: 500;
47+
text-transform: uppercase;
48+
}
49+
.app-block {
50+
margin: 20px 0;
51+
padding: 10px 20px;
52+
font-size: 14px;
53+
background-color: #efefef;
54+
border-radius: 10px;
55+
min-width: 655px;
56+
display: flex;
57+
flex-direction: row;
58+
gap: 20px;
59+
cursor: pointer;
60+
}
61+
.title {
62+
font-weight: 500;
63+
font-size: 15px;
64+
}
65+
.description {
66+
margin-top: 10px;
67+
font-size: 14px;
68+
}
69+
img {
70+
margin: auto;
71+
}
72+
</style>

0 commit comments

Comments
 (0)