diff --git a/resources/css/app.css b/resources/css/app.css index dbff2df..254ebaa 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -64,3 +64,22 @@ } } +.tg-link { + color: #00e5ff!important; + text-decoration: none!important; +} + +.tg-link:link { + color: #00e5ff!important; + text-decoration: none!important; +} + +.tg-link:visited { + color: #00ff2d!important; + text-decoration: none!important; +} + +.tg-link:hover { + color: #f9ff00!important; + text-decoration: none!important; +} diff --git a/resources/views/Main.vue b/resources/views/Main.vue index ca64c64..00d64bb 100644 --- a/resources/views/Main.vue +++ b/resources/views/Main.vue @@ -5,10 +5,11 @@
- Вставьте ссылку: + Link: - {{ hint }} + {{ hint }}: {{ errorText }} + Contact me on Telegram: @Dhaverd
Найти Скачать @@ -32,6 +33,7 @@ export default { downloadLink: '', hint: ref(''), error: ref(false), + errorText: ref(''), windowHeight: document.documentElement.clientHeight, windowWidth: document.documentElement.clientWidth, isWide: window.innerWidth >= 460 @@ -46,6 +48,7 @@ export default { if (responce.data.error){ this.error = true; this.hint = 'Возникла ошибка'; + this.errorText = responce.data.error; console.log(responce.data.error); } else if (responce.data.link){ this.downloadAvailable = true; @@ -53,6 +56,7 @@ export default { } }).catch((error)=>{ this.fetching = false; + this.errorText = error.response.data.message; console.log(error); this.error = true; this.hint = 'Возникла ошибка';