1
0
Fork 0
This commit is contained in:
Shipow 2018-08-14 18:57:38 +02:00 committed by Pixelastic
parent e40381f865
commit faaa4c46d7
6 changed files with 53 additions and 49 deletions

View file

@ -1,19 +1,24 @@
form.m-auto.max-w-sm.elevation.p-2.md_p-3
.mb-2
label.control-label(for="url") Website
input#url.form-control(name="url", placeholder="https://project.org/doc")
p.text-grey-dark.text-xs.italic Well crawl the <u>documentation pages</u> of your website and index them on Algolia.
.mb-2
label.control-label(for="email") Email
input#email.form-control(name="email", placeholder="you@project.org", type="email")
p.text-grey-dark.text-xs.italic Well email you the code you need to integrate the search into your documentation.
.mb-2
label
input(name="owner", type="checkbox")
span I'm the <u>owner</u> of that website
.mb-2
p.leading-2 Refer to
a.clickable(href="https://www.algolia.com/policies/terms") Algolia's Privacy Policy
| for more information on how we use and protect your data
button.c-button.c-button-primary.w-100(type="submit") Join the program
form.m-auto.max-w-sm.elevation.p-2.md_p-3(method="POST",action="https://www.algolia.com/docsearch/join")
.form-content
.mb-2
label.control-label(for="url") Website URL
input#url.form-control(name="url", placeholder="https://project.org/doc", type="url", required)
p.text-grey-dark.text-xs.italic Well crawl the <u>documentation pages</u> of your website and index them on Algolia.
.mb-2
label.control-label(for="email") Email
input#email.form-control(name="email", placeholder="you@project.org", type="email", required)
p.text-grey-dark.text-xs.italic Well email you the code you need to integrate the search into your documentation.
.mb-2
label
input(name="owner", type="checkbox", required)
span I'm the <u>owner</u> of that website
.mb-2
p.leading-2 Refer to
a.clickable(href="https://www.algolia.com/policies/terms") Algolia's Privacy Policy for more information on how we use and protect your data
button.c-button.c-button-primary.w-100(type="submit") Apply to DocSearch
.form-join-thank-you.hidden
.poppins.text-4.mb-2 Thank you !
p.text-2.leading-2.mb-1 Your request will be reviewed to make sure your website is eligible to the DocSearch program.
p.text-2.leading-2 This is a manual process and can take some time. We'll then email you the code you need to integrate on your website.

View file

@ -14,7 +14,7 @@ block content
.max-w-md.m-auto.text-center.px-2
img.mt-3.mb-1(src="assets/docsearch-logo.svg", alt="DocSearch logo" width=480)
.text-2.text-nova.mb-3 The best search experience for docs, integrates in minutes, for free
.text-5.text-telluric.mb-3 Currently providing search for 900+ projects docs
.text-5.text-telluric.mb-3 Providing search for 900+ docs, and counting
a.c-button.c-button-primary(href="#join-docsearch-program") Join the Program
.bg-moon.px-2
@ -161,14 +161,18 @@ block content
.max-w-sm.m-auto.mt-2
.max-w-md.m-auto.py-3
.text-5.normal.pb-2.text-white.text-center Get started
.pb-1.text-3.leading-2.text-white.text-center Well get back to you within a few hours with everything you need to integrate your new search into your website.
.pb-3.text-3.leading-2.text-white.text-center Oh, and did we mention it's FREE? No commitment. No subscription. Everything is on us!
.pb-1.text-3.leading-2.text-white.text-center Well get back to you with everything you need to integrate your new search into your website.
.text-3.leading-2.text-white.text-center Oh, and did we mention it's FREE?
.pb-3.text-3.leading-2.text-white.text-center No commitment. No subscription. Everything is on us!
include ../_includes/apply-form.pug
.text-center.p-2.pb-2
p.text-2.mb-2.leading-2 Docsearch 2015-2018 • Designed and built with love by
a(href="https://www.algolia.com/")
img.align-top.pl-1(src="assets/algolia-logo.svg", alt="search by Algolia", width=110)
.text-center.mt-2
.text-2.mb-3.leading-2
span.block.mb-1.sm_inline.whitespace-no-wrap DocSearch 2015-2018
span.block.hidden.sm_inline.mx-1 •
span.block.sm_inline.whitespace-no-wrap Designed and built by
a(href="https://www.algolia.com/")
img.align-top.pl-05(src="assets/algolia-logo.svg", alt="search by Algolia", width=100)
ul.list-reset.inline-block.text-2.mb-3
li.p-1.w-100.md_w-auto.inline-block
a(href="https://github.com/algolia/docsearch/blob/master/LICENSE") Code licensed under MIT

View file

@ -4,14 +4,13 @@
@apply cursor-pointer select-none;
@apply rounded-100;
@apply font-semibold uppercase no-underline tracking-poppins text-telluric;
background: linear-gradient(#fff, #e4e4e9);
@apply shadow-button;
/* Those dimensions are not in the Tailwind config scale */
height: 2.625rem;
font-size: 0.6875rem;
font-size: .9rem;
background: linear-gradient(#fff, #e4e4e9);
transition: box-shadow 0.15s ease, transform 0.15s ease;
will-change: box-shadow, transform;
}
@ -72,21 +71,21 @@
.bg-footer {
background-image: url('assets/bg-footer.svg');
background-color: #FDFDFE;
background-size: 1600px;
background-size: 2200px;
background-repeat: no-repeat;
background-position: center top;
}
/* Logo slider (gslide) */
.glide__slide {
border-radius: 8px;
background: white;
overflow: hidden;
text-align: center;
img {
padding: 4px;
border-radius: 6px;
overflow: hidden;
display: inline-block;
vertical-align: middle;
max-width: 50px;
vertical-align: text-bottom;
}
}
@ -195,7 +194,6 @@
border-radius: 5px;
}
/* Custom styles */
.custom-community-projects {
width: 400px;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="1413px" height="711px" viewBox="0 0 1413 711" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="1981px" height="587px" viewBox="0 0 1981 587" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 51.2 (57519) - http://www.bohemiancoding.com/sketch -->
<title>Group</title>
<desc>Created with Sketch.</desc>
@ -10,7 +10,7 @@
</linearGradient>
</defs>
<g id="Group" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-303.000000, 0.000000)">
<g transform="translate(-12.000000, -124.000000)">
<rect id="Rectangle-87-Copy" fill="#5468FF" x="0" y="0" width="2000" height="748"></rect>
<g id="Waves" transform="translate(0.000000, 127.000000)">
<path d="M0,411 C166.666667,411 166.666667,541.716706 333.333333,541.716706 C500,541.716706 500,483.148747 666.666667,483.148747 C833.333333,483.148747 833.333333,543 1000,543 C1166.66667,543 1166.66667,437.534871 1333.33333,437.534871 C1500,437.534871 1500,539.293873 1666.66667,539.293873 C1833.33333,539.293873 1833.44252,502.260057 2000,502.260057 L2000,1005.50025 L0,1005.50025 L0,411 Z" id="Stroke-1" fill="url(#linearGradient-1)"></path>

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View file

@ -1,8 +1,8 @@
/* global docsearch */
docsearch({
apiKey: 'e3082526e1d5f37055241c335ab10f72',
indexName: 'talksearch',
apiKey: '25626fae796133dc1e734c6bcaaeac3c',
indexName: 'docsearch',
inputSelector: '.custom-search-input',
debug: false,
});