Skip to content

Commit

Permalink
Merge pull request #207 from jordojordo/survey-banner
Browse files Browse the repository at this point in the history
Add survey banner to main page
  • Loading branch information
jordojordo authored Dec 22, 2023
2 parents 8a7b187 + d43aaa9 commit 0730ff3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
16 changes: 16 additions & 0 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,19 @@ footer .project-icons a img {
background: #fff;
}
}

// Survey banner

.survey-container {
background-color: var(--dark);
padding: 1rem;
text-align: center;
position: relative;
}

.survey-content {
display: block;
color: var(--light);
font-size: 1.6rem;
width: 100%;
}
1 change: 1 addition & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</iframe>
</noscript>
{{ end }}
{{ partial "survey-banner" . }}
{{ partial "header" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer" . }}
Expand Down
9 changes: 9 additions & 0 deletions layouts/partials/survey-banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<section id="survey-banner" class="survey-container">
<a
class="survey-content"
href="https://docs.google.com/forms/d/e/1FAIpQLSd1TLjRzH1LNO1RXJA_Kgi6uHFoJhq9sM5OgOqyIldodgeSNg/viewform"
target="_blank"
>
❄️ Happy Holidays from Kubewarden ❄️ Click here to fill out our survey ❄️
</a>
</section>

0 comments on commit 0730ff3

Please sign in to comment.