Убрал тег a, добавил window.open взамен

This commit is contained in:
Данил 2024-09-18 21:31:44 +03:00
parent a9b4751aca
commit f4d4d47c8a

View file

@ -36,13 +36,13 @@
<body> <body>
<div class="wallpaper"> <div class="wallpaper">
<img alt="{{info.title}}" <img alt="{{info.title}}"
src="{{info.url}}" src="{{info.url}}"
onclick="window.open('{{info.hdurl}}')" onclick="window.open('{{info.hdurl}}')"
class="wallpaper-img"> class="wallpaper-img">
<div class="wallpaper-text"> <div class="wallpaper-text">
<div class="wallpaper-desc"> <div class="wallpaper-desc">
<h1>{{info.title}}</h1> <h1 class="title">{{info.title}}</h1>
{% if info.copyright %} {% if info.copyright %}
<p class="copyright">Copyright: {{info.copyright}}</p> <p class="copyright">Copyright: {{info.copyright}}</p>
{% endif %} {% endif %}
@ -50,12 +50,13 @@
</div> </div>
<div class="get-it-on"> <div class="get-it-on">
<a href='https://play.google.com/store/apps/details?id=ru.murzify.everynasa'> <img src='/static/image/get-it-on-gp.png'
<img src='/static/image/get-it-on-gp.png' alt='Get it on Google Play'> alt='Get it on Google Play'
</a> onclick="window.open('https://play.google.com/store/apps/details?id=ru.murzify.everynasa')">
<a href="https://github.com/Starlio-app/Starlio">
<img src="/static/image/get-it-on-github.png" alt="Get it on Github"> <img src="/static/image/get-it-on-github.png"
</a> alt='Get it on Github'
onclick="window.open('https://github.com/Starlio-app/Starlio')">
</div> </div>
</div> </div>
</div> </div>