slider
This commit is contained in:
parent
8e9b7c7e4a
commit
6923c3eedc
2 changed files with 5 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ block content
|
|||
a.c-button.c-button-primary(href="what-is-talksearch.html") Join the Program
|
||||
|
||||
.bg-moon.p-3
|
||||
.max-w-lg.m-auto.text-center.mb-2
|
||||
.max-w-lg.m-auto.text-center.mb-3
|
||||
.glide
|
||||
.glide__track(data-glide-el="track")
|
||||
.glide__slides
|
||||
|
|
@ -63,6 +63,7 @@ block content
|
|||
img(src="assets/logos/webpack.png", alt="DocSearch + ", width=80)
|
||||
.glide__slide
|
||||
img(src="assets/logos/yarn.jpg", alt="DocSearch + ", width=80)
|
||||
|
||||
|
||||
.max-w-md.m-auto.text-center
|
||||
h2.text-solstice.text-5.normal.pb-2 Offer your docs a Learn-as-you-type experience
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ html(lang='en')
|
|||
link(type="text/css", rel="stylesheet", href="./style.css")
|
||||
link(type="text/css", rel="stylesheet", href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css")
|
||||
link(type="text/css", rel="stylesheet", href="https://unpkg.com/@glidejs/glide@3.2.3/dist/css/glide.core.min.css")
|
||||
link(type="text/css", rel="stylesheet", href="https://unpkg.com/@glidejs/glide@3.2.3/dist/css/glide.theme.min.css")
|
||||
body.hind.text-telluric
|
||||
include ../_includes/tag-manager-noscript.pug
|
||||
include ../_includes/header.pug
|
||||
|
|
@ -39,5 +40,6 @@ html(lang='en')
|
|||
| debug: false
|
||||
|});
|
||||
script
|
||||
|window.onload = function () {new Glide('.glide').mount({ Autoplay })}
|
||||
|window.onload = function () {new Glide('.glide',{type: 'carousel',startAt: 0, perView: 10, autoplay: true}).mount()}
|
||||
|
||||
include ../_includes/tag-manager.pug
|
||||
|
|
|
|||
Loading…
Reference in a new issue