You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2023/11/06 10:03:46 UTC

(pulsar-site) branch main updated: misc: remove banner after the pulsar summit (#724)

This is an automated email from the ASF dual-hosted git repository.

tison 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 89ac320a0cf6 misc: remove banner after the pulsar summit (#724)
89ac320a0cf6 is described below

commit 89ac320a0cf6716b91d5984c188dea219c75b4fc
Author: tison <wa...@gmail.com>
AuthorDate: Mon Nov 6 18:03:40 2023 +0800

    misc: remove banner after the pulsar summit (#724)
    
    Signed-off-by: tison <wa...@gmail.com>
---
 docusaurus.config.js                               | 20 ++++-----
 .../EventsPage/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 (
-    <div className={s.FeaturedEvent}>
-      <div>Featured event</div>
-      <h2>Pulsar Summit North America 2023</h2>
-      <p>
-        Mark your calendars! Pulsar Summit North America is coming back to Hotel Nikko in San Francisco, California on Wednesday, October 25th, 2023.
-      </p>
-      <p>
-        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.
-      </p>
-      <p>
-        <a href="https://sessionize.com/pulsar-summit-north-america-2023/" target='_blank'><strong>CFPs are now open!</strong></a>
-      </p>
-    </div>
-  );
-
-  // Uncomment the section above if no featured event is available.
   // return (
   //   <div className={s.FeaturedEvent}>
-  //     {/* <div>Featured event</div> */}
-  //     <h2>Pulsar Summit</h2>
+  //     <div>Featured event</div>
+  //     <h2>Pulsar Summit North America 2023</h2>
   //     <p>
-  //       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.
   //     </p>
   //     <p>
-  //       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.
+  //     </p>
+  //     <p>
+  //       <a href="https://sessionize.com/pulsar-summit-north-america-2023/" target='_blank'><strong>CFPs are now open!</strong></a>
   //     </p>
-  //     <a
-  //       href="https://pulsar-summit.org/"
-  //       target='_blank'
-  //     >Learn more</a>
   //   </div>
   // );
+
+  // Uncomment the section above if no featured event is available.
+  return (
+    <div className={s.FeaturedEvent}>
+      {/* <div>Featured event</div> */}
+      <h2>Pulsar Summit</h2>
+      <p>
+        Pulsar Summit is the conference for Apache Pulsar and event processing communities that takes place multiple times a year.
+      </p>
+      <p>
+        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.
+      </p>
+      <a
+        href="https://pulsar-summit.org/"
+        target='_blank'
+      >Learn more</a>
+    </div>
+  );
 }
 
 export default FeaturedEvent;