Пятая лабораторная работа. Фикс ссылки на главную

This commit is contained in:
abazov73 2023-05-02 08:40:50 +04:00
parent 4a27990626
commit 20af7ec707
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -23,6 +23,8 @@
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav" id="headerNavigation">
<a class="nav-link headNav" href="/"
th:classappend="${#strings.equals(activeLink, '/')} ? 'active' : ''">Главная</a>
<a class="nav-link headNav" href="/customer"
th:classappend="${#strings.equals(activeLink, '/customer')} ? 'active' : ''">Клиенты</a>
<a class="nav-link headNav" href="/store"

View File

@ -6,8 +6,7 @@
</head>
<body>
<div layout:fragment="content">
<div>It's works!</div>
<a href="123">ERROR</a>
<h2>Добро пожаловать!</h2>
</div>
</body>
</html>