diff --git a/views/index.ejs b/views/index.ejs index 56bc8c049db2df1e9ff948121f42a238e12af11c..eab6f52b444174b3f2dcac7809fe41ad9329ba3d 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,18 +1,29 @@ <!DOCTYPE html> -<html lang="th"> +<html lang="en"> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>ทัวร์ท่องเที่ยว</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Tour Website</title> + <link rel="stylesheet" href="/css/style.css"> </head> <body> - <h1>แพ็กเกจทัวร์</h1> + <header> + <h1>Welcome to Our Tour Website</h1> + </header> + + <section> + <h2>Available Tours</h2> <ul> - <% tours.forEach(tour => { %> - <li> - <a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> บาท - </li> - <% }) %> + <% tours.forEach(tour => { %> + <li> + <a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> THB + </li> + <% }) %> </ul> + </section> + + <footer> + <p>© 2025 Tour Website</p> + </footer> </body> </html> diff --git a/views/tour-details.ejs b/views/tour-details.ejs index 477f56a43c5f7e63e4aac8efe8c501be36ececa2..f068833b944f2cbdf935585160a921f332fa5914 100644 --- a/views/tour-details.ejs +++ b/views/tour-details.ejs @@ -1,14 +1,24 @@ <!DOCTYPE html> -<html lang="th"> +<html lang="en"> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title><%= tour.name %></title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title><%= tour.name %> - Tour Details</title> + <link rel="stylesheet" href="/css/style.css"> </head> <body> - <h1><%= tour.name %></h1> - <p>รายละเอียด: <%= tour.description %></p> - <p>ราคา: <%= tour.price %> บาท</p> - <a href="/">กลับไปหน้าหลัก</a> + <header> + <h1>Tour Details: <%= tour.name %></h1> + </header> + + <section> + <h2>Description</h2> + <p><%= tour.description %></p> + <p>Price: <%= tour.price %> THB</p> + </section> + + <footer> + <p>© 2025 Tour Website</p> + </footer> </body> </html>