This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
pflaenz.li-Symfony/templates/base.html.twig

45 lines
1.7 KiB
Twig
Raw Normal View History

2021-04-22 12:46:14 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
{# Run `composer require symfony/webpack-encore-bundle`
and uncomment the following Encore helpers to start using Symfony UX #}
{% block stylesheets %}
2021-04-24 16:59:51 +02:00
{{ encore_entry_link_tags('app') }}
2021-04-22 12:46:14 +02:00
{% endblock %}
{% block javascripts %}
2021-04-24 16:59:51 +02:00
{{ encore_entry_script_tags('app') }}
2021-04-22 12:46:14 +02:00
{% endblock %}
2021-04-24 16:59:51 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2021-04-22 12:46:14 +02:00
</head>
<body>
2021-05-01 00:14:32 +02:00
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="{{ path('homepage') }}"><i class="fas fa-seedling"></i>Plantex</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href=" {{ path('homepage') }} ">Listings</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ path('user_page') }}">User</a>
</li>
<li>
<a class="nav-link" href="{{ path('new_listing') }}">New Offer</a>
</li>
</ul>
</div>
</nav>
2021-04-27 10:20:02 +02:00
<div class="container listings-container">
2021-04-24 16:59:51 +02:00
{% block body %}{% endblock %}
</div>
2021-04-22 12:46:14 +02:00
</body>
</html>