#4 -- Fix menu

This commit is contained in:
Anton Romanov 2021-03-16 17:59:18 +04:00
parent 4c3725a38b
commit 1418949a90

View File

@ -14,7 +14,7 @@
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light" layout:fragment="navbar">
<a class="navbar-brand" href="#" th:text="#{messages.app-name}">Navbar</a>
<a class="navbar-brand" href="/" th:text="#{messages.app-name}">Navbar</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>
@ -23,7 +23,7 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#" th:text="#{messages.menu.home}">Home</a>
<a class="nav-link" href="/" th:text="#{messages.menu.home}">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" th:text="#{messages.menu.new-repo}">Link</a>