This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/resources/views/nova/meta/index.twig

26 lines
975 B
Twig

{% extends '@nova/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 %}