26 lines
969 B
Twig
26 lines
969 B
Twig
{% extends 'master.twig' %}
|
|
|
|
{% set banner_classes = user.isActive ? "banner--large" : "banner--insane landing__banner" %}
|
|
{% set banner = user.isActive ? route('user.header', user.id) : "https://i.flash.moe/7131467636550.jpg" %}
|
|
|
|
{% block banner_content %}
|
|
{% if user.isActive %}
|
|
{% else %}
|
|
<div class="landing__inner">
|
|
<div class="landing__buttons">
|
|
<a href="{{ route('auth.register') }}" class="landing__button">register</a>
|
|
<a href="#" class="landing__button">login</a>
|
|
</div>
|
|
<div class="landing__text">
|
|
<p>Welcome to my humble abode, it doesn't look like much but if you like rectangles this is the place for you.</p>
|
|
<p>Allow me to expound for five paragraphs on why you should join.</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="platform">
|
|
stuff here
|
|
</div>
|
|
{% endblock %}
|