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

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> </button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav"> <div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav" id="headerNavigation"> <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" <a class="nav-link headNav" href="/customer"
th:classappend="${#strings.equals(activeLink, '/customer')} ? 'active' : ''">Клиенты</a> th:classappend="${#strings.equals(activeLink, '/customer')} ? 'active' : ''">Клиенты</a>
<a class="nav-link headNav" href="/store" <a class="nav-link headNav" href="/store"

View File

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