Skip to content

Commit

Permalink
Adding banner for KubeConNA 23
Browse files Browse the repository at this point in the history
  • Loading branch information
nainaz committed Oct 27, 2023
1 parent c120f1b commit 14c02c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ a.md-header__button.md-logo img {
color: black;
}

.md-banner .announcement {
color: black;
background-color: #FFE6FB;
display: flex;
justify-content: center;
font-size: 16px;
}

.md-banner a {
color: blue;
text-decoration: underline;
Expand Down
4 changes: 4 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ <h1>⚠ You are viewing an archived snapshot of the documentation for Knative ve
Knative {{ config.extra.knative_version }} documentation is no longer actively maintained. The documentation you are currently viewing is a static snapshot. For up-to-date documentation, see <a href="{{ base_url }}/../docs/">the latest version</a>.
</p>
</div>
{% else %}
<div class="announcement">
<p>Going to KubeCon NA? Join us at the Knative kiosk and catch talks on Monday, Tuesday, and Thursday. <a href="https://knative.dev/blog/events/knative-at-kubecon-na-2023/">Learn More!</a></p>
</div>
{% endif %}
{% endblock %}

Expand Down

0 comments on commit 14c02c4

Please sign in to comment.