-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogram.html
More file actions
174 lines (148 loc) · 5.04 KB
/
Copy pathprogram.html
File metadata and controls
174 lines (148 loc) · 5.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TutorConnect - Programs</title>
<link rel="stylesheet" href="css/programs.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
<!-- Add FontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="./js/footer.js"></script>
<script>
document.addEventListener("DOMContentLoaded", ()=> {loadfooter(document);});
</script>
<style>
/* Add custom header styles */
.header-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
background: #FFFFFF;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-logo {
width: 120px;
}
.header-logo img {
width: 100%;
height: auto;
}
.navbar-toggler {
border: none;
background: none;
font-size: 24px;
color: #565D6D;
cursor: pointer;
}
.header-menu {
display: flex;
gap: 20px;
}
.header-menu-item {
color: #565D6D;
text-decoration: none;
transition: color 0.3s ease;
}
.header-menu-item.selected {
color: #A15541;
font-weight: 700;
border-bottom: 3px solid #A15541;
}
.profile-icon{
width: 40px;
height: 40px;
}
.profile-icon img {
width: 40x;
height: 40px;
aspect-ratio: 1;
border-radius: 50%;
border: 2px solid #e0e0e0;
transition: all 0.3s ease;
background-color: blue;
}
@media (max-width: 767.98px) {
.header-menu, .profile-icon {
display: none;
}
.offcanvas-body .header-menu {
flex-direction: column;
gap: 10px;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<header class="header-container">
<!-- Logo -->
<div class="header-logo">
<img src="assets/Untitled.png" alt="TutorConnect">
</div>
<!-- Hamburger Menu Button -->
<button class="navbar-toggler d-block d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar">
<i class="fas fa-bars"></i>
</button>
<!-- Navigation Menu -->
<nav class="header-menu d-none d-md-flex">
<a href="homepage2.html" class="header-menu-item">Home</a>
<a href="program.html" class="header-menu-item selected">Programs</a>
<a href="tutor.html" class="header-menu-item">Tutors</a>
<a href="booking.html" class="header-menu-item">Bookings</a>
</nav>
<!-- Profile Icon -->
<div class="profile-icon">
<img src="profile-icon.png" alt="Profile">
</div>
<!-- Offcanvas Menu -->
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasNavbar">
<div class="offcanvas-header">
<h5 class="offcanvas-title">Menu</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas"></button>
</div>
<div class="offcanvas-body">
<nav class="header-menu d-flex flex-column">
<a href="homepage2.html" class="header-menu-item">Home</a>
<a href="program.html" class="header-menu-item selected">Programs</a>
<a href="tutor.html" class="header-menu-item">Tutors</a>
<a href="booking.html" class="header-menu-item">Bookings</a>
</nav>
</div>
</div>
</header>
<!-- Main Content -->
<div class="container mt-4">
<h2 class="text-center text-brown mb-4">Programs</h2>
<!-- Program Tabs -->
<div class="program-navigation">
<ul class="nav nav-tabs category-tabs" id="programTabs">
<!-- Dynamic Programs List -->
</ul>
</div>
<!-- Filter Bar -->
<div class="filter-bar">
<div class="d-flex gap-2 w-100">
<input type="text" class="form-control"
placeholder="Search programs..."
id="searchPrograms">
<select class="form-select w-auto" id="sortCourses">
<option value="">Sort By</option>
<option value="popularity">Popularity</option>
<option value="alphabetical">Alphabetical</option>
</select>
</div>
</div>
<!-- Courses List -->
<div id="all-courses" class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-4 mt-4">
<!-- Dynamic Courses List -->
</div>
</div>
<footer>
</footer>
<!-- Scripts -->
<script src="js/program.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>