Skip to content

Commit 6cf4e8d

Browse files
committed
Apply copy audit updates: Info pages, Dialogs, etc.
1 parent e3aee19 commit 6cf4e8d

21 files changed

+245
-235
lines changed

src/app/info/components/InfoAbout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const tabs = [
2929
),
3030
title: "Browse proposals",
3131
description:
32-
"Governance decisions are initiated as proposals, providing insights into the priorities of the community.",
32+
"Token holders submit proposals that shape the priorities and direction of the community.",
3333
},
3434
{
3535
icon: (
@@ -40,7 +40,7 @@ const tabs = [
4040
),
4141
title: "Vote on proposals",
4242
description:
43-
"Proposals that advance to a vote are accepted or rejected by the community’s delegates.",
43+
"Eligible proposals go to a community vote where delegates and self-delegated token holders decide the outcome.",
4444
},
4545
];
4646

src/app/info/components/InfoFAQ.tsx

Lines changed: 147 additions & 111 deletions
Large diffs are not rendered by default.

src/app/info/components/InfoRoadmap.tsx

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -58,82 +58,6 @@ const InfoRoadmap = () => {
5858
.
5959
</p>
6060
</div>
61-
62-
<div className="mb-8 p-6 bg-wash border border-line rounded-lg">
63-
<h4 className="text-lg font-semibold text-primary mb-3">
64-
Current Implementation
65-
</h4>
66-
<p className="text-secondary mb-3">
67-
The current House of Stake implementation has delivered core
68-
requirements from the{" "}
69-
<a
70-
href="https://www.gauntlet.xyz/resources/near-house-of-stake-governance-proposal"
71-
target="_blank"
72-
rel="noopener noreferrer"
73-
className="text-primary underline hover:text-secondary"
74-
>
75-
Gauntlet and NEAR Foundation specification
76-
</a>
77-
:
78-
</p>
79-
<ul className="list-disc list-inside text-secondary space-y-1 ml-4">
80-
<li>veToken contract</li>
81-
<li>Delegation and Undelegation</li>
82-
<li>Basic Proposal flow creation and voting</li>
83-
<li>veNEAR lockup contract + staking dynamics</li>
84-
</ul>
85-
<p className="text-sm mt-4">
86-
Several improvements are needed to fully reflect the original
87-
specifications, including support for both Fixed and Rolling Lock
88-
mechanisms, and enhanced proposal approval processes similar to
89-
Gauntlet&apos;s Council process with temperature check periods.
90-
</p>
91-
</div>
92-
93-
{/* <div className="space-y-8">
94-
{roadmapData.map((version) => (
95-
<div
96-
key={version.version}
97-
className="border border-line rounded-lg overflow-hidden"
98-
>
99-
<div className="bg-wash px-6 py-4 border-b border-line">
100-
<h4 className="text-xl font-bold text-primary">
101-
{version.version}
102-
</h4>
103-
</div>
104-
<div className="p-6 space-y-4">
105-
{version.items.map((item, index) => (
106-
<div
107-
key={index}
108-
className="p-4 bg-white border border-line rounded-lg hover:shadow-sm transition-shadow"
109-
>
110-
<div className="flex items-start justify-between mb-2">
111-
<h5 className="text-lg font-semibold text-primary flex-1">
112-
{item.title}
113-
</h5>
114-
<span
115-
className={`px-3 py-1 text-xs font-medium rounded-full border ${
116-
difficultyColors[item.difficulty]
117-
}`}
118-
>
119-
Effort: {item.difficulty}
120-
</span>
121-
</div>
122-
<p className="text-secondary text-sm leading-relaxed">
123-
{item.description}
124-
</p>
125-
{item.priority && (
126-
<p className="text-primary text-sm font-medium mt-2 italic">
127-
{item.priority}
128-
</p>
129-
)}
130-
</div>
131-
))}
132-
</div>
133-
</div>
134-
))}
135-
</div> */}
136-
13761
<div className="mt-8 p-6 bg-blue-50 border border-blue-200 rounded-lg">
13862
<h4 className="text-lg font-semibold text-primary mb-3">
13963
Future Considerations

src/components/Dialogs/DelegateDialog/DelegateDialog.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ export function DelegateDialog({
5151
<span className="truncate max-w-[120px]" title={delegateAddress}>
5252
{delegateAddress}
5353
</span>{" "}
54-
will be able to vote with any token owned by your address
54+
will vote on your behalf using your veNEAR voting power. Your
55+
locked NEAR and rewards remain yours. You can undelegate at any
56+
time.
5557
</div>
5658
<div className="flex flex-col relative border border-line rounded-lg">
5759
<div className="flex flex-row items-center gap-3 p-2 border-b border-line">

src/components/Dialogs/LockDialog/DisclosuresContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export const DisclosuresContent = memo(
3838
You Can Unlock Anytime
3939
</h2>
4040
<p className="text-sm text-gray-600 leading-relaxed">
41-
You can unlock your NEAR whenever you want. There is no fixed
42-
lock period.
41+
You can initiate unlocking anytime. Once started, there&apos;s a
42+
45-day cooldown before withdrawal.
4343
</p>
4444
</div>
4545

src/components/Dialogs/LockDialog/EnterAmountStep.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ export const EnterAmountStep = ({
8686
return (
8787
<div className="flex flex-col gap-6 h-full w-full">
8888
<p className="text-2xl font-bold text-left text-primary">
89-
Lock assets and gain voting power
89+
Lock NEAR for Voting Power
90+
</p>
91+
<p className="text-sm text-secondary">
92+
Locking your NEAR mints veNEAR, which gives you voting rights and
93+
eligibility for rewards.
9094
</p>
9195
<div className="flex flex-col gap-1">
9296
<div className="flex items-center text-sm text-secondary">

src/components/Dialogs/LockDialog/LiquidStakingTokenLockWarning.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ export const LiquidStakingTokenLockWarning = ({
1212
window.open("/info?item=fungible-token-withdrawal", "_blank");
1313
}, []);
1414

15+
const providerMap: Record<string, string> = {
16+
stNEAR: "Meta Pool",
17+
liNEAR: "LiNEAR Protocol",
18+
rNEAR: "Rhea Labs",
19+
};
20+
const provider = symbol ? providerMap[symbol] : "the staking pool";
21+
1522
return (
1623
<div className="flex flex-row items-start bg-[#F9F8F7] p-2 rounded-lg">
1724
<div>
@@ -22,8 +29,8 @@ export const LiquidStakingTokenLockWarning = ({
2229
/>
2330
</div>
2431
<p className="text-sm ml-2">
25-
Once you transfer your {symbol || "liquid staking tokens"}, you will not
26-
be able to withdraw without unstaking first.{" "}
32+
Your {symbol || "liquid staking tokens"} will be unstaked and you will
33+
no longer receive staking rewards from {provider} on this balance.{" "}
2734
<button onClick={onLearnMorePressed} className="underline">
2835
Learn more
2936
</button>

src/components/Dialogs/LockDialog/ReviewStep.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ export const ReviewStep = memo(
149149
Locked, and loaded.
150150
</h2>
151151
<p className="text-base text-gray-600 max-w-sm">
152-
Your rewards are flowing and your vote just got stronger!
152+
Successfully locked! You now have veNEAR voting power and are
153+
eligible for rewards.
153154
</p>
154155
</div>
155156
</div>

src/components/Dialogs/LockProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export const LockProvider = ({
202202
await queryClient.invalidateQueries({
203203
queryKey: [READ_NEAR_CONTRACT_QK, CONTRACTS.VENEAR_CONTRACT_ID],
204204
});
205-
toast.success("Lock successful");
205+
toast.success("Successfully locked assets. You now have voting power!");
206206
onLockSuccess?.();
207207
},
208208
});

src/components/Dialogs/StakingDialog/EnterStakingAmount.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,12 @@ export const EnterStakingAmount = ({
132132
<div className="flex-1 flex flex-col">
133133
<div className="mb-8">
134134
<h1 className="text-2xl font-bold text-gray-900 mb-2">
135-
Stake assets and get liquid rewards
135+
Stake NEAR for Rewards
136136
</h1>
137+
<p className="text-sm text-secondary mb-2">
138+
Staking your locked NEAR allows you to earn rewards while
139+
participating in governance.
140+
</p>
137141
</div>
138142
{hasAlreadySelectedStakingPool && (
139143
<div className="mb-6 bg-blue-50 border border-blue-200 rounded-lg p-3 flex gap-3 items-start">

0 commit comments

Comments
 (0)