Skip to content

Commit

Permalink
chore: update text
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQW committed Oct 19, 2023
1 parent bfd80be commit 52f80cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/site/src/components/Buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ConnectButton = (props: ComponentProps<typeof Button>) => {
return (
<Button {...props}>
<FlaskFox />
<ButtonText>Connect</ButtonText>
<ButtonText>Install</ButtonText>
</Button>
);
};
Expand All @@ -89,7 +89,7 @@ export const ReconnectButton = (props: ComponentProps<typeof Button>) => {
return (
<Button {...props}>
<FlaskFox />
<ButtonText>Reconnect</ButtonText>
<ButtonText>Reinstall</ButtonText>
</Button>
);
};
Expand Down
19 changes: 11 additions & 8 deletions packages/site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ const Heading = styled.h1`
const SubHeading = styled.h2`
margin-top: 0;
margin-bottom: 2.4rem;
line-height: 1.8;
font-size: 2rem;
text-align: center;
text-align: left;
max-width: 128rem;
`;

Expand Down Expand Up @@ -290,8 +291,11 @@ const Index = () => {
</Heading>
<SubHeading>
This Snap for <Span>MetaMask</Span> allows you to monitor the activities
of any address. <br></br> A notification will be sent to you when there
is a new activity produced by the monitored addresses.
of any address. <br></br>
1. Connect to the Snap and install. <br></br>
2. Start monitoring any address. <br></br>
3. When there is a new activity produced by any of your monitored
addresses, <Span>you will be notified</Span>.
</SubHeading>
<CardContainer>
{state.error && (
Expand All @@ -313,9 +317,8 @@ const Index = () => {
{!state.installedSnap && (
<Card
content={{
title: 'Connect',
description:
'Get started by connecting to and installing the example snap.',
title: 'Install',
description: 'Get started by installing this snap.',
button: (
<ConnectButton
onClick={handleConnectClick}
Expand All @@ -329,9 +332,9 @@ const Index = () => {
{shouldDisplayReconnectButton(state.installedSnap) && (
<Card
content={{
title: 'Reconnect',
title: 'Reinstall',
description:
'While connected to a local running snap this button will always be displayed in order to update the snap if a change is made.',
"Reinstall to update the snap, or if something isn't right.",
button: (
<ReconnectButton
onClick={handleConnectClick}
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/NaturalSelectionLabs/RSS3-MetaMask-Snap.git"
},
"source": {
"shasum": "EpCo0sK+8qLTc//Tw/iI58vREEoLWRoty64PBFcAx10=",
"shasum": "XHExyM2bxV7WjC+2oje3cdBj8mYPDUVzqQ2CBmgB6uk=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down

0 comments on commit 52f80cc

Please sign in to comment.