Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 7a451e58 authored by 65160394's avatar 65160394
Browse files

Project Round 2

parent 0e9eeb36
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="th">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/style.css"> <title>ทัวร์ท่องเที่ยว</title>
<title>Tour Website</title>
</head> </head>
<body>
<header> <header>
<h1>Welcome to Our Tour Website</h1> <h1>Welcome to Our Tour Website</h1>
<nav> <nav>
...@@ -16,32 +14,14 @@ ...@@ -16,32 +14,14 @@
<a href="/login">Login</a> <a href="/login">Login</a>
</nav> </nav>
</header> </header>
<body>
<section class="tour-list"> <h1>แพ็กเกจทัวร์</h1>
<h2>Available Tours</h2>
<ul> <ul>
<% tours.forEach(tour => { %> <% tours.forEach(tour => { %>
<li class="tour-card"> <li>
<a href="/tour/<%= tour.id %>"> <a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> บาท
<div class="tour-card-img">
<img src="<%= tour.imageUrl %>" alt="<%= tour.name %>">
</div>
<div class="tour-card-info">
<h3><%= tour.name %></h3>
<p><%= tour.description %></p>
<div class="price">
<span><%= tour.price %> THB</span>
</div>
</div>
</a>
</li> </li>
<% }) %> <% }) %>
</ul> </ul>
</section>
<footer>
<p>&copy; 2025 Tour Website. All Rights Reserved.</p>
</footer>
</body> </body>
</html> </html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment