Skip to content

Commit

Permalink
dApp: Update copies (#834)
Browse files Browse the repository at this point in the history
Closes: #798 

### Note
Only content has been changed. UI changes are not included. There are
separate issues for specific parts of UI to be changed.
  • Loading branch information
kkosiorowska authored Nov 7, 2024
2 parents 849dbc9 + cd13e46 commit 69c6984
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
11 changes: 4 additions & 7 deletions dapp/src/components/MezoBeehiveModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function MezoBeehiveModalBase() {
</HStack>
)}
<TextLg>
Acre users participate in Mezo points program automatically as a
Acre users are automatically part of the Mezo Points program as a
group.
</TextLg>
</VStack>
Expand Down Expand Up @@ -84,16 +84,13 @@ function MezoBeehiveModalBase() {
>
<CardHeader p={0} as={HStack}>
<Icon as={IconChartPieFilled} color="brand.400" boxSize={5} />
<TextMd lineHeight={5} fontWeight="bold">
Your share
</TextMd>
</CardHeader>

<CardBody p={0}>
<TextMd lineHeight={5}>
In the event of a reward distribution, your share will be
calculated based on your deposit amount and duration. You will
be able to claim your share directly from Acre.
In the event of a reward distribution, your share is calculated
by deposit amount and duration, and you can claim it directly
from Acre.
</TextMd>
</CardBody>
</Card>
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/shared/Pagination/PaginationStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function PaginationStatus(props: PaginationStatusProps) {

return (
<TextSm {...restProps}>
Showing {rangeStart}-{rangeEnd} out of {totalSize} {dataLabel}
{rangeStart}-{rangeEnd} out of {totalSize} {dataLabel}
</TextSm>
)
}
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/pages/DashboardPage/AcrePointsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function AcrePointsCard(props: CardProps) {
>
<CardHeader p={0} mb={2} as={HStack} justify="space-between">
<TextMd fontWeight="bold" color="grey.700">
Your Acre points balance
Total Acre points
</TextMd>

{isConnected && (
Expand Down
7 changes: 3 additions & 4 deletions dapp/src/pages/DashboardPage/BeehiveCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { H6, TextLg, TextMd } from "#/components/shared/Typography"
import { H6, TextMd } from "#/components/shared/Typography"
import {
Button,
Card,
Expand Down Expand Up @@ -41,7 +41,7 @@ export default function BeehiveCard(props: CardProps) {
gap={2}
>
<TextMd fontWeight="bold" color="grey.700">
L2 Rewards
Additional rewards
</TextMd>
<InfoTooltip
label="Acre Beehive automatically collects rewards from our partner projects. Rewards are dropped daily, and your share is calculated based on your deposit amount and how long you HODL."
Expand Down Expand Up @@ -91,7 +91,7 @@ export default function BeehiveCard(props: CardProps) {
query="Mezo"
styles={{ fontWeight: "bold", color: "grey.700" }}
>
Collecting mats from Mezo
Total collected mats from Mezo
</Highlight>
</TextMd>

Expand All @@ -114,7 +114,6 @@ export default function BeehiveCard(props: CardProps) {
<H6 fontWeight="bold">
{numberToLocaleString(data.totalMats)}
</H6>
<TextLg fontWeight="bold">MATS</TextLg>
</HStack>
)}

Expand Down
2 changes: 1 addition & 1 deletion dapp/src/pages/DashboardPage/PositionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function PositionDetails() {
<Flex w="100%" flexDirection="column" gap={5}>
<VStack alignItems="start" spacing={0}>
<TextMd fontWeight="bold">
Acre balance
Your deposit
{/* TODO: Uncomment when position will be implemented */}
{/* {positionPercentage && (
<Tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function TransactionTable() {
<PaginationButton mode="next" />
</HStack>

<PaginationStatus dataLabel="transactions" color="grey.500" />
<PaginationStatus dataLabel="entries" color="grey.500" />
</PaginationFooter>
</Pagination>
)
Expand Down

0 comments on commit 69c6984

Please sign in to comment.