File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -9,24 +9,20 @@ export const Page: NextPageWithLayout = () => {
9
9
return (
10
10
< >
11
11
< Head >
12
- < title > Send | Affiliates</ title >
13
- < meta
14
- name = "description"
15
- content = "View your network and track referral activity."
16
- key = "desc"
17
- />
12
+ < title > Send | Friends</ title >
13
+ < meta name = "description" content = "View invited friends and track activity." key = "desc" />
18
14
</ Head >
19
15
< AffiliateScreen />
20
16
</ >
21
17
)
22
18
}
23
19
24
- const subheader = 'View your network and track referral activity.'
20
+ const subheader = 'View invited friends and track activity.'
25
21
26
22
export const getServerSideProps = userProtectedGetSSP ( )
27
23
28
24
Page . getLayout = ( children ) => (
29
- < HomeLayout TopNav = { < TopNav header = "Affiliate " subheader = { subheader } /> } > { children } </ HomeLayout >
25
+ < HomeLayout TopNav = { < TopNav header = "Friends " subheader = { subheader } /> } > { children } </ HomeLayout >
30
26
)
31
27
32
28
export default Page
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const AccountHeader = (props: YStackProps) => {
66
66
< Button . Icon >
67
67
< IconShare size = { '$1.5' } color = { '$primary' } $theme-light = { { color : '$color12' } } />
68
68
</ Button . Icon >
69
- < Button . Text size = { '$5' } > Refer Friends</ Button . Text >
69
+ < Button . Text size = { '$5' } > Invite Friends</ Button . Text >
70
70
</ Button >
71
71
< Button f = { 1 } py = { '$5' } h = { 'auto' } br = { '$5' } bw = { 0 } hoverStyle = { hoverStyles } >
72
72
< Button . Icon >
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const ACCOUNT_LINKS: {
58
58
icon : < IconStarOutline { ...iconProps } /> ,
59
59
} ,
60
60
{
61
- text : 'Affiliate ' ,
61
+ text : 'Friends ' ,
62
62
href : '/account/affiliate' ,
63
63
icon : < IconDollar { ...iconProps } scale = { 1.2 } /> ,
64
64
} ,
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const StatsCards = () => {
50
50
>
51
51
< Card $gtLg = { { flexShrink : 0 , flexBasis : '32%' } } w = "100%" mih = { 152 } >
52
52
< CardHeader >
53
- < Label color = { '$color10' } > Total Referrals </ Label >
53
+ < Label color = { '$color10' } > Your Friends </ Label >
54
54
</ CardHeader >
55
55
{ isLoading ? (
56
56
< Spinner alignSelf = "flex-start" size = "large" color = "$color12" mt = "auto" p = "$4" />
@@ -94,7 +94,9 @@ const ReferralsList = () => {
94
94
return (
95
95
< YStack space = "$4" >
96
96
< XStack alignItems = "center" gap = "$3" >
97
- < H3 fontWeight = { 'normal' } > { ! pages || ! pages [ 0 ] ?. length ? 'No Referrals' : 'Referrals' } </ H3 >
97
+ < H3 fontWeight = { 'normal' } >
98
+ { ! pages || ! pages [ 0 ] ?. length ? 'No invited friends yet' : 'Friends' }
99
+ </ H3 >
98
100
</ XStack >
99
101
{ Boolean ( pages ?. [ 0 ] ?. length ) && (
100
102
< Card gap = "$5" p = "$5" w = "100%" fd = "row" flexWrap = "wrap" >
@@ -144,7 +146,9 @@ const ReferralsList = () => {
144
146
145
147
const ReferralsListRow = ( {
146
148
referral,
147
- } : { referral : Functions < 'get_affiliate_referrals' > [ number ] } ) => {
149
+ } : {
150
+ referral : Functions < 'get_affiliate_referrals' > [ number ]
151
+ } ) => {
148
152
const date = new Date ( referral ?. created_at ) . toLocaleString ( undefined , { dateStyle : 'medium' } )
149
153
150
154
return (
You can’t perform that action at this time.
0 commit comments