diff --git a/public/profile.css b/public/css/profile.css similarity index 100% rename from public/profile.css rename to public/css/profile.css diff --git a/public/css/styles.css b/public/css/styles.css index 491b2ddd62ae4e959847b4365949448dbe6b72cd..355dcd9cb462805f5c14fa8a93c62856c9a383a2 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -41,6 +41,18 @@ nav a:hover { background: rgba(255, 255, 255, 0.5); } +.btn-login { + background-color: #4CAF50; + color: white; + padding: 10px 20px; + border-radius: 5px; + text-decoration: none; + font-weight: bold; +} + +.btn-login:hover { + background-color: #45a049; +} /* SEARCH BAR */ form { diff --git a/views/createtour.ejs b/views/createtour.ejs index 601e06505636d270847ead243ba60f501b58c19c..2687700a49d3c80ec960d49c0d71d62cc726a9ad 100644 --- a/views/createtour.ejs +++ b/views/createtour.ejs @@ -7,11 +7,8 @@ <link rel="stylesheet" href="/css/create.css"> </head> <body> - <header> - <h1>Create New Tour</h1> - </header> - <main> + <h1>Create New Tour</h1> <form action="/create" method="POST"> <div> <label for="tourName">Tour Name:</label> diff --git a/views/index.ejs b/views/index.ejs index e59dd425b817d9b1c0fa50b6d14914ebf3c3c75a..56c199c99434ba0f1366ab57cb429f3a11ad3c6d 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -22,7 +22,7 @@ <a href="/profile"><%= session.userName %></a> <!-- แสดงชื่อผู้ใช้ --> <a href="/logout">Logout</a> <% } else { %> - <a href="/login">Login</a> <!-- ถ้ายังไม่ได้ login --> + <a href="/login" class="btn-login">Login</a> <!-- ถ้ายังไม่ได้ login --> <% } %> </nav> </header>