mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-05 02:48:30 +02:00
New homepage (#2172)
* two new sections * enterprise capabilities and enterprise ready sections * sections: engineered-for-builders and performance-by-design * sections: cta-banner, integrations-logos, solutions # Conflicts: # qdrant-landing/themes/qdrant-2024/assets/css/partials/_cta-banner.scss # qdrant-landing/themes/qdrant-2024/layouts/partials/cta-banner.html * remove old sections from index.html * wip: home page * reuse links, carousel width * globe and globe lights * globe lights * finalyzing the globe, add customers icons * new icons set + svg partial update * upd icons in the enterprise-ready section * lines background * globe lights as gradient and svg * fix carousel responsiveness * fix cut box shadow * accordion slider responsiveness * new hero * hero customers * some hero responsiveness * customers layout fix * cards responsiveness * fixes * remove floating github link * hero - bigger screens * refactor css * more hero responsiveness * fix * hero parallax * replace svg as img with embedded svg logos * fix marquee * slider's tabs responsiveness * remove horizontal scroll on the mobile * moved images * images optim * moved paths to markdown * svg -> png * some refactoring and clean up * moved scss * svg to png * more images optimization and cleaning * optimizing png * fix globe cards height * add reveal effect * improve reveal effect * fix for the hero animation in Safari * removed type:page preventing use-cases page from rendering with newer version of Hugo * restore static/img/home/reranking.webp * remove unused files * formatting * hero and reveal fixes * fixes * update cta banner * links and content fix * fixes: content, links, web-ui illustration * canva testimonial * upd link * fix * replace links * slider links
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
|
||||
<!-- OneTrust Cookies Consent Notice start for local.qdrant.tech -->
|
||||
{{ if .Site.Params.onetrustScriptID }}
|
||||
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="{{ .Site.Params.onetrustScriptID }}" ></script>
|
||||
<script
|
||||
src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"
|
||||
type="text/javascript"
|
||||
charset="UTF-8"
|
||||
data-domain-script="{{ .Site.Params.onetrustScriptID }}"
|
||||
></script>
|
||||
<script async type="text/javascript">
|
||||
function OptanonWrapper() {
|
||||
const onetrustAnalyticsChoice = new CustomEvent('onetrust_loaded');
|
||||
@@ -36,6 +41,7 @@
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<!--Google Measurement ID-->
|
||||
{{ $googleJs := resources.Get "js/google-setup.js" | js.Build (dict "params" (dict "gaMeasurementId" .Site.Config.Services.GoogleAnalytics.ID)) | minify | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $googleJs.RelPermalink }}"></script>
|
||||
@@ -44,6 +50,12 @@
|
||||
<script src="{{ $indexJs.RelPermalink }}"></script>
|
||||
|
||||
{{ if .IsHome }}
|
||||
{{ $homeAnimationsJs := resources.Get "/js/home-animations.js" | js.Build | minify | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $homeAnimationsJs.RelPermalink }}"></script>
|
||||
|
||||
{{ $scrollRevealJs := resources.Get "/js/scroll-reveal.js" | js.Build | minify | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $scrollRevealJs.RelPermalink }}"></script>
|
||||
|
||||
<!--splide.js carousel-->
|
||||
{{ $splideJs := resources.Get "/js/vendor/splide.js" | js.Build | minify | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $splideJs.RelPermalink }}"></script>
|
||||
@@ -153,27 +165,22 @@
|
||||
|
||||
{{ if and (eq .Section "blog") (.IsPage) }}
|
||||
<script>
|
||||
document.addEventListener("scroll", () => {
|
||||
const article = document.getElementById("article");
|
||||
const progress = document.getElementById("progress");
|
||||
document.addEventListener('scroll', () => {
|
||||
const article = document.getElementById('article');
|
||||
const progress = document.getElementById('progress');
|
||||
|
||||
const articleHeight = article.scrollHeight - window.innerHeight;
|
||||
const scrollTop = window.scrollY - article.offsetTop;
|
||||
|
||||
progress.value = Math.min(
|
||||
Math.max((scrollTop / articleHeight) * 100, 0),
|
||||
100
|
||||
);
|
||||
progress.value = Math.min(Math.max((scrollTop / articleHeight) * 100, 0), 100);
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<script>
|
||||
window.addEventListener("message", event => {
|
||||
if (
|
||||
event.data.type === "hsFormCallback" &&
|
||||
event.data.eventName === "onFormReady"
|
||||
) {
|
||||
window.addEventListener('message', (event) => {
|
||||
if (event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormReady') {
|
||||
const formEl = document.querySelector(`form[data-form-id="${event.data.id}"]`);
|
||||
if (formEl) {
|
||||
const hiddenCurrentUrl = formEl.querySelector('[name="last_form_fill_url"]');
|
||||
|
||||
Reference in New Issue
Block a user