#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> </head>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-light bg-light" layout:fragment="navbar"> <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" <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
@ -23,7 +23,7 @@
<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 active"> <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>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#" th:text="#{messages.menu.new-repo}">Link</a> <a class="nav-link" href="#" th:text="#{messages.menu.new-repo}">Link</a>