From 14c02c4c785bb7c7b966b497a068d2dbec3302b0 Mon Sep 17 00:00:00 2001
From: Naina Singh
Date: Fri, 27 Oct 2023 12:21:22 -0400
Subject: [PATCH] Adding banner for KubeConNA 23
---
docs/stylesheets/extra.css | 8 ++++++++
overrides/main.html | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
index e7d7abce2c..7b60a2917c 100644
--- a/docs/stylesheets/extra.css
+++ b/docs/stylesheets/extra.css
@@ -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;
diff --git a/overrides/main.html b/overrides/main.html
index 72b413f9d6..a0fce86b96 100644
--- a/overrides/main.html
+++ b/overrides/main.html
@@ -12,6 +12,10 @@ ⚠ 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 the latest version.
+{% else %}
+
+
Going to KubeCon NA? Join us at the Knative kiosk and catch talks on Monday, Tuesday, and Thursday. Learn More!
+
{% endif %}
{% endblock %}