update homepage link

This commit is contained in:
Jannis Portmann 2021-05-01 00:14:32 +02:00
parent 1effd26ee9
commit c7e261745b

View file

@ -16,37 +16,26 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
</head> </head>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<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>
<a class="navbar-brand" href="#"><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">
<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>
<span class="navbar-toggler-icon"></span> </button>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto">
<ul class="navbar-nav mr-auto"> <li class="nav-item">
<li class="nav-item"> <a class="nav-link" href=" {{ path('homepage') }} ">Listings</a>
<a class="nav-link" href=" {{ path('homepage') }} ">Listings</a> </li>
</li> <li class="nav-item">
<li class="nav-item"> <a class="nav-link" href="{{ path('user_page') }}">User</a>
<a class="nav-link" href="{{ path('user_page') }}">User</a> </li>
</li> <li>
<li> <a class="nav-link" href="{{ path('new_listing') }}">New Offer</a>
<a class="nav-link" href="{{ path('new_listing') }}"><i class="fas fa-plus-square"></i> New</a> </li>
</li> </ul>
</ul> </div>
<form class="form-inline my-2 my-lg-0"> </nav>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<div class="container listings-container"> <div class="container listings-container">
{% block body %}{% endblock %} {% block body %}{% endblock %}