templates/home.html.twig line 1
{% extends './base.html.twig' %}
{% block title %}{{ 'title_home'|trans({}, 'messages') }}{% endblock %}
{% block body %}
<div class="border-bottom">
<div class="bg-light py-1">
<div class="container-fluid">
<div class="row align-items-center gx-lg-2 gx-0">
<div class="col-6"><span>A simple way to send SMS messages to your customers.</span></div>
<div class="col-6 text-end">
{{ flags|raw }}
</div>
</div>
</div>
</div>
<div class="py-3">
<div class="container-fluid">
<div class="row w-100 align-items-center gx-lg-2 gx-0">
<div class="col-xxl-2 col-lg-3 col-md-6 col-5">
<a class="navbar-brand d-none d-lg-block" href="./index.html">
<img src="../../../internalImages/logo.png" alt="eCommerce HTML Template" style="width: 200px;">
</a>
<div class="d-flex justify-content-between w-100 d-lg-none">
<a class="navbar-brand" href="./index.html">
<img src="../../../internalImages/logo.png" alt="eCommerce HTML Template" style="width: 200px;">
</a>
</div>
</div>
<div class="col-lg-10 col-xxl-10 text-end col-md-6 col-7">
<div class="list-inline">
<div class="list-inline-item">
{% if is_granted('ROLE_USER') %}
<a href="{{ path('logout') }}" class="text-decoration-none" title="{{ 'logout_button_alt'|trans({}, 'messages') }}">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" width="40"><path d="M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"/></svg>
</a>
{% else %}
<a href="{{ path('login') }}" class="text-decoration-none" title="{{ 'login_button_alt'|trans({}, 'messages') }}">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" width="40"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8 .4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"/></svg>
</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" aria-label="Eighth navbar example">
<div class="container-fluid">
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsExample07" aria-controls="navbarsExample07" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse" id="navbarsExample07">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
{% if is_granted('ROLE_USER') %}
<a href="{{ path('home') }}" class="nav-link" title="{{ 'home_button_alt'|trans({}, 'messages') }}"><i class="fas fa-user-edit"></i> {{ 'home_button'|trans({}, 'messages') }}</a>
{% endif %}
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false">Categorias</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</li>
</ul>
<form role="search">
<input class="form-control" type="search" placeholder="Search" aria-label="Search">
</form>
</div>
</div>
</nav>
</div>
<div class="container-fluid mb-5">
<div class="row">
{% set message = '' %} {% set color = '' %} {% set filename = '' %}
{% for key, value in app.flashes %}
{% if key == 'message' %}
{% set message = value[0] %}
{% elseif key == 'color' %}
{% set color = value[0] %}
{% elseif key == 'filename' %}
{% set filename = value[0] %}
{% else %}
{% endif %}
{% endfor %}
{% if message %}
<div class="container">
<div class="row d-flex justify-content-between align-items-center my-3 pb-3">
<div class="alert alert-{{ color }} mt-3" role="alert">
{{ message }}
</div>
</div>
</div>
{% endif %}
<div class="container pt-3">
<div class="row">
<section class="py-5">
<div class="container">
<div class="row justify-content-center text-center mb-4">
<div class="col-lg-8 col-xxl-7">
<h2 class="display-5 fw-bold">How it Works</h2>
<p class="lead">Follow these steps to create an account and start using our SMS service.</p>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="text-center position-relative">
<div class="step-icon mx-auto bg-primary border rounded-circle d-flex align-items-center justify-content-center " style="width:120px;height:120px;">
<i class="fas fa-user-plus text-white" style="font-size: 30px;"></i>
</div>
<h4 class="mt-3 fs-5">Create Account</h4>
<p class="lead text-muted mt-4 fs-5 px-lg-3 mb-5 mb-lg-0">Fill out the registration form to create an account.</p>
<div class="arrow-icon position-absolute d-none d-lg-block" style="top:50px; right:-25px">
<svg class="bi bi-arrow-right" fill="currentColor" height="30" viewBox="0 0 16 16" width="30" xmlns="http://www.w3.org/2000/svg">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z" fill-rule="evenodd"></path></svg>
</div>
</div>
</div>
<div class="col-md-3">
<div class="text-center position-relative">
<div class="step-icon mx-auto bg-primary border rounded-circle d-flex align-items-center justify-content-center" style="width: 120px;height: 120px;">
<svg class="bi bi-envelope-exclamation text-white" fill="currentColor" height="30" viewBox="0 0 16 16" width="30" xmlns="http://www.w3.org/2000/svg">
<path d="M2 2a2 2 0 0 0-2 2v8.01A2 2 0 0 0 2 14h5.5a.5.5 0 0 0 0-1H2a1 1 0 0 1-.966-.741l5.64-3.471L8 9.583l7-4.2V8.5a.5.5 0 0 0 1 0V4a2 2 0 0 0-2-2H2Zm3.708 6.208L1 11.105V5.383l4.708 2.825ZM1 4.217V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v.217l-7 4.2-7-4.2Z"></path>
<path d="M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm.5-5v1.5a.5.5 0 0 1-1 0V11a.5.5 0 0 1 1 0Zm0 3a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"></path></svg>
</div>
<h4 class="mt-3 fs-5">Activate Your Accoount</h4>
<p class="lead text-muted mt-4 fs-5 px-lg-3 mb-5 mb-lg-0">Check your email for the activation link.</p>
<div class="arrow-icon d-none d-lg-block position-absolute" style="top:50px; right:-25px">
<svg class="bi bi-arrow-right" fill="currentColor" height="30" viewBox="0 0 16 16" width="30" xmlns="http://www.w3.org/2000/svg">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z" fill-rule="evenodd"></path></svg>
</div>
</div>
</div>
<div class="col-md-3">
<div class="text-center position-relative">
<div class="step-icon mx-auto bg-primary border rounded-circle d-flex align-items-center justify-content-center" style="width: 120px;height: 120px;">
<i class="fas fa-money-check-alt text-white" style="font-size: 30px;"></i>
</div>
<h4 class="mt-3 fs-5">Purchase Credits</h4>
<p class="lead text-muted mt-4 fs-5 px-lg-3 mb-5 mb-lg-0">Purchase credits to send SMS messages.</p>
<div class="arrow-icon d-none d-lg-block position-absolute" style="top:50px; right:-25px">
<svg class="bi bi-arrow-right" fill="currentColor" height="30" viewBox="0 0 16 16" width="30" xmlns="http://www.w3.org/2000/svg">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z" fill-rule="evenodd"></path></svg>
</div>
</div>
</div>
<div class="col-md-3">
<div class="text-center position-relative">
<div class="step-icon mx-auto bg-primary border rounded-circle d-flex align-items-center justify-content-center" style="width: 120px;height: 120px;">
<i class="fas fa-key text-white" style="font-size: 30px;"></i>
</div>
<h4 class="mt-3 fs-5">Send SMS</h4>
<p class="lead text-muted mt-4 fs-5 px-lg-3 mb-5 mb-lg-0">You will receive an API key to send SMS messages.</p>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
{% endblock %}