Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 8ba5a29d authored by 65160394's avatar 65160394
Browse files

Project Round 7

parent cdb17eab
No related branches found
No related tags found
No related merge requests found
...@@ -41,17 +41,27 @@ nav a:hover { ...@@ -41,17 +41,27 @@ nav a:hover {
background: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5);
} }
.btn-login { .login-btn {
background-color: #4CAF50; display: flex;
align-items: center;
gap: 8px;
background-color: transparent;
color: white; color: white;
border: 2px solid white;
padding: 10px 20px; padding: 10px 20px;
border-radius: 5px; font-size: 16px;
text-decoration: none;
font-weight: bold; font-weight: bold;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s ease;
}
.login-btn:hover {
background-color: rgba(255, 255, 255, 0.2);
} }
.btn-login:hover { .login-btn i {
background-color: #45a049; font-size: 18px;
} }
/* SEARCH BAR */ /* SEARCH BAR */
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<a><%= session.userName %></a> <!-- แสดงชื่อผู้ใช้ --> <a><%= session.userName %></a> <!-- แสดงชื่อผู้ใช้ -->
<a href="/logout">Logout</a> <a href="/logout">Logout</a>
<% } else { %> <% } else { %>
<a href="/login" class="btn-login">Login</a> <!-- ถ้ายังไม่ได้ login --> <a href="/login" class="login-btn">Login</a> <!-- ถ้ายังไม่ได้ login -->
<% } %> <% } %>
</nav> </nav>
</header> </header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment