Files
landing_page/qdrant-landing/themes/qdrant-2024/layouts/partials/hubspot-form.html
T
nastyapashandtrean 21776375a9 [WIP] New Pages (#873)
* Add Partnerspage

* fix

* fix padding

* tablet get-started-small update

* Add Customers page

* incorparated site-header partial

* fix

* Add community page (#886)

* Add community page

* site-header partial on the comunity page

---------

Co-authored-by: trean <trean.mi@gmail.com>

* Add Brand-Resources and Subscribe pages (#930)

* add Brand resources page

* add Subscribe page

* Add Qdrant for startups page (#934)

* Add Qdrant for startups page

* improve accordion and link to the form

* fix

* Add Stars page (#890)

* Add Stars page

* site-header partial on the stars page

* overlay z-index fix

---------

Co-authored-by: trean <trean.mi@gmail.com>

* new pages content update and accompanying css and html changes (#943)

* new pages content update and accompanying css and html changes

* format, removed comment, fix

* fixes

* subscribe page hubspot form (#946)

* brand resources content (#947)

* Stars page content (#945)

* stars page content update

* stars images format, replaced stars hero image

* uncommented stars menu link

* update stats: github stars and discord members number

* photo

* stars content upd

* stars list update

* Startup program content (#961)

* startup program hubspot form

* form fixes

* another form, some fixes

* content upd

* stars

* temp build options for the startups program page

---------

Co-authored-by: trean <trean.mi@gmail.com>
2024-06-17 15:56:32 +02:00

18 lines
658 B
HTML

<div id="{{- .id -}}" {{ if .classes }}class="{{ .classes }}"{{ end }}>
<script>
(function() {
const options = {{- .hubspotFormOptions | safeJS -}};
try {
hbspt.forms.create({
...options,
formInstanceId: "{{- .context.Permalink -}}#{{- .id -}}",
pageId: "{{- .context.Permalink -}}",
target: "#{{- .id -}}",
});
} catch (e) {
document.getElementById("{{- .id -}}").innerHTML = '<p class="text-white">Here should be a form but looks like it was blocked on your side. Please, check your trackers blocking policy.</p>';
}
})()
</script>
</div>