Gitlab@Informatics

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

Project Round 2

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