Add templates/packageCard.html
This commit is contained in:
parent
eb3450e5d6
commit
8f7a206e62
153
templates/packageCard.html
Normal file
153
templates/packageCard.html
Normal file
@ -0,0 +1,153 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<style>
|
||||
.bs-card-hover {
|
||||
transition: all 0.2s ease-in-out;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bs-card-hover:hover {
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
|
||||
}
|
||||
.bg-accent-mimic {
|
||||
background-color: #f8f9fa; /* Light gray to mimic the subtle accent */
|
||||
}
|
||||
.icon-sm {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
.coach-thumbnail {
|
||||
width: 32px; /* Small size for thumbnail */
|
||||
height: 32px;
|
||||
border-radius: 50%; /* Make it round */
|
||||
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 */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="p-4 bg-light d-flex justify-content-center align-items-center min-vh-100">
|
||||
|
||||
<div class="card rounded-3 border bs-card-hover shadow-sm" style="max-width: 450px; width: 100%;">
|
||||
|
||||
<img src="https://atlfightshop.com/cdn/shop/articles/muay_thai_vs_bjj_1200x1200.jpg?v=1694817548" class="card-img-top rounded-top card-display-img" alt="Mixed Martial Arts Training">
|
||||
|
||||
<div class="card-header border-0 bg-white p-4 pb-0">
|
||||
<div class="d-flex align-items-start justify-content-between">
|
||||
<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>
|
||||
</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="text-muted small">Monthly</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body p-4 pt-0">
|
||||
<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>
|
||||
<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>
|
||||
<circle cx="12" cy="12" r="6"></circle>
|
||||
<circle cx="12" cy="12" r="2"></circle>
|
||||
</svg>
|
||||
92% popularity
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-grid gap-3">
|
||||
<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">
|
||||
<div>
|
||||
<p class="fw-medium mb-1">Muay Thai</p>
|
||||
<div class="d-flex align-items-center gap-3 text-muted small">
|
||||
<div class="d-flex align-items-center gap-1">
|
||||
<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>
|
||||
<polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
75min
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-1">
|
||||
<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">
|
||||
<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path>
|
||||
<circle cx="9" cy="7" r="4"></circle>
|
||||
<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
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<img src="https://bio.innovator.bh/assets/img/2_1757425606.png" alt="Coach Thailand" class="coach-thumbnail">
|
||||
<span class="text-dark small fw-medium">Coach Thailand</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center justify-content-between p-3 bg-accent-mimic rounded">
|
||||
<div>
|
||||
<p class="fw-medium mb-1">Brazilian Jiu-Jitsu</p>
|
||||
<div class="d-flex align-items-center gap-3 text-muted small">
|
||||
<div class="d-flex align-items-center gap-1">
|
||||
<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>
|
||||
<polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
90min
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-1">
|
||||
<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">
|
||||
<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path>
|
||||
<circle cx="9" cy="7" r="4"></circle>
|
||||
<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
|
||||
</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">
|
||||
<span class="text-dark small fw-medium">Professor Silva</span>
|
||||
</div>
|
||||
</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">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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="button" class="btn btn-outline-secondary w-100 mt-2">Select Package</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user