mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-29 07:58:31 +02:00
90 lines
3.3 KiB
HTML
90 lines
3.3 KiB
HTML
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
|
<script src="{{ "js/jquery.js" | absURL }}"></script>
|
|
<script src="{{ "js/popper.min.js" | absURL }}"></script>
|
|
<script src="{{ "js/jquery.scrollTo.js" | absURL }}"></script>
|
|
<script src="{{ "js/bootstrap.min.js" | absURL }}"></script>
|
|
<script src="{{ "js/jquery.mCustomScrollbar.concat.min.js" | absURL }}"></script>
|
|
<script src="{{ "js/jquery.fancybox.js" | absURL }}"></script>
|
|
<script src="{{ "js/appear.js" | absURL }}"></script>
|
|
<script src="{{ "js/cookit.js" | absURL }}"></script>
|
|
<!-- <script src="{{ "js/swiper.min.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/jquery.paroller.min.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/parallax.min.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/tilt.jquery.min.js" | absURL }}"></script> -->
|
|
<!--Master Slider-->
|
|
<!-- <script src="{{ "js/jquery.easing.min.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/owl.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/wow.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/jquery-ui.js" | absURL }}"></script> -->
|
|
<!-- <script src="{{ "js/element-in-view.js" | absURL }}"></script> -->
|
|
<script src="{{ "js/script.js" | absURL }}"></script>
|
|
<script src="{{ "js/clipboard.min.js" | absURL }}"></script>
|
|
<script src="{{ "js/anchor.min.js" | absURL }}"></script>
|
|
<script>
|
|
var clipboard = new ClipboardJS('.copy-btn');
|
|
|
|
clipboard.on('success', function(e) {
|
|
$('#copy-popover').popover('show')
|
|
const to = setTimeout(() => {
|
|
$('#copy-popover').popover('hide')
|
|
$('#modal').modal('show')
|
|
clearTimeout(to);
|
|
}, 3000);
|
|
e.clearSelection();
|
|
});
|
|
|
|
clipboard.on('error', function(e) {
|
|
console.error('Action:', e.action);
|
|
console.error('Trigger:', e.trigger);
|
|
});
|
|
|
|
$(function () {
|
|
$.cookit({
|
|
messageText: "{{ .Site.Params.gdpr }}",
|
|
linkText: "Learn more",
|
|
linkUrl: "/legal/privacy-policy",
|
|
buttonText: "I accept",
|
|
backgroundColor: '#1c1c1c',
|
|
messageColor: '#fff',
|
|
linkColor: '#fad04c',
|
|
buttonColor: '#fad04c'
|
|
});
|
|
});
|
|
|
|
anchors.options.placement = 'left';
|
|
anchors.add("article > :is(h1, h2, h3, h4, h5, h6)");
|
|
</script>
|
|
|
|
<!-- highlight.js -->
|
|
{{ if .Site.Params.highlight }}
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/highlight.min.js"></script>
|
|
{{ range .Site.Params.highlightLanguages }}
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/languages/{{ . }}.min.js"></script>
|
|
{{ end }}
|
|
<script>hljs.highlightAll();</script>
|
|
|
|
{{ end }}
|
|
<script src="{{ "js/lang-switcher.js" | absURL }}"></script>
|
|
<script src="{{ "js/copy-code.js" | absURL }}"></script>
|
|
|
|
<!-- MathJax support -->
|
|
<script>
|
|
MathJax = {
|
|
tex: {
|
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
|
displayMath: [['$$','$$'], ['\\[', '\\]']],
|
|
processEscapes: true,
|
|
processEnvironments: true
|
|
},
|
|
options: {
|
|
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre']
|
|
}
|
|
};
|
|
|
|
window.addEventListener('load', (event) => {
|
|
document.querySelectorAll("mjx-container").forEach(function(x){
|
|
x.parentElement.classList += 'has-jax'})
|
|
});
|
|
|
|
</script>
|
|
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> |