commiting
This commit is contained in:
@@ -9,28 +9,25 @@
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="d-grid gap-3 btn-group-vertical" role="group" id="faq-group">
|
||||
{% for faq in page.get_content() %}
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
</div>
|
||||
<button class="btn btn-secondary text-light text-center"
|
||||
type="button"
|
||||
data-bs-toggle="collapse"
|
||||
data-bs-target="#{{ page.get_content()[faq]['tag'] }}"
|
||||
aria-expanded="true"
|
||||
aria-controls="{{ page.get_content()[faq]['tag'] }}">
|
||||
<h2 class="accordion-header">
|
||||
{{ faq }}
|
||||
</h2>
|
||||
</button>
|
||||
|
||||
<a class="btn btn-primary text-center" data-bs-toggle="collapse"
|
||||
href="#{{ page.get_content()[faq]['tag'] }}" role="button" aria-expanded="false"
|
||||
aria-controls="{{ page.get_content()[faq]['tag'] }}">
|
||||
<h2>{{ faq }}</h2>
|
||||
</a>
|
||||
|
||||
<div class="collapse" id="{{ page.get_content()[faq]['tag'] }}">
|
||||
<div class="card card-body text-center">
|
||||
{{ page.get_content()[faq]['answer'] }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-1">
|
||||
<div class="collapse" id="{{ page.get_content()[faq]['tag'] }}">
|
||||
<div class="card card-body text-center text-secondary">
|
||||
{{ page.get_content()[faq]['answer']|safe }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="invisible">
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -9,30 +9,39 @@
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{% for row in page.get_content() %}
|
||||
<div class="row pb-3">
|
||||
<div class="col-sm-8 text-center {{ loop.cycle('order-first','order-last') }}">
|
||||
<p class="text-secondary lead">
|
||||
{{ page.get_content()[row]['content'] }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4 {{ loop.cycle('order-last','order-first') }}">
|
||||
<picture>
|
||||
{% for img in page.get_content()[row]['images'] %}
|
||||
{% if not loop.last %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(max-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
{% else %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(min-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<div class="d-grid gap-3">
|
||||
{% for section in page.get_content() %}
|
||||
<div class="card border-0 d-flex rounded-1 bg-dark">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-8 {{ loop.cycle('order-first','order-last') }}">
|
||||
<div class="card-text text-light text-center lead">
|
||||
{{ section['content']|safe }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4 {{ loop.cycle('order-last','order-first') }}">
|
||||
<div class="card-img">
|
||||
<picture>
|
||||
{% for img in section['images'] %}
|
||||
{% if not loop.last %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(max-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
{% else %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(min-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<img class="img-fluid"
|
||||
src="{{ url_for('static', filename=page.get_content()[row]['images'][1]) }}">
|
||||
</picture>
|
||||
<img class="img-fluid rounded-1"
|
||||
src="{{ url_for('static', filename=section['images'][1]) }}">
|
||||
</picture>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -11,60 +11,59 @@
|
||||
|
||||
<hr>
|
||||
|
||||
{% for section in page.get_content() %}
|
||||
<div class="row text-center">
|
||||
<h2 class="text-secondary display-3">
|
||||
{{ section }}
|
||||
</h2>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<h2 class="text-secondary display-3">
|
||||
Primary Services
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="row pt-2 pb-4">
|
||||
{% for service in page.get_content()[section] %}
|
||||
<div class="col-sm-4">
|
||||
<div class="card">
|
||||
<picture>
|
||||
{% for img in service['images'] %}
|
||||
{% if not loop.last %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(max-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
{% else %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(min-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
{% endif %}
|
||||
<div class="row pt-2 pb-4">
|
||||
{% for service in page.get_primary_service_cards() %}
|
||||
<div class="col-sm-4">
|
||||
<div class="card">
|
||||
<picture>
|
||||
{% for img in service.get_images() %}
|
||||
{% if not loop.last %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(max-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
|
||||
{% else %}
|
||||
<source srcset="{{ url_for('static', filename=img) }}"
|
||||
media="(min-width: {{ config.IMG_BREAKPOINTS[loop.index] }})" />
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<img class="img-fluid card-img-top"
|
||||
src="{{ url_for('static', filename=service.get_default_image()) }}">
|
||||
</picture>
|
||||
<div class="card-body">
|
||||
<h1 class="card-title text-center text-primary">{{ service.get_title() }}</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2 class="text-success text-center">
|
||||
{{ service.get_price() }}
|
||||
</h2>
|
||||
|
||||
<hr class="invisible">
|
||||
|
||||
<p class="text-secondary">
|
||||
Service includes:
|
||||
<ul>
|
||||
{% for included in service.get_included() %}
|
||||
<li>{{ included }}</li>
|
||||
{% endfor %}
|
||||
|
||||
<img class="img-fluid card-img-top"
|
||||
src="{{ url_for('static', filename=service['images'][1]) }}">
|
||||
</picture>
|
||||
<div class="card-body">
|
||||
<h1 class="card-title text-center text-primary">{{ service['title'] }}</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2 class="text-success text-center">
|
||||
{{ service['price'] }}
|
||||
</h2>
|
||||
|
||||
<hr class="invisible">
|
||||
|
||||
<p class="text-secondary">
|
||||
Service includes:
|
||||
<ul>
|
||||
{% for included in service['included'] %}
|
||||
<li>{{ included }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="row">
|
||||
<div class="btn btn-primary">
|
||||
<a class="link-light" href="{{ url_for('forms.meet_and_greet') }}">
|
||||
<a class="link-light" id="request-meet-greet" href="{{ url_for('forms.meet_and_greet') }}">
|
||||
Request meet & greet
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user