123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <!DOCTYPE html>
- <html lang="fr" data-theme="light">
- <head>
- <meta charset="UTF-8">
- <title>{% block title %}Welcome!{% endblock %}</title>
- <!-- feuilles de style -->
- <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
- {% block stylesheets %}
- {% endblock %}
- <!-- /feuilles de style -->
- <!-- javascripts -->
- {% block javascripts %}
- {% block importmap %}{{ importmap('app') }}{% endblock %}
- {% endblock %}
- <!-- /javascripts -->
- </head>
- <body {{ stimulus_controller('bulma-switch') }}>
- <!-- Navbar -->
- <nav class="navbar is-fixed-top has-shadow" role="navigation" aria-label="main navigation">
- <div class="container ">
- <div class="navbar-brand">
- <a class="navbar-item" href="/">
- <strong>Orgasso</strong>
- </a>
- <!-- Mobile menu toggle -->
- <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarMain" {{ stimulus_controller('bulma-burger') }}>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <!-- Liens principaux -->
- <div id="navbarMain" class="navbar-menu">
- <div class="navbar-start">
- <a class="navbar-item" href="{{ path('app_main') }}">Accueil</a>
- <a class="navbar-item" href="#">Lien 1</a>
- <a class="navbar-item" href="#">Lien 2</a>
- </div>
- <div class="navbar-end">
- <div class="navbar-item is-hoverable has-text-current is-clickable" id="theme-toggle">
- <span class="icon is-small">
- {{ ux_icon('bi:circle-half') }}
- </span>
- </div>
- {% if app.user %}
- <div class="navbar-item has-dropdown is-hoverable">
- <a class="navbar-link">{{ app.user.firstName }}</a>
- <div class="navbar-dropdown is-right">
- <a class="navbar-item" href="{{ path('app_profile') }}" class="">Mon compte</a>
- <a class="navbar-item" href="#">Mes réservations</a>
- {% if is_granted('ROLE_ADMIN') %}
- <hr class="navbar-divider" />
- <a class="navbar-item" href="{{ path('app_admin') }}">Administration</a>
- <hr class="navbar-divider" />
- {% endif %}
- <a class="navbar-item" href="{{ path('app_logout') }}">Me déconnecter</a>
- </div>
- </div>
- {% else %}
- <div class="navbar-item">
- <div class="buttons">
- <a class="button is-primary" href="{{ path('app_login') }}">Connexion</a>
- </div>
- </div>
- {% endif %}
- </div>
- </div>
- </div>
- </nav>
- <!-- contenu principal -->
- <section class="main-content section">
- <div class="container">
- {% block messages %}
- {% for type, message in app.flashes() %}
- {{ component('Alert', {message: message[0], type: type}) }}
- {% endfor %}
- {% endblock %}
- {% block content %}
- <!-- Section 1 - Introduction -->
- <h1 class="title">Bienvenue sur notre site</h1>
- <p class="subtitle">Une introduction rapide à notre contenu et à notre mission.</p>
-
- {% endblock %}
- </div>
- </section>
- <footer class="footer">
- <div class="content has-text-centered">
- <p>
- <strong>Orgasso</strong> est une application de gestion de l'organisation d'événements pour les associations rôlistes.
- Application <a href="https://git.portes-imaginaire.org/portes-imaginaire_org/orgasso">diffusée</a> sous licence <a href="https://opensource.org/license/gpl-3-0">GPL 3.0</a>.
- </p>
- <p><a href="{{ path('app_code_of_conduct') }}">Charte animations</a> • <a href="{{ path('app_terms') }}">Conditions générales d'utilisation</a> • <a href="{{ path('app_legal') }}">Mentions légales</a> • <a href="{{ path('app_contact') }}">Contacts</a></p>
- </div>
- </footer>
- </body>
- </html>
|