From 3050a5a5260a569dcb267d146d737bd99c435890 Mon Sep 17 00:00:00 2001 From: Dimitar Angelkov Date: Mon, 23 Dec 2024 14:33:31 +0200 Subject: [PATCH] Infobar update --- docusaurus.config.js | 7 ++++--- src/theme/AnnouncementBar/Content/index.js | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index b782420d..4adc0fa6 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -52,7 +52,7 @@ const config = { trackingID: "GTM-NGX36B79", anonymizeIP: true, }, - + googleTagManager: { containerId: "GTM-NGX36B79", }, @@ -215,9 +215,10 @@ const config = { }, announcementBar: { id: "mainnet", + // content: + // 'Cartesi Rollups is Mainnet Ready! {{balance}} in {{symbol}} is up for grabs... if you can hack Cartesi Rollups.', content: - 'Cartesi Rollups is Mainnet Ready! {{balance}} in {{symbol}} is up for grabs... if you can hack Cartesi Rollups.', - + 'Build your most ambitious dApp yet with Cartesi - grant applications open! APPLY NOW', backgroundColor: "rgba(0, 0, 0, 0.7)", textColor: "#FFFFFF", isCloseable: true, diff --git a/src/theme/AnnouncementBar/Content/index.js b/src/theme/AnnouncementBar/Content/index.js index a776c5ca..5babebbc 100644 --- a/src/theme/AnnouncementBar/Content/index.js +++ b/src/theme/AnnouncementBar/Content/index.js @@ -71,6 +71,7 @@ export default function AnnouncementBarContent(props) { // Update the content with the fetched values useEffect(() => { if (!contentVars) { + setLoaded(true); return; }