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

Added a CTA to a page and improve search #669

Merged
merged 2 commits into from
Jun 30, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion website/assets/scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
width: unset;
}

.cncf-button {
.cncf-button,
.cncf-button-primary {
color: $white;
background-color: $black;
border: 0;
Expand All @@ -35,3 +36,13 @@
background-color: $gray-700;
}
}

.cncf-button-primary {
background-color: $pink;
&:hover {
background-color: #c53490;
color: $white;
text-decoration: none;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ While the checklist provides a meticulous list of action items, this detailed do

**Note**: This document is open source. If we missed anything, please submit a pull request or issue so we can update it — thank you!

<div class="section-group">
{{% blocks/section color="gray-300" %}}
<h3>Get your Accessbile Conference Checklist</h3>
<p>To make it really easy, we've captured everything in this document in an event checklist.</p>
<a class="cncf-button-primary" href="https://docs.google.com/spreadsheets/d/1lC1woVTu8YNWykCJ2FwBgy3aJEWbVUP0cZT3-Nw1hj0/edit#gid=0">
Download Checklist
</a>
{{% /blocks/section %}}
</div>

## General information

### DEIA: Diversity + Equity + Inclusion + Accessibility
Expand Down
4 changes: 2 additions & 2 deletions website/layouts/_default/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ <h1 class="thin">{{ .Title }}</h1>

var newUrl = baseUrl + "?" + urlParams.toString();
// Update the browser history (optional)
window.history.pushState({}, null, newUrl);
history.replaceState(null, '', newUrl);
}
</script>

</div>
{{ end }}
{{ end }}