nineskeletor/templates/Home/home.html.twig

22 lines
721 B
Twig
Raw Normal View History

2022-07-21 16:15:47 +02:00
{% extends "base.html.twig" %}
{% block body %}
{% if app.user %}
2022-07-25 17:16:08 +02:00
<div class="row">
<div class="col col-md6">
<h3>Chat #1</h3>
{{ render(path("app_publish_sample",{id:1})) }}
</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>
2022-07-21 16:15:47 +02:00
{% endif %}
2022-07-21 16:15:47 +02:00
{% endblock %}