add coming soon feature

This commit is contained in:
Tobias Brunner 2025-02-26 15:27:56 +01:00
parent 5c626b0212
commit bde13d4d95
No known key found for this signature in database
5 changed files with 42 additions and 1 deletions

View file

@ -8,7 +8,7 @@
<div class="flex-1 pr-lg-40 mb-40 mb-lg-0">
<div class="bg-gray-50 rounded-20 p-40">
<header>
<h2 class="fs-44 fw-semibold mb-40">Enter your details</h2>
<h2 class="fs-44 fw-semibold mb-40">Inquiry for {{ service.name }}</h2>
</header>
<form method="post">

View file

@ -112,6 +112,16 @@
</div>
</div>
{% endif %}
<!-- CTA -->
{% if service.is_coming_soon %}
<div class="pt-24">
<div class="page-action">
<a class="btn btn-primary btn-lg mr-md-17 mb-17 mb-md-0px mb-lg-17 mb-xl-0 w-100 w-md-auto" href="{% url 'services:create_lead' service.slug %}"
role="button">I'm interested in this service</a>
</div>
</div>
{% endif %}
</div>
</div>
</div>

View file

@ -159,6 +159,10 @@
<div>
<a class="btn btn-primary btn-sm" href="">Featured</a>
</div>
{% elif service.is_coming_soon %}
<div>
<a class="btn btn-secondary btn-sm" href="">Coming Soon</a>
</div>
{% endif %}
</div>
{% endif %}