Update templates/packageCard.html

This commit is contained in:
Ghassan Yusuf 2025-10-02 18:26:58 +03:00
parent 8f7a206e62
commit b18f7db9ad

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MMA Complete Package Card - Bootstrap with Display Picture</title>
<title>MMA Complete Package Card - Bootstrap with Age Group Structured</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
@ -29,7 +29,6 @@
object-fit: cover; /* Ensure image covers the area */
border: 1px solid #dee2e6; /* Light border */
}
/* Style for the new display picture */
.card-display-img {
height: 150px; /* Set a fixed height for the image */
object-fit: cover; /* Ensure the image covers the area nicely */
@ -47,12 +46,12 @@
<div>
<h3 class="card-title h4 fw-semibold d-flex align-items-center gap-2">
MMA Complete
<span class="badge text-bg-success fw-semibold">Popular</span>
<span class="badge text-bg-success fw-semibold rounded-pill">Popular</span>
</h3>
<p class="text-muted mt-2 mb-3">Comprehensive mixed martial arts training combining striking and grappling</p>
</div>
<div class="text-end">
<p class="h4 fw-bold text-primary mb-0">$180</p>
<p class="h3 fw-bold text-primary mb-0">30 BHD</p>
<p class="text-muted small">Monthly</p>
</div>
</div>
@ -62,7 +61,7 @@
<div class="d-grid gap-3">
<div class="d-flex align-items-center gap-2">
<span class="badge text-bg-primary fw-semibold">Multi Activity</span>
<span class="badge text-bg-primary fw-semibold rounded-pill">Multi Activity</span>
<div class="d-flex align-items-center gap-1 text-muted small">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-sm">
<circle cx="12" cy="12" r="10"></circle>
@ -73,7 +72,7 @@
</div>
</div>
<div class="d-grid gap-3">
<div class="d-grid gap-3 mb-0">
<h4 class="fw-semibold small mb-0">Included Activities:</h4>
<div class="d-flex align-items-center justify-content-between p-3 bg-accent-mimic rounded">
@ -94,7 +93,7 @@
<path d="M22 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>
Mixed
Male & Female
</div>
</div>
</div>
@ -122,26 +121,33 @@
<path d="M22 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>
Mixed
Male & Female
</div>
</div>
</div>
<div class="d-flex align-items-center gap-2">
<img src="https://bio.innovator.bh/assets/img/3_1757425653.png" alt="Professor Silva" class="coach-thumbnail">
<img src="https://bio.innovator.bh/assets/img/2_1757425606.png" alt="Professor Silva" class="coach-thumbnail">
<span class="text-dark small fw-medium">Professor Silva</span>
</div>
</div>
</div>
<div>
<h4 class="fw-semibold small mb-2">Weekly Schedule:</h4>
<h4 class="fw-semibold small mb-2">Age Group :</h4>
<div class="d-flex flex-wrap gap-2">
<span class="badge text-bg-success fw-semibold">Tuesday 19:00</span>
<span class="badge text-bg-success fw-semibold">Thursday 19:00</span>
<span class="badge text-bg-success fw-semibold">Saturday 10:00</span>
<span class="badge text-bg-success fw-semibold">Monday 20:00</span>
<span class="badge text-bg-success fw-semibold">Wednesday 20:00</span>
<span class="badge text-bg-success fw-semibold">Saturday 11:30</span>
<span class="badge text-bg-success fw-semibold rounded-pill">3 to 7 years old</span>
</div>
</div>
<div>
<h4 class="fw-semibold small mb-2">Weekly Schedule :</h4>
<div class="d-flex flex-wrap gap-2">
<span class="badge text-bg-success fw-semibold rounded-pill">Tuesday 19:00</span>
<span class="badge text-bg-success fw-semibold rounded-pill">Thursday 19:00</span>
<span class="badge text-bg-success fw-semibold rounded-pill">Saturday 10:00</span>
<span class="badge text-bg-success fw-semibold rounded-pill">Monday 20:00</span>
<span class="badge text-bg-success fw-semibold rounded-pill">Wednesday 20:00</span>
<span class="badge text-bg-success fw-semibold rounded-pill">Saturday 11:30</span>
</div>
</div>