mirror of https://github.com/sussy-code/smov.git
Remove donations !
This commit is contained in:
parent
c3fbe1c968
commit
2d1c5a132f
|
@ -150,7 +150,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "عنا",
|
||||
"donation": "تبرع",
|
||||
"logout": "تسجيل الخروج",
|
||||
"register": "مزامنة إلى االتخزين لسحابي",
|
||||
"settings": "الإعدادات",
|
||||
|
|
|
@ -151,7 +151,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "За нас",
|
||||
"donation": "Дарете",
|
||||
"logout": "Излез",
|
||||
"register": "Синхронизиране с облак",
|
||||
"settings": "Настройки",
|
||||
|
|
|
@ -149,7 +149,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "আমাদের সম্পর্কে",
|
||||
"donation": "দান করুন",
|
||||
"logout": "প্রস্থান",
|
||||
"register": "ক্লাউডে সিঙ্ক করুন",
|
||||
"settings": "সেটিংস",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Quant a nosaltres",
|
||||
"donation": "Feu una donació",
|
||||
"logout": "Tanca la sessió",
|
||||
"register": "Sincronitza al núvol",
|
||||
"settings": "Configuració",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Quant a nosaltres",
|
||||
"donation": "Feu una donació",
|
||||
"logout": "Tanca la sessió",
|
||||
"register": "Sincronitza al núvol",
|
||||
"settings": "Configuració",
|
||||
|
|
|
@ -149,7 +149,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Meow us",
|
||||
"donation": "Meow",
|
||||
"logout": "Meow out",
|
||||
"register": "Meow to meow",
|
||||
"settings": "Meow",
|
||||
|
|
|
@ -157,7 +157,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "O nás",
|
||||
"donation": "Přispět",
|
||||
"logout": "Odhlásit se",
|
||||
"register": "Synchronizovat do cloudu",
|
||||
"settings": "Nastavení",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Über uns",
|
||||
"donation": "Spenden",
|
||||
"logout": "Abmelden",
|
||||
"register": "Mit der Cloud synchronisieren",
|
||||
"settings": "Einstellungen",
|
||||
|
|
|
@ -151,7 +151,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Σχετικά με εμάς",
|
||||
"donation": "Δωρεά",
|
||||
"logout": "Αποσύνδεση",
|
||||
"register": "Συγχρονισμός με το cloud",
|
||||
"settings": "Ρυθμίσεις",
|
||||
|
|
|
@ -7,22 +7,18 @@
|
|||
"title": "Where does the content come from?"
|
||||
},
|
||||
"q2": {
|
||||
"body": "I do not collect donations for sudo-flix. All donations go directly to the movie-web team's kofi",
|
||||
"title": "Where do my donations go?"
|
||||
},
|
||||
"q3": {
|
||||
"body": "It's not possible to request a show or movie, sudo-flix does not manage any content. All content is viewed through sources on the internet.",
|
||||
"title": "Where can I request a show or movie?"
|
||||
},
|
||||
"q4": {
|
||||
"q3": {
|
||||
"body": "Our search results are powered by The Movie Database (TMDB) and display regardless of whether our sources actually have the content.",
|
||||
"title": "The search results display the show or movie, why can't I play it?"
|
||||
},
|
||||
"q5": {
|
||||
"q4": {
|
||||
"body": "All data is synced to the sudo-backend which is different than the community backend and is independently hosted by me, anyone is free to use this as well.",
|
||||
"title": "What about my data and stuff?"
|
||||
},
|
||||
"q6": {
|
||||
"q5": {
|
||||
"body": "Well sudo-flix has a twitter account that can be found in the footer of this page as well as a link to the source code on Github.",
|
||||
"title": "How can I find out more?"
|
||||
},
|
||||
|
@ -202,7 +198,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "About us",
|
||||
"donation": "Donate",
|
||||
"logout": "Log out",
|
||||
"register": "Sync to sudo-cloud",
|
||||
"settings": "Settings",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Acerca de nosotros",
|
||||
"donation": "Donar",
|
||||
"logout": "Cerrar sesión",
|
||||
"register": "Sincronizar con la nube",
|
||||
"settings": "Configuración",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Meie kohta",
|
||||
"donation": "Anneta",
|
||||
"logout": "Logi välja",
|
||||
"register": "Sünkrooni pilvega",
|
||||
"settings": "Sätted",
|
||||
|
|
|
@ -164,7 +164,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "درباره ما",
|
||||
"donation": "حمایت",
|
||||
"logout": "خروج",
|
||||
"register": "همگام سازی",
|
||||
"settings": "تنظیمات",
|
||||
|
|
|
@ -152,7 +152,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Meistä",
|
||||
"donation": "Lahjoita",
|
||||
"logout": "Kirjaudu ulos",
|
||||
"register": "Synkronoi pilveen",
|
||||
"settings": "Asetukset",
|
||||
|
|
|
@ -162,7 +162,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "À propos de nous",
|
||||
"donation": "Faire un don",
|
||||
"logout": "Se déconnecter",
|
||||
"register": "Synchroniser au Cloud",
|
||||
"settings": "Paramètres",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Acerca de nós",
|
||||
"donation": "Doar",
|
||||
"logout": "Cerrar sesión",
|
||||
"register": "Sincronizar coa nube",
|
||||
"settings": "Configuración",
|
||||
|
|
|
@ -152,7 +152,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "અમારા વિશે",
|
||||
"donation": "દાન કરો",
|
||||
"logout": "લૉગ આઉટ",
|
||||
"register": "cloud સાથે સમન્વયિત કરો",
|
||||
"settings": "સેટિંગ્સ",
|
||||
|
|
|
@ -150,7 +150,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "עלינו",
|
||||
"donation": "לתרום",
|
||||
"logout": "להתנתק",
|
||||
"register": "סנכרון לענן",
|
||||
"settings": "הגדרות",
|
||||
|
|
|
@ -164,7 +164,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "हमारे बारे में",
|
||||
"donation": "दान करें",
|
||||
"logout": "लॉग आउट",
|
||||
"register": "क्लाउड से सिंक करें",
|
||||
"settings": "सेटिंग्स",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Tentang kami",
|
||||
"donation": "Donasi",
|
||||
"logout": "Keluar",
|
||||
"register": "Sinkronkan ke cloud",
|
||||
"settings": "Pengaturan",
|
||||
|
|
|
@ -164,7 +164,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Um okkur",
|
||||
"donation": "Styrkja",
|
||||
"logout": "Skrá út",
|
||||
"register": "Samstilla við ský",
|
||||
"settings": "Stillingar",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Su di sudo-flix",
|
||||
"donation": "Donare",
|
||||
"logout": "Esci",
|
||||
"register": "Sincronizzare con il cloud",
|
||||
"settings": "Impostazioni",
|
||||
|
|
|
@ -103,7 +103,6 @@
|
|||
"navigation": {
|
||||
"menu": {
|
||||
"about": "会社概要",
|
||||
"donation": "寄付",
|
||||
"logout": "退室",
|
||||
"register": "クラウドに同期して",
|
||||
"settings": "設定"
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "서비스 소개",
|
||||
"donation": "후원",
|
||||
"logout": "로그아웃",
|
||||
"register": "클라우드 동기화",
|
||||
"settings": "설정",
|
||||
|
|
|
@ -147,7 +147,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Par mums",
|
||||
"donation": "Ziedot",
|
||||
"logout": "Iziet",
|
||||
"register": "Sinhronizēt ar mākoni",
|
||||
"settings": "Iestādijumi",
|
||||
|
|
|
@ -151,7 +151,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Banana us",
|
||||
"donation": "Banana",
|
||||
"logout": "Banana out",
|
||||
"register": "Banana to banana",
|
||||
"settings": "Banana",
|
||||
|
|
|
@ -164,7 +164,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "हाम्रो बारे जानकारी",
|
||||
"donation": "दान गर्नुहोस्",
|
||||
"logout": "बाहिर निस्कनु",
|
||||
"register": "क्लाउडमा सिंक गर्नुहोस्",
|
||||
"settings": "सेटिङ",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Over ons",
|
||||
"donation": "Doneer",
|
||||
"logout": "Log uit",
|
||||
"register": "Synchroniseren met de cloud",
|
||||
"settings": "Instellingen",
|
||||
|
|
|
@ -163,7 +163,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "ਸਾਡੇ ਬਾਰੇ",
|
||||
"donation": "ਦਾਨ",
|
||||
"logout": "ਲਾੱਗ ਆਊਟ",
|
||||
"register": "ਕਲਾਉਡ ਨਾਲ ਸਿੰਕ ਕਰੋ",
|
||||
"settings": "ਸੈਟਿੰਗਾਂ",
|
||||
|
|
|
@ -156,7 +156,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "About us",
|
||||
"donation": "Share yer treasures and donate to the cause",
|
||||
"logout": "Abandon ship",
|
||||
"register": "Sync to the cloud",
|
||||
"settings": "Settings",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "O nas",
|
||||
"donation": "Wspieraj nas",
|
||||
"logout": "Wyloguj się",
|
||||
"register": "Synchronizuj z chmurą",
|
||||
"settings": "Ustawienia",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Sobre nós",
|
||||
"donation": "Doar",
|
||||
"logout": "Sair",
|
||||
"register": "Sincronizar com a nuvem",
|
||||
"settings": "Configurações",
|
||||
|
|
|
@ -151,7 +151,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Sobre nós",
|
||||
"donation": "Doar",
|
||||
"logout": "Sair",
|
||||
"register": "Sincronizar com a nuvem",
|
||||
"settings": "Configurações",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Despre noi",
|
||||
"donation": "Donează",
|
||||
"logout": "Deconectați-vă",
|
||||
"register": "Sincronizare în cloud",
|
||||
"settings": "Setări",
|
||||
|
|
|
@ -162,7 +162,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "О нас",
|
||||
"donation": "Пожертвовать",
|
||||
"logout": "Выйти",
|
||||
"register": "Авторизация",
|
||||
"settings": "Настройки",
|
||||
|
|
|
@ -162,7 +162,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "O nas",
|
||||
"donation": "Doniraj",
|
||||
"logout": "Odjava",
|
||||
"register": "Sinhronizacija z oblakom",
|
||||
"settings": "Nastavitve",
|
||||
|
|
|
@ -147,7 +147,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Om oss",
|
||||
"donation": "Donera",
|
||||
"logout": "Logga ut",
|
||||
"register": "Synkronisera till molnet",
|
||||
"settings": "Inställningar",
|
||||
|
|
|
@ -152,7 +152,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "எங்களை பற்றி",
|
||||
"donation": "நன்கொடை",
|
||||
"logout": "வெளியேறு",
|
||||
"register": "இணைய கணக்கோடு ஒத்திசை (Sync to cloud)",
|
||||
"settings": "அமைப்புகள்",
|
||||
|
|
|
@ -148,7 +148,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "เกี่ยวกับเรา",
|
||||
"donation": "บริจาค",
|
||||
"logout": "ออกจากระบบ",
|
||||
"register": "เชื่อมต่อกับคลาวด์",
|
||||
"settings": "ตั้งค่า",
|
||||
|
|
|
@ -163,7 +163,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "mi",
|
||||
"donation": "o esun",
|
||||
"logout": "o weka sona e sina",
|
||||
"register": "Sync to cloud",
|
||||
"settings": "o ante",
|
||||
|
|
|
@ -160,7 +160,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Hakkımızda",
|
||||
"donation": "Bağış yap",
|
||||
"logout": "Çıkış yap",
|
||||
"register": "Buluta eşitle",
|
||||
"settings": "Ayarlar",
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Про нас",
|
||||
"donation": "Пожертвуйте",
|
||||
"logout": "Вийти",
|
||||
"register": "Синхронізація з хмарою",
|
||||
"settings": "Налаштування",
|
||||
|
|
|
@ -183,7 +183,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "About us",
|
||||
"donation": "Donate",
|
||||
"logout": "Log out",
|
||||
"register": "Register an account",
|
||||
"settings": "Settings",
|
||||
|
|
|
@ -156,7 +156,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "Về chúng tôi",
|
||||
"donation": "Ủng hộ",
|
||||
"logout": "Đăng xuất",
|
||||
"register": "Đồng bộ hóa với đám mây",
|
||||
"settings": "Cài đặt",
|
||||
|
|
|
@ -158,7 +158,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "關於我們",
|
||||
"donation": "捐錢",
|
||||
"logout": "登出",
|
||||
"register": "同步到雲端",
|
||||
"settings": "設定",
|
||||
|
|
|
@ -158,7 +158,6 @@
|
|||
},
|
||||
"menu": {
|
||||
"about": "关于我们",
|
||||
"donation": "捐赠",
|
||||
"logout": "登出",
|
||||
"register": "同步到云端",
|
||||
"settings": "设置",
|
||||
|
|
|
@ -62,7 +62,6 @@ export enum Icons {
|
|||
MENU = "menu",
|
||||
LOCK = "lock",
|
||||
UNLOCK = "unlock",
|
||||
DONATION = "donation",
|
||||
CIRCLE_QUESTION = "circle_question",
|
||||
BRUSH = "brush",
|
||||
UPLOAD = "upload",
|
||||
|
@ -134,7 +133,6 @@ const iconList: Record<Icons, string> = {
|
|||
menu: `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>`,
|
||||
lock: `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>`,
|
||||
unlock: `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-unlock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 9.9-1"></path></svg>`,
|
||||
donation: `<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 576 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path opacity="1" fill="currentColor" d="M163.9 136.9c-29.4-29.8-29.4-78.2 0-108s77-29.8 106.4 0l17.7 18 17.7-18c29.4-29.8 77-29.8 106.4 0s29.4 78.2 0 108L310.5 240.1c-6.2 6.3-14.3 9.4-22.5 9.4s-16.3-3.1-22.5-9.4L163.9 136.9zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"/></svg>`,
|
||||
circle_question: `<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path opacity="1" fill="currentColor" d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>`,
|
||||
brush: `<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M162.4 6c-1.5-3.6-5-6-8.9-6h-19c-3.9 0-7.5 2.4-8.9 6L104.9 57.7c-3.2 8-14.6 8-17.8 0L66.4 6c-1.5-3.6-5-6-8.9-6H48C21.5 0 0 21.5 0 48V224v22.4V256H9.6 374.4 384v-9.6V224 48c0-26.5-21.5-48-48-48H230.5c-3.9 0-7.5 2.4-8.9 6L200.9 57.7c-3.2 8-14.6 8-17.8 0L162.4 6zM0 288v32c0 35.3 28.7 64 64 64h64v64c0 35.3 28.7 64 64 64s64-28.7 64-64V384h64c35.3 0 64-28.7 64-64V288H0zM192 432a16 16 0 1 1 0 32 16 16 0 1 1 0-32z" fill="currentColor"/></svg>`,
|
||||
upload: `<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 384 512"><!--! Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path opacity="1" fill="currentColor" d="M320 480H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32H192V144c0 26.5 21.5 48 48 48H352V448c0 17.7-14.3 32-32 32zM240 160c-8.8 0-16-7.2-16-16V32.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4H240zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V163.9c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1H64zM208 278.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 278.6V400c0 8.8 7.2 16 16 16s16-7.2 16-16V278.6z"/></svg>`,
|
||||
|
|
|
@ -142,9 +142,6 @@ export function LinksDropdown(props: { children: React.ReactNode }) {
|
|||
<DropdownLink href="/about" icon={Icons.CIRCLE_QUESTION}>
|
||||
{t("navigation.menu.about")}
|
||||
</DropdownLink>
|
||||
<DropdownLink href={conf().DONATION_LINK} icon={Icons.DONATION}>
|
||||
{t("navigation.menu.donation")}
|
||||
</DropdownLink>
|
||||
{deviceName ? (
|
||||
<DropdownLink
|
||||
className="!text-type-danger opacity-75 hover:opacity-100"
|
||||
|
@ -162,10 +159,6 @@ export function LinksDropdown(props: { children: React.ReactNode }) {
|
|||
/>
|
||||
<CircleDropdownLink href={conf().GITHUB_LINK} icon={Icons.GITHUB} />
|
||||
<CircleDropdownLink href="/support" icon={Icons.MAIL} />
|
||||
<CircleDropdownLink
|
||||
href={conf().DONATION_LINK}
|
||||
icon={Icons.DONATION}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</Transition>
|
||||
|
|
|
@ -67,9 +67,6 @@ export function AboutPage() {
|
|||
<Question title={t("about.q5.title")}>
|
||||
{t("about.q5.body")}
|
||||
</Question>,
|
||||
<Question title={t("about.q6.title")}>
|
||||
{t("about.q6.body")}
|
||||
</Question>,
|
||||
]}
|
||||
/>
|
||||
<div
|
||||
|
|
|
@ -2,7 +2,6 @@ import {
|
|||
APP_VERSION,
|
||||
BACKEND_URL,
|
||||
DISCORD_LINK,
|
||||
DONATION_LINK,
|
||||
GITHUB_LINK,
|
||||
TWITTER_LINK,
|
||||
} from "./constants";
|
||||
|
@ -10,7 +9,6 @@ import {
|
|||
interface Config {
|
||||
APP_VERSION: string;
|
||||
GITHUB_LINK: string;
|
||||
DONATION_LINK: string;
|
||||
DISCORD_LINK: string;
|
||||
DMCA_EMAIL: string;
|
||||
TWITTER_LINK: string;
|
||||
|
@ -31,7 +29,6 @@ interface Config {
|
|||
export interface RuntimeConfig {
|
||||
APP_VERSION: string;
|
||||
GITHUB_LINK: string;
|
||||
DONATION_LINK: string;
|
||||
DISCORD_LINK: string;
|
||||
DMCA_EMAIL: string | null;
|
||||
TWITTER_LINK: string;
|
||||
|
@ -53,7 +50,6 @@ const env: Record<keyof Config, undefined | string> = {
|
|||
TMDB_READ_API_KEY: import.meta.env.VITE_TMDB_READ_API_KEY,
|
||||
APP_VERSION: undefined,
|
||||
GITHUB_LINK: undefined,
|
||||
DONATION_LINK: undefined,
|
||||
DISCORD_LINK: undefined,
|
||||
TWITTER_LINK: undefined,
|
||||
ONBOARDING_CHROME_EXTENSION_INSTALL_LINK:
|
||||
|
@ -96,7 +92,6 @@ export function conf(): RuntimeConfig {
|
|||
return {
|
||||
APP_VERSION,
|
||||
GITHUB_LINK,
|
||||
DONATION_LINK,
|
||||
DISCORD_LINK,
|
||||
TWITTER_LINK,
|
||||
DMCA_EMAIL: getKey("DMCA_EMAIL"),
|
||||
|
|
|
@ -2,7 +2,6 @@ export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
|
|||
export const DISCORD_LINK = "https://discord.gg/r5cYshWM4G";
|
||||
export const GITHUB_LINK = "https://github.com/sussy-code/smov";
|
||||
export const TWITTER_LINK = "https://twitter.com/SudoFlix";
|
||||
export const DONATION_LINK = "https://ko-fi.com/movieweb";
|
||||
export const GA_ID = import.meta.env.VITE_GA_ID;
|
||||
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;
|
||||
// Do it clap??
|
||||
|
|
|
@ -2,14 +2,12 @@ import {
|
|||
APP_VERSION,
|
||||
BACKEND_URL,
|
||||
DISCORD_LINK,
|
||||
DONATION_LINK,
|
||||
GITHUB_LINK,
|
||||
} from "./constants";
|
||||
|
||||
interface Config {
|
||||
APP_VERSION: string;
|
||||
GITHUB_LINK: string;
|
||||
DONATION_LINK: string;
|
||||
DISCORD_LINK: string;
|
||||
DMCA_EMAIL: string;
|
||||
TMDB_READ_API_KEY: string;
|
||||
|
@ -28,7 +26,6 @@ interface Config {
|
|||
export interface RuntimeConfig {
|
||||
APP_VERSION: string;
|
||||
GITHUB_LINK: string;
|
||||
DONATION_LINK: string;
|
||||
DISCORD_LINK: string;
|
||||
DMCA_EMAIL: string | null;
|
||||
TMDB_READ_API_KEY: string;
|
||||
|
@ -48,7 +45,6 @@ const env: Record<keyof Config, undefined | string> = {
|
|||
TMDB_READ_API_KEY: import.meta.env.VITE_TMDB_READ_API_KEY,
|
||||
APP_VERSION: undefined,
|
||||
GITHUB_LINK: undefined,
|
||||
DONATION_LINK: undefined,
|
||||
DISCORD_LINK: undefined,
|
||||
ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: import.meta.env
|
||||
.VITE_ONBOARDING_CHROME_EXTENSION_INSTALL_LINK,
|
||||
|
@ -91,7 +87,6 @@ export function conf(): RuntimeConfig {
|
|||
return {
|
||||
APP_VERSION,
|
||||
GITHUB_LINK,
|
||||
DONATION_LINK,
|
||||
DISCORD_LINK,
|
||||
DMCA_EMAIL: dmcaEmail.length > 0 ? dmcaEmail : null,
|
||||
ONBOARDING_CHROME_EXTENSION_INSTALL_LINK:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
|
||||
export const DISCORD_LINK = "https://discord.gg/r5cYshWM4G";
|
||||
export const GITHUB_LINK = "https://github.com/sussy-code/smov";
|
||||
export const DONATION_LINK = "https://ko-fi.com/movieweb";
|
||||
export const GA_ID = import.meta.env.VITE_GA_ID;
|
||||
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;
|
||||
|
|
Loading…
Reference in New Issue