-
Notifications
You must be signed in to change notification settings - Fork 0
/
afity.html
106 lines (100 loc) · 4.27 KB
/
afity.html
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
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>عافيتي - تعرف على مدربينا الخبراء</title>
<link rel="stylesheet" href="css/style.css">
<style>
.trainer-card ul {
list-style-position: inside;
padding-right: 0;
}
.trainer-card li {
text-align: right;
}
</style>
</head>
<body>
<header>
<div class="logo">عافيتي</div>
<nav>
<a href="#">الرئيسية</a>
<a href="#">المجتمع</a>
<a href="#">الاستبيانات </a>
<a href="#" class="cta-button">المدربون</a>
<a href="#">ما هو عافيتي؟</a>
</nav>
</header>
<section class="hero">
<h1>تعرف على خبرائنا من أخصائي العلاج الطبيعي</h1>
<p>
ابحث عن أخصائي العلاج المناسب لك، واحجز جلستك الأولى المجانية
</p>
<div class="trainer-photos">
</div>
<button class="cta-button" style="margin-top: 1rem;">ابحث عن مختص</button>
</section>
<div class="search-bar">
<input type="text" placeholder="ابحث عن مختص علاج طبيعي مختص في ....">
</div>
<div class="trainers-grid">
<div class="trainer-card">
<img src="images/adam.png" alt="عبد العزيز">
<h3>عبد العزيز</h3>
<div class="rating">⭐⭐⭐⭐⭐ 4.9 · 731 تقييم</div>
<div class="experience">8 سنوات من الخبرة في التدريب</div>
<div class="education">بكالوريوس</div>
<ul>
<li>إدارة رياضية فردية</li>
<li>القوة والتكييف</li>
<li>إنقاص الوزن</li>
</ul>
<button class="book-button" data-trainer="عبد العزيز">احجز مع عبد العزيز</button>
<a href="booking.html">عرض الملف الشخصي</a>
</div>
<div class="trainer-card">
<img src="images/nic.png" alt="أحمد خالد">
<h3>أحمد خالد</h3>
<div class="rating">⭐⭐⭐⭐ 4.0 · 634 تقييم</div>
<div class="experience">7 سنوات من الخبرة في التدريب</div>
<div class="education">بكالوريوس</div>
<ul>
<li>التدريب الشامل</li>
<li>إنقاص الوزن</li>
<li>تدريب القوة</li>
</ul>
<button class="book-button" data-trainer="أحمد">احجز مع أحمد</button>
<a href="booking.html">عرض الملف الشخصي</a>
</div>
<div class="trainer-card">
<img src="images/sam.png" alt="سعود سلطان">
<h3>سعود سلطان</h3>
<div class="rating">⭐⭐⭐⭐⭐ 4.9 · 756 تقييم</div>
<div class="experience">7 سنوات من الخبرة في التدريب</div>
<div class="education">ماجستير</div>
<ul>
<li>تدريب القوة</li>
<li>إنقاص الوزن</li>
<li>التدريب الوظيفي</li>
</ul>
<button class="book-button" data-trainer="سعود">احجز مع سعود</button>
<a href="booking.html">عرض الملف الشخصي</a>
</div>
</div>
<script>
// Add any necessary JavaScript here
document.querySelector('.search-bar input').addEventListener('keyup', function(e) {
// Implement search functionality
console.log('جاري البحث عن:', e.target.value);
});
// Add event listeners to all booking buttons
document.querySelectorAll('.book-button').forEach(button => {
button.addEventListener('click', function() {
const trainer = this.getAttribute('data-trainer');
window.location.href = `booking.html?trainer=${trainer}`;
});
});
</script>
</body>
</html>