This is an automated email from the ASF dual-hosted git repository.
visortelle pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 3545e44626dd Remove Pulsar Summit EU 2024 announcement bar (#900)
3545e44626dd is described below
commit 3545e44626dd4d5b042a1de68fa9f1b95a081432
Author: Kiryl Valkovich <[email protected]>
AuthorDate: Thu May 16 15:17:09 2024 +0400
Remove Pulsar Summit EU 2024 announcement bar (#900)
* Remove the Pulsar Summit EU 2024 announcement bar
- Ask to join the Pulsar community at the announcement bar
- Minor style changes at the community page according to the Figma design
---
docusaurus.config.js | 4 ++--
.../sections/discussions/DiscussionPlatforms.module.css | 7 +++++--
src/components/ui/renderAnnouncementBar.js | 4 ++--
src/css/announcement-bar.css | 1 -
4 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index b8d6f18a2502..01aeb408d19c 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -151,8 +151,8 @@ module.exports = {
announcementBar: {
id: "summit",
content: renderAnnouncementBar(
- "Get your free pass for Pulsar Virtual Summit Europe 2024 on May 14,
2024 🗓️",
- "https://registration.socio.events/e/pulsarvirtualsummiteurope2024"
+ "👋 Start your Pulsar journey by becoming a member of our community",
+ "/community/#section-discussions"
),
backgroundColor: "#282826",
textColor: "#fff",
diff --git
a/src/components/pages/CommunityPage/sections/discussions/DiscussionPlatforms.module.css
b/src/components/pages/CommunityPage/sections/discussions/DiscussionPlatforms.module.css
index 7a9dfa15e831..ebbb7c06b918 100644
---
a/src/components/pages/CommunityPage/sections/discussions/DiscussionPlatforms.module.css
+++
b/src/components/pages/CommunityPage/sections/discussions/DiscussionPlatforms.module.css
@@ -41,7 +41,10 @@
box-sizing: border-box;
width: 100%;
}
-.DiscussionPlatformCardText h3, .DiscussionPlatformCardText div{
+.DiscussionPlatformCardText h3 {
+ margin-bottom: 0;
+}
+.DiscussionPlatformCardText div{
line-height: 20px;
font-size: 16px;
font-weight: 400;
@@ -84,4 +87,4 @@
margin-left: 50%;
margin-top: 24px;
}
-}
\ No newline at end of file
+}
diff --git a/src/components/ui/renderAnnouncementBar.js
b/src/components/ui/renderAnnouncementBar.js
index ab15ded5a4b4..7839f2238b19 100644
--- a/src/components/ui/renderAnnouncementBar.js
+++ b/src/components/ui/renderAnnouncementBar.js
@@ -23,9 +23,9 @@ function renderAnnouncementBar(html, href) {
return `
<a class="announcement-bar" href="${href}" target="_blank">
<div class="announcement-bar__content">
- <svg class="announcement-bar__icon">
+ <!-- <svg class="announcement-bar__icon">
${boltIcon}
- </svg>
+ </svg> -->
<span>
${html}
diff --git a/src/css/announcement-bar.css b/src/css/announcement-bar.css
index 29bdfe83c1b7..ae262081d106 100644
--- a/src/css/announcement-bar.css
+++ b/src/css/announcement-bar.css
@@ -39,7 +39,6 @@ div[class^="announcementBar"][role="banner"]
.announcement-bar__content {
justify-content: flex-start;
align-items: center;
height: 2.4rem;
- background-color: #282826;
color: #f6f6f6;
}