add guide to enabling push notifs

pull/163/head
Aevann 2023-07-01 04:11:21 +03:00
parent 6bd40e1c41
commit c0748c8a36
3 changed files with 13 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -2,7 +2,7 @@
{% block pagetitle %}App{% endblock %}
{% block content %}
<div class="ml-3 mt-4">
<b>How to install {{SITE_NAME}}'s mobile app</b>
<h5>How to install {{SITE_NAME}}'s mobile app</h5>
{% if not v and g.browser == 'chromium' %}
{% set type = 'chromium-lo' %}
@ -12,10 +12,18 @@
{% set type = g.browser %}
{% endif %}
<div class="font-weight-bold mt-4 mb-2">First step:</div>
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" alt="First step" style="height:30vh" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/app-{{type}}-1.webp">
<div class="font-weight-bold mt-4 mb-2">Step 1:</div>
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" alt="Step 1" style="height:30vh" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/app-{{type}}-1.webp">
<div class="font-weight-bold mt-4 mb-2">Step 2:</div>
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" alt="Step 2" style="height:30vh" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/app-{{type}}-2.webp">
{% if g.browser == 'iphone' %}
<hr class="mt-5 mb-5">
<h5>How to enable push notifications inside the app:</h5>
<div class="font-weight-bold mt-4 mb-2">Step 1:</div>
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" alt="Step 1" style="height:30vh" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/enable-push-notifs.webp">
{% endif %}
<div class="font-weight-bold mt-4 mb-2">Second step:</div>
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" alt="Second step" style="height:30vh" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/app-{{type}}-2.webp">
</div>
{% endblock %}