Better public pages style
This commit is contained in:
111
templates/components/explainer_video_modal.html
Normal file
111
templates/components/explainer_video_modal.html
Normal file
@@ -0,0 +1,111 @@
|
||||
<!-- Reusable Explainer Video Modal Component -->
|
||||
<div class="modal fade" id="explainerVideoModal" tabindex="-1" aria-labelledby="explainerVideoModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="explainerVideoModalLabel">
|
||||
<i class="fas fa-play-circle me-2"></i>{{ modal_title|default('DocuPulse Overview') }}
|
||||
</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="ratio ratio-16x9">
|
||||
<div class="bg-dark d-flex align-items-center justify-content-center" style="border-radius: 8px;">
|
||||
<div class="text-center text-white">
|
||||
<i class="fas fa-video fa-3x mb-3 opacity-50"></i>
|
||||
<h5>{{ video_title|default('Explainer Video') }}</h5>
|
||||
<p class="text-muted">{{ video_placeholder|default('Video placeholder - Replace with actual explainer video') }}</p>
|
||||
<button class="btn btn-primary btn-lg px-4 py-3">
|
||||
<i class="fas fa-play me-2"></i>Play Video
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<h6>{{ learning_title|default('What you\'ll learn:') }}</h6>
|
||||
<ul class="list-unstyled">
|
||||
{% for point in learning_points|default([
|
||||
'How DocuPulse streamlines document management',
|
||||
'Room-based collaboration features',
|
||||
'Security and permission controls',
|
||||
'Real-time messaging and notifications'
|
||||
]) %}
|
||||
<li><i class="fas fa-check text-success me-2"></i>{{ point }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary btn-lg px-4 py-3" data-bs-dismiss="modal">Close</button>
|
||||
<a href="{{ cta_url|default(url_for('public.pricing')) }}" class="btn btn-primary btn-lg px-4 py-3">
|
||||
<i class="fas fa-rocket me-2"></i>{{ cta_text|default('Get Started Now') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
/* Unified button styling for modal */
|
||||
.modal .btn-close {
|
||||
background: none;
|
||||
border: none;
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.3s ease;
|
||||
opacity: 0.6;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.modal .btn-close:hover {
|
||||
background: rgba(108, 117, 125, 0.1);
|
||||
transform: translateY(-1px);
|
||||
opacity: 1;
|
||||
}
|
||||
.modal .btn-close::before {
|
||||
content: '×';
|
||||
color: var(--text-dark);
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.modal .btn-primary {
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
|
||||
border: none;
|
||||
border-radius: 25px;
|
||||
padding: 12px 30px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.modal .btn-primary:hover {
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px var(--primary-opacity-15);
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
.modal .btn-secondary {
|
||||
background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
|
||||
border: none;
|
||||
border-radius: 25px;
|
||||
padding: 12px 30px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
color: white;
|
||||
}
|
||||
.modal .btn-secondary:hover {
|
||||
background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.modal .btn-lg {
|
||||
padding: 15px 40px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user