Add a survey banner (#231)

* add survey banner
This commit is contained in:
Pete Lumbis 2022-12-15 15:41:22 -05:00 committed by GitHub
parent c1c1cc386c
commit 37748344fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,8 @@
.docs-survey {
background-color: $linkWater !important;
color: $gray-600;
a{
text-decoration: none;
}
}

View File

@ -48,3 +48,4 @@
@import "skippy";
@import "clipboard-js";
@import "fonts";
@import "survey";

View File

@ -14,6 +14,9 @@
<main class="bd-main order-1">
<div class="bd-intro pt-2 ps-lg-2">
{{- if eq .Title "Overview"}}
{{ partial "survey" . }}
{{ end }}
<div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between">
<div class="mb-3 mb-md-0 d-flex">
{{ partial "version-dropdown-menu" . }}

View File

@ -0,0 +1,5 @@
<div class="docs-survey card mb-3 text-center col-10 mx-auto">
<div class="card-body fs-4">
Click to <a href="https://s.surveyplanet.com/uiuwwdxb">take the Crossplane user survey</a>. <br />Survey closes December 31.
</div>
</div>