nineskeletor/templates/Home/home.html.twig

26 lines
868 B
Twig

{% extends "base.html.twig" %}
{% block body %}
{% if app.user %}
<div class="row">
<div class="col col-md6">
<h3>Chat #1</h3>
{{ render(path("app_publish_sample",{id:1})) }}
</div>
<div class="col col-md6">
<h3>Chat #2</h3>
{{ render(path("app_publish_sample",{id:2})) }}
</div>
</div>
{% else %}
<div style="text-align:center">
<img src="{{ path('app_minio_image',{file:"logo/"~app.session.get("logolight")}) }}" style="height:120px;margin-top:10px;margin-bottom:20px;">
<h1 style="border:none">{{app.session.get('appname')}}</h1>
<div style="max-width:600px; text-align:justify; margin:auto ">{{app.session.get('appdescription')|raw}}</div>
</div>
{% endif %}
{% endblock %}