2021-04-22 12:46:14 +02:00
|
|
|
<!DOCTYPE html>
|
2022-01-11 23:06:12 +01:00
|
|
|
<html lang="en">
|
2022-01-19 12:49:07 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Pflänz.li -
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
</title>
|
2022-01-19 15:58:59 +01:00
|
|
|
{% block meta %}{% endblock %}
|
|
|
|
{% if app_env == 'prod' %}
|
|
|
|
<meta name="robots" content="index,follow" />
|
|
|
|
{% endif %}
|
|
|
|
<meta name="publisher" content="pflänz.li" />
|
2022-01-25 16:27:30 +01:00
|
|
|
<meta name="keywords" content="trade, share, plants, sustainability, pflanzentausch, pflanzen" />
|
2021-05-03 18:06:55 +02:00
|
|
|
|
2022-01-19 12:49:07 +01:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ encore_entry_link_tags('app') }}
|
|
|
|
{% endblock %}
|
2021-04-22 12:46:14 +02:00
|
|
|
|
2022-01-19 12:49:07 +01:00
|
|
|
{% block javascripts %}
|
|
|
|
{{ encore_entry_script_tags('app') }}
|
2021-05-06 14:07:03 +02:00
|
|
|
|
2022-01-19 12:49:07 +01:00
|
|
|
<!-- Matomo -->
|
|
|
|
<script>
|
|
|
|
var _paq = window._paq = window._paq || [];
|
2022-01-24 23:52:29 +01:00
|
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
|
|
_paq.push(['trackPageView']);
|
|
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
(function () {
|
2022-01-25 17:38:27 +01:00
|
|
|
var u = "https://analytics.thisfro.ch/";
|
2022-01-24 23:52:29 +01:00
|
|
|
_paq.push([
|
|
|
|
'setTrackerUrl',
|
|
|
|
u + 'matomo.php'
|
|
|
|
]);
|
|
|
|
_paq.push(['setSiteId', '2']);
|
|
|
|
var d = document,
|
|
|
|
g = d.createElement('script'),
|
|
|
|
s = d.getElementsByTagName('script')[0];
|
|
|
|
g.async = true;
|
|
|
|
g.src = u + 'matomo.js';
|
|
|
|
s.parentNode.insertBefore(g, s);
|
|
|
|
})();
|
2022-01-19 12:49:07 +01:00
|
|
|
</script>
|
|
|
|
<!-- End Matomo Code -->
|
|
|
|
{% endblock %}
|
2021-04-24 16:59:51 +02:00
|
|
|
|
2022-01-19 12:49:07 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
|
|
<a class="navbar-brand" href="{{ path('homepage') }}">
|
|
|
|
<i class="fas fa-seedling"></i>Pflänz.li</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>
|
2021-04-27 10:20:02 +02:00
|
|
|
|
2022-01-19 12:49:07 +01:00
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href=" {{ path('offers') }} ">
|
|
|
|
<i class="fas fa-seedling"></i>
|
|
|
|
Offers</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<i class="fas fa-user"></i>
|
|
|
|
User</a>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="{{ path('own_offers') }}">
|
|
|
|
<i class="fas fa-seedling"></i>
|
|
|
|
My Offers</a>
|
|
|
|
<a class="dropdown-item" href="{{ path('wishlist') }}">
|
|
|
|
<i class="fas fa-star"></i>
|
|
|
|
Wishlist</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a class="dropdown-item" href="{{ path('user_page') }}">
|
|
|
|
<i class="fas fa-user"></i>
|
|
|
|
User settings</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a class="nav-link" href="{{ path('new_offer') }}">
|
|
|
|
<i class="fas fa-plus-square"></i>
|
|
|
|
New Offer</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<span>
|
|
|
|
{% if is_granted('ROLE_USER') %}
|
|
|
|
<a class="btn btn-light" href="{{ path('app_logout') }}">Log out</a>
|
|
|
|
{% else %}
|
|
|
|
<a class="btn btn-light" href="{{ path('app_login') }}">Log in</a>
|
|
|
|
{% endif %}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2021-05-19 23:07:19 +02:00
|
|
|
|
2022-01-19 12:49:07 +01:00
|
|
|
<div class="container pt-5"> {% block body %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<footer class="text-dark p-3">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg"></div>
|
|
|
|
<div class="col-lg text-center pt-3">
|
|
|
|
<section class="mb-1">
|
|
|
|
<h2 class="d-none">Social Links</h2>
|
2022-01-19 14:58:06 +01:00
|
|
|
<a class="btn btn-link btn-floating btn-lg text-dark m-1" rel="me" href="https://mastodon.social/@pflaenzli" role="button" data-mdb-ripple-color="dark">
|
2022-01-19 12:49:07 +01:00
|
|
|
<i class="fab fa-mastodon"></i>
|
|
|
|
</a>
|
|
|
|
<a class="btn btn-link btn-floating btn-lg text-dark m-1" href="https://git.thisfro.ch/thisfro/pflaenz.li" role="button" data-mdb-ripple-color="dark">
|
|
|
|
<i class="fab fa-git-alt"></i>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg pt-4">
|
|
|
|
<section>
|
|
|
|
<h2 class="h5">Links</h2>
|
|
|
|
<ul class="link-list">
|
|
|
|
<li><a href="https://blog.pflänz.li">Blog</a></li>
|
|
|
|
<li><a href="{{ path('imprint') }}">Imprint</a></li>
|
|
|
|
<li><a href="{{ path('faq') }}">FAQ</a></li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row pt-3">
|
|
|
|
<div class="text-center text-dark w-100">
|
|
|
|
<a class="text-dark" href="{{ path('homepage') }}"><i class="far fa-copyright mr-1"></i>{{ 'now' | date('Y') }} pflänz.li</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|