diff --git a/app/share/page.tsx b/app/share/page.tsx index 66c97cd..3454566 100644 --- a/app/share/page.tsx +++ b/app/share/page.tsx @@ -151,7 +151,7 @@ export default function SharePage(): JSX.Element { const toggleRow = React.useCallback((id: string) => { - setExpandedRowIds((prev) => { + setExpandedRowIds((prev: any) => { const next = new Set(prev); if (next.has(id)) { next.delete(id); @@ -185,45 +185,62 @@ export default function SharePage(): JSX.Element { Step 1 Share -

Copy your invitation code and share it with friends.

+

Copy your invitation link and share it with friends.

  • Step 2 Register
    -

    Friends register and enter your invitation code.

    +

    Friends click the link and register directly.

  • Step 3 Reward
    -

    You both receive rewards after successful registration.

    +

    You both receive rewards after your friend activates their account.

  • - {/* Section 2: My Invitation Code */} -
    -
    -
    -

    My Invitation Code

    + {/* Section 2: My Invitation Link */} +
    +
    +
    +

    My Invitation Link

    -
    - {inviteCode} +
    +
    + {inviteCode ? `${'https://www.movieflow.ai'}/signup?inviteCode=${inviteCode}` : '-'} +
    + {/* 右侧渐变遮挡 */} +
    -

    Share this code. Your friends can enter it during registration.

    +

    Share this link. Your friends can register directly through it.

    Total Credits @@ -233,7 +250,7 @@ export default function SharePage(): JSX.Element {
    Invited Friends {invitedCount} - Points detail will be available soon. + Point details will be available soon.
    @@ -245,9 +262,9 @@ export default function SharePage(): JSX.Element {