From 89ac320a0cf6716b91d5984c188dea219c75b4fc Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 6 Nov 2023 18:03:40 +0800 Subject: [PATCH] misc: remove banner after the pulsar summit (#724) Signed-off-by: tison --- docusaurus.config.js | 20 ++++---- .../FeaturedEvent/FeaturedEvent.tsx | 50 +++++++++---------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 68644bd4d5f9..4fc53ef615da 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -148,16 +148,16 @@ module.exports = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ image: 'img/pulsar_highres.png', - announcementBar: { - id: "summit", - content: renderAnnouncementBar( - "Register Now for Pulsar Summit North America 2023", - "https://registration.socio.events/e/pulsarsummitna2023?utm_source=pulsar&utm_medium=website&utm_campaign=banner" - ), - backgroundColor: "#282826", - textColor: "#fff", - isCloseable: false, - }, + // announcementBar: { + // id: "summit", + // content: renderAnnouncementBar( + // "Register Now for Pulsar Summit North America 2023", + // "https://registration.socio.events/e/pulsarsummitna2023?utm_source=pulsar&utm_medium=website&utm_campaign=banner" + // ), + // backgroundColor: "#282826", + // textColor: "#fff", + // isCloseable: false, + // }, colorMode: { disableSwitch: true, }, diff --git a/src/components/pages/EventsPage/FeaturedEvent/FeaturedEvent.tsx b/src/components/pages/EventsPage/FeaturedEvent/FeaturedEvent.tsx index f260ff4c56cd..a6e7a44a7d7e 100644 --- a/src/components/pages/EventsPage/FeaturedEvent/FeaturedEvent.tsx +++ b/src/components/pages/EventsPage/FeaturedEvent/FeaturedEvent.tsx @@ -9,39 +9,39 @@ const FeaturedEvent: React.FC = () => { return null; } - return ( -
-
Featured event
-

Pulsar Summit North America 2023

-

- Mark your calendars! Pulsar Summit North America is coming back to Hotel Nikko in San Francisco, California on Wednesday, October 25th, 2023. -

-

- Over the past few years, Pulsar Summit has featured 100+ speakers and brought together more than 2,0000 Pulsar community members for engaging and insightful sessions. -

-

- CFPs are now open! -

-
- ); - - // Uncomment the section above if no featured event is available. // return ( //
- // {/*
Featured event
*/} - //

Pulsar Summit

+ //
Featured event
+ //

Pulsar Summit North America 2023

//

- // Pulsar Summit is the conference for Apache Pulsar and event processing communities that takes place multiple times a year. + // Mark your calendars! Pulsar Summit North America is coming back to Hotel Nikko in San Francisco, California on Wednesday, October 25th, 2023. //

//

- // This summit provides a diverse platform to explore, learn and exchange ideas. From captivating keynotes to insightful panel discussions, hands-on workshops, and unparalleled networking opportunities. + // Over the past few years, Pulsar Summit has featured 100+ speakers and brought together more than 2,0000 Pulsar community members for engaging and insightful sessions. + //

+ //

+ // CFPs are now open! //

- // Learn more //
// ); + + // Uncomment the section above if no featured event is available. + return ( +
+ {/*
Featured event
*/} +

Pulsar Summit

+

+ Pulsar Summit is the conference for Apache Pulsar and event processing communities that takes place multiple times a year. +

+

+ This summit provides a diverse platform to explore, learn and exchange ideas. From captivating keynotes to insightful panel discussions, hands-on workshops, and unparalleled networking opportunities. +

+ Learn more +
+ ); } export default FeaturedEvent;