Files
landing_page/qdrant-landing/themes/qdrant/layouts/partials/contact-section.html
T
trean e2950d7b47 New blog section (#477)
* new blog layout WIP

* contact form - compact variant, some hero section styles

* pagination style

* post fetching WIP

* two cols form

* blog post

* blog post related posts styles

* some refactoring

* forms fixes

* hero section

* breadcrumbs

* fix

* fixes for featured section

* fixes

* blog single page

* single page related posts - mobile view

* single page

* html, share links hover

* input focus styles

* some hovers

* added page-serch

* fixes

* fix compact view of card

* form ids

* related posts, mobile list, css fixes

* blog post archetype

* posts

* turned off cards img animation

* netlify cms update

* removed excessive padding

* readme

* font 500 for news letter form
2023-12-19 19:58:30 +01:00

95 lines
4.5 KiB
HTML

<!-- Contact Form Section -->
{{ $variant := .Scratch.Get "variant" }}
{{ if eq $variant "compact" }}
{{ $randNum := delimit (shuffle (seq 1 9)) "" }}
<section class="newsletter-form newsletter-form_compact">
<p class="newsletter-form_compact__title">A place to learn how to become an expert traveler through vector space.
Subscribe and we will update you on features and news.</p>
<form
class="newsletter-form_compact__form d-flex flex-column flex-md-row validate"
action="{{ .Site.Params.mailchimp_subscribe }}" method="post" id="mc-embedded-subscribe-form-{{ $randNum }}"
name="mc-embedded-subscribe-form" target="_blank" novalidate>
<input type="email" name="EMAIL" value="" placeholder="Enter Your Email" required=""
id="mce-EMAIL">
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="{{ .Site.Params.mailchimp_subscribe_id }}" tabindex="-1"
value="">
</div>
<button type="submit"><span class="text">Subscribe</span></button>
</form>
</section>
{{ else if eq $variant "two-columns" }}
{{ $randNum2 := delimit (shuffle (seq 1 9)) "" }}
<section class="newsletter-form newsletter-form_two-columns">
<div class="auto-container">
<div class="row">
<div class="col-12">
<h2 class="newsletter-form_two-columns__title">Stay updated with Qdrant</h2>
</div>
<div class="col-12 col-md-6">
<p class="newsletter-form_two-columns__subtitle">We will update you on new features and news regarding <br class="d-none d-lg-inline"> Qdrant and Vector Similarity Search.</p>
</div>
<div class="col-12 col-md-6">
<form
class="newsletter-form_two-columns__form d-flex flex-column flex-md-row validate"
action="{{ .Site.Params.mailchimp_subscribe }}" method="post" id="mc-embedded-subscribe-form-{{ $randNum2 }}"
name="mc-embedded-subscribe-form" target="_blank" novalidate>
<input type="email" name="EMAIL" value="" placeholder="Enter Your Email" required=""
id="mce-EMAIL-{{ $randNum2 }}">
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="{{ .Site.Params.mailchimp_subscribe_id }}" tabindex="-1"
value="">
</div>
<button type="submit"><span class="text">Subscribe</span></button>
</form>
</div>
</div>
</div>
</section>
{{ else }}
{{ $randNum3 := delimit (shuffle (seq 1 9)) "" }}
<section class="clients-section contact-section">
<div class="auto-container">
<div class="row">
<div class="col-12 sec-title">
<h2>Get Updates from Qdrant</h2>
<div class="text">We will update you on new features and news regarding Qdrant and Vector Similarity
Search
</div>
</div>
<div class="content-column col-12">
<!-- Newsletter Form -->
<div class="newsletter-form newsletter-form_default">
<form action="{{ .Site.Params.mailchimp_subscribe }}" method="post" id="mc-embedded-subscribe-form-{{ $randNum3 }}"
name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div class="d-flex justify-content-between flex-wrap">
<input type="email" name="EMAIL" value="" placeholder="Enter Your Email" required=""
id="mce-EMAIL-{{ $randNum3 }}">
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="{{ .Site.Params.mailchimp_subscribe_id }}" tabindex="-1"
value="">
</div>
<button type="submit"
class="theme-btn btn-style-four btn-style-four_rounded btn-style-four_reversed btn-style-four_big btn-style-four_responsive">
<span class="txt">Subscribe</span>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
{{ end }}
<!-- End of Contact Section -->