Skip to content

Commit

Permalink
misc: remove banner after the pulsar summit (#724)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun authored Nov 6, 2023
1 parent ed1ebc1 commit 89ac320
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
20 changes: 10 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
50 changes: 25 additions & 25 deletions src/components/pages/EventsPage/FeaturedEvent/FeaturedEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 89ac320

Please sign in to comment.