Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(homepage): correct small issues #921

Merged
merged 4 commits into from
Feb 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/_layouts/homepage.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ block nav
block content
.bg-docsearch-hero
.max-w-md.m-auto.text-center.px-2
img.mt-3.mb-1(src="assets/docsearch-logo.svg", alt="DocSearch logo" width=480)
img.mt-3.mb-1.ml-auto.mr-auto(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 Providing search for 1 500+ docs, and counting.
a.c-button.c-button-primary(href="#join-docsearch-program") Join the Program
Expand Down
5 changes: 4 additions & 1 deletion docs/src/_styles/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
background-image: url("assets/bg-footer.svg");
background-position: 100% 100%;
height: 500px;

}

/* Logo slider (gslide) */
Expand Down Expand Up @@ -275,3 +274,7 @@
50px 0 0 rgba(236, 139, 99, 0.5);
}
}

.docsearch-live-demo-input-wrapper button.searchbox__submit > svg {
display: inline;
}
2 changes: 1 addition & 1 deletion docs/src/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.onload = function() {
indexName: 'bootstrap',
inputSelector: '.docsearch-live-demo-input',
algoliaOptions: {
facetFilters: ['version:4.1'],
facetFilters: ['version:4.4'],
},
enhancedSearchInput: true,
debug: false,
Expand Down