11<!DOCTYPE html>
22< html lang ="en ">
3-
43< head >
54 < meta charset ="UTF-8 ">
65 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
109 < script src ="../FrontEnd/Scripts/script.js "> </ script >
1110 < link rel ="stylesheet " href ="../FrontEnd/Styles/header-footer.css ">
1211</ head >
13-
1412< body class ="bg-blue-900 text-white ">
13+ < header id ="dashboard-header ">
14+ </ header >
1515
16- < header id ="dashboard-header "> </ header >
17-
18- < div class ="container mx-auto px-4 py-8 ">
19- < div class ="grid grid-cols-1 lg:grid-cols-3 gap-8 ">
16+ < div class ="container mx-auto px-4 py-10 ">
17+ < div class ="grid grid-cols-1 lg:grid-cols-3 gap-10 ">
2018 <!-- Course Information -->
21- < div class ="lg:col-span-2 center ">
22- < h1 class ="text-3xl font-bold "> < ?php echo htmlspecialchars($row['title']); ?> </ h1 >
23- < p class ="mt-4 text-lg text-gray-300 ">
24- < ?php echo htmlspecialchars($row['description']); ?>
25- </ p >
19+ < div class ="lg:col-span-2 bg-gray-800 p-6 rounded-lg shadow-lg transition-transform transform hover:scale-105 ">
20+ < h1 class ="text-4xl font-bold "> < ?php echo htmlspecialchars($row['title']); ?> </ h1 >
21+ < p class ="mt-4 text-lg text-gray-300 "> < ?php echo htmlspecialchars($row['description']); ?> </ p >
2622 < div class ="flex items-center mt-4 space-x-2 ">
2723 < span class ="text-yellow-400 text-xl "> ★ 4.5</ span >
2824 < a href ="# " class ="text-purple-500 underline "> 323 ratings</ a >
@@ -37,29 +33,22 @@ <h1 class="text-3xl font-bold"><?php echo htmlspecialchars($row['title']); ?></h
3733
3834 <!-- Pricing and Actions -->
3935 < div class ="bg-gray-800 p-6 rounded-lg shadow-md ">
40- < img src ="../uploads/courses_image/<?php echo htmlspecialchars($row['image_path']); ?> " alt ="Course Preview "
41- class ="w-full h-auto rounded-lg mb-4 ">
36+ < img src ="../uploads/courses_image/<?php echo htmlspecialchars($row['image_path']); ?> " alt ="Course Preview " class ="w-full h-auto rounded-lg mb-4 shadow-md ">
4237 < div class ="text-4xl font-bold text-white "> ₹< ?php echo htmlspecialchars($row['price']); ?> </ div >
4338 < div class ="text-gray-400 line-through "> ₹1,999</ div >
4439 < div class ="text-red-500 font-semibold mt-1 "> 78% off</ div >
4540 < div class ="text-red-400 mt-2 "> ⏳ Sale is Live!</ div >
4641
47- < div class ="mt-6 ">
48- < button class ="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 rounded-lg ">
49- < a href ="enroll.php?id=<?php echo htmlspecialchars($row['id']); ?> " class ="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 rounded-lg outline-none ">
50- Add to cart
51- </ a >
52- </ button >
53- < button class ="w-full mt-4 border-2 border-white hover:bg-gray-700 text-white font-semibold py-3 rounded-lg ">
54- < a href ="enroll.php?id=<?php echo htmlspecialchars($row['id']); ?> " class ="w-full mt-4 hover:bg-gray-700 text-white font-semibold py-3 rounded-lg "> Buy now</ a >
55- </ button >
42+ < div class ="mt-6 space-y-4 ">
43+ < a href ="enroll.php?id=<?php echo htmlspecialchars($row['id']); ?> " class ="block w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 rounded-lg text-center transition duration-300 transform hover:scale-105 "> Add to cart</ a >
44+ < a href ="enroll.php?id=<?php echo htmlspecialchars($row['id']); ?> " class ="block w-full border-2 border-white hover:bg-gray-700 text-white font-semibold py-3 rounded-lg text-center transition duration-300 transform hover:scale-105 "> Buy now</ a >
5645 </ div >
5746 </ div >
5847 </ div >
5948 </ div >
6049
6150 <!-- Footer -->
62- < div id ="dashboard-footer "> </ div >
51+ < footer id ="dashboard-footer ">
52+ </ footer >
6353</ body >
64-
65- </ html >
54+ </ html >
0 commit comments