mirror of https://github.com/crossplane/docs.git
add search to the home page. (#421)
This commit is contained in:
parent
7e0181b2bd
commit
fb5c5a8ea5
|
@ -20,6 +20,13 @@
|
||||||
color: var(--body-font-color);
|
color: var(--body-font-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
.home-search {
|
||||||
|
display: flex !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
border-color: var(--dropdown-border-color);
|
border-color: var(--dropdown-border-color);
|
||||||
background: var(--body-background);
|
background: var(--body-background);
|
||||||
|
|
|
@ -8,8 +8,16 @@
|
||||||
(dict "Contributing Guide" "/img/multi-crane.svg")
|
(dict "Contributing Guide" "/img/multi-crane.svg")
|
||||||
}}
|
}}
|
||||||
|
|
||||||
<div class="container-fluid py-5 bd-content" id="home">
|
|
||||||
<div class="row mx-5 justify-content-evenly my-5">
|
<div class="mx-5 home-search">
|
||||||
|
<div class="mx-4">
|
||||||
|
{{ partialCached "search-button" . }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="container-fluid pb-5 bd-content" id="home">
|
||||||
|
<div class="row mx-5 justify-content-evenly mb-5 mt-2">
|
||||||
|
|
||||||
{{ $thisSite := .Site }}
|
{{ $thisSite := .Site }}
|
||||||
{{ $version_section := slice }}
|
{{ $version_section := slice }}
|
||||||
|
|
Loading…
Reference in New Issue