Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stormcloud266 authored and youngkidwarrior committed Sep 3, 2024
1 parent 39bd3ef commit d0c180c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 26 deletions.
9 changes: 2 additions & 7 deletions apps/next/pages/account/rewards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Page: NextPageWithLayout = () => {
return (
<>
<Head>
<title>Send | Send It Rewards</title>
<title>Send | Send Rewards</title>
</Head>
<RewardsScreen />
</>
Expand All @@ -30,12 +30,7 @@ Page.getLayout = (children) => (
},
}}
TopNav={
<TopNav
header="Send It Rewards"
showLogo
subheader={subheader}
button={ButtonOption.PROFILE}
/>
<TopNav header="Send Rewards" showLogo subheader={subheader} button={ButtonOption.PROFILE} />
}
>
{children}
Expand Down
2 changes: 1 addition & 1 deletion docs/testing-send-merkle-drop.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Let's claim the tokens. Let's use that user's phone number to impersonate them i
- Open the [Send app](http://localhost:3000/)
- Paste the phone number of the user you want to impersonate without the country code prefix, all phones in the snapshot are in the US (dial code 1).
- Enter `123456` as the OTP code
- Navigate to the [Send It Rewards](http://localhost:3000/account/rewards) page
- Navigate to the [Send Rewards](http://localhost:3000/account/rewards) page
- Click the `Connect Wallet` button
- Select `Browser Wallet` from the modal
- Approve in Rivet
Expand Down
4 changes: 2 additions & 2 deletions packages/app/components/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function TopNav({
ai="center"
jc="space-between"
safeAreaPadding={isPwa && 't'}
$lg={{ pt: !isPwa && '$5', pb: '$5' }}
$lg={{ pt: !isPwa && '$5', pb: '$3' }}
>
{(() => {
switch (true) {
Expand Down Expand Up @@ -261,7 +261,7 @@ export function TopNav({
lineHeight={24}
py="$3"
$gtSm={{ py: '$6' }}
$gtLg={{ pl: '$1', pb: '$6', pt: '$0', ...{ ml: isSubRoute ? '$10' : '$1' } }}
$gtLg={{ pl: '$1', pb: '$6', pt: '$0', ...{ ml: isSubRoute ? '$4' : '$1' } }}
col="$color10"
>
{subheader}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function ReferredBy() {
mb="$0"
pb="$0"
>
Referred by someone? Enter their referral code below.
Referred by someone? Enter their referral code below. No slash before.
</Paragraph>
<XStack gap="$2" ai={'center'} jc="flex-start">
<YStack jc="flex-start" ai="flex-start">
Expand Down
14 changes: 0 additions & 14 deletions packages/app/features/account/settings/SettingsLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@ export function SettingsLinks(): JSX.Element {
text: 'Personal Information',
href: '/account/settings/personal-info',
},
{
text: 'Notifications',
href: '/account/settings/notification',
disabled: true,
},
{
text: 'Security',
href: '/account/settings/security',
disabled: true,
},
{
text: 'Privacy',
href: 'https://info.send.it/legal/privacy-policy',
},
{
text: 'Backup',
href: '/account/settings/backup',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ test.beforeEach(async ({ page }) => {
test('can visit rewards page', async ({ page }) => {
await page.goto('/account/rewards')
await expect(page).toHaveURL('/account/rewards')
await expect(page.getByRole('heading', { name: 'Send It Rewards', exact: true })).toBeVisible()
await expect(page.getByRole('heading', { name: 'Send Rewards', exact: true })).toBeVisible()
})

0 comments on commit d0c180c

Please sign in to comment.