{% extends "master.html" %} {% block title %}{{hconfig(ConfigEnum.branding_title) or _('user.home.title')}}{% endblock %} {% from 'macros.html' import modal %} {% block body_header %}

{% if g.darkmode %} {% else %} {% endif %} {{hconfig(ConfigEnum.branding_title) or _('user.home.title')}}:
{{_('Welcome %(user)s',user=user.name if user.name!="default" else "")}}

{%endblock%} {% block body %} {% include "home/usage.html" %} {% include "home/one_click.html" %}
{{_('user.home.select os')}}
{% include 'home/telegram.html' %}
{% include 'home/android.html' %}
{% include 'home/ios.html' %}
{% include "home/windows.html" %}
{% include 'home/all-configs.html'%}
{{_('user.home.select tool')}}
{% include 'home/speedtest.html' %}
{% include 'home/doh.html' %}

{{_('QR code')}}

{{_('user.home.qr-code.description')}}

{% endblock %} {% block tail_js %} {{ super() }} {% if has_auto_cdn and hconfig(ConfigEnum.country)!="other" and country.lower()!=hconfig(ConfigEnum.country) %} {% macro reload() -%} {%- endmacro -%} {{modal("country-alarm-modal",_("Turn of VPN"),_("You should visit this page without VPN. Your country=%(your_country)s expected=%(expected_country)s",your_country=country,expected_country=hconfig(ConfigEnum.country)),footer=reload(),show=True)}} {% endif %} {% endblock %}