Skip to content

Commit 8e2c3b1

Browse files
authored
Merge pull request #3848 from IntersectMBO/3842-update-red-banner-copy-on-govtool
(fix#3842) Update Red Banner Copy on GovTool
2 parents d411795 + 4f431fd commit 8e2c3b1

File tree

2 files changed

+9
-27
lines changed

2 files changed

+9
-27
lines changed

govtool/frontend/src/components/organisms/MaintenanceEndingBanner/MaintenanceEndingBanner.tsx

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const MaintenanceEndingBanner = () => {
6161
{/* Expandable Content */}
6262
<Box
6363
sx={{
64-
maxHeight: isExpanded ? '300px' : "0px", // 300px is a safe value for transition effect
64+
maxHeight: isExpanded ? "300px" : "0px", // 300px is a safe value for transition effect
6565
transition: "max-height 0.4s ease-in-out",
6666
overflow: "hidden",
6767
}}
@@ -81,36 +81,21 @@ export const MaintenanceEndingBanner = () => {
8181
color="common.white"
8282
mb={0.5}
8383
>
84-
{t("system.maintenanceEnding.description1")}
85-
</Typography>
86-
<Typography variant="caption" color="common.white" mb={0.5}>
8784
<Trans
88-
i18nKey="system.maintenanceEnding.description2"
85+
i18nKey="system.maintenanceEnding.description1"
8986
components={[
90-
<Typography
91-
key="1"
87+
<Link
9288
variant="caption"
9389
fontWeight={600}
9490
color="common.white"
95-
component="span"
91+
href="https://gov.tools/outcomes/governance_actions/9d213a57684d7ddf6f3350c80d042639ecbed5ccccc4a05bf54959a086593e7b#0"
92+
data-testid="govtool-info-link"
93+
target="_blank"
94+
rel="noopener noreferrer"
9695
/>,
9796
]}
9897
/>
9998
</Typography>
100-
<Typography variant="caption" color="common.white">
101-
{t("system.maintenanceEnding.description3")}{" "}
102-
<Link
103-
variant="caption"
104-
fontWeight={600}
105-
color="common.white"
106-
href="https://docs.gov.tools/overview/important-updates/the-future-of-govtool-why-it-matters-and-what-comes-next"
107-
target="_blank"
108-
rel="noopener noreferrer"
109-
data-testid="govtool-future-link"
110-
>
111-
{t("system.maintenanceEnding.linkText")}
112-
</Link>
113-
</Typography>
11499
</Box>
115100
</Box>
116101
</Box>

govtool/frontend/src/i18n/locales/en.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -764,11 +764,8 @@
764764
"title": "This tool is connected to {{networkName}}",
765765
"bootstrappingWarning": "Govtool is in the Bootstrapping phase. Some features are not available. <docs>Learn more</docs>",
766766
"maintenanceEnding": {
767-
"title": "⚠️ GovTool needs your support",
768-
"description1": "GovTool wasn’t included in the current Cardano budget.",
769-
"description2": "A 100k ada maintenance grant will sustain essential infrastructure and bug fixes through 2025 — but future development depends on renewed community backing.",
770-
"description3": "Find out what this means and how you can help:",
771-
"linkText": "The future of GovTool"
767+
"title": "🔥 GovTool needs your support - Info Action is submitted",
768+
"description1": "This Info Action outlines the revised GovTool plan and <0>your vote</0> is essential to continue active development and maintenance for the next 12 months, keeping community owned open governance tooling on Cardano."
772769
}
773770
},
774771
"tooltips": {

0 commit comments

Comments
 (0)