Skip to content

Commit

Permalink
Merge pull request desktop#19734 from desktop/announce-thank-you-banner
Browse files Browse the repository at this point in the history
Remove unnecessary content wrapping in Thank you banner
  • Loading branch information
tidy-dev authored Dec 18, 2024
2 parents 8aaddbb + d5562bf commit ed12264
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions app/src/ui/banners/open-thank-you-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,21 @@ export class OpenThankYouCard extends React.Component<
public render() {
return (
<Banner id="open-thank-you-card" onDismissed={this.props.onDismissed}>
<span onSubmit={this.props.onOpenCard}>
The Desktop team would like to thank you for your contributions.{' '}
<LinkButton onClick={this.props.onOpenCard}>
Open Your Card
</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':tada:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
or{' '}
<LinkButton onClick={this.onThrowCardAway}>Throw It Away</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':sob:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
</span>
The Desktop team would like to thank you for your contributions.{' '}
<LinkButton onClick={this.props.onOpenCard}>Open Your Card</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':tada:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
or <LinkButton onClick={this.onThrowCardAway}>Throw It Away</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':sob:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
</Banner>
)
}
Expand Down

0 comments on commit ed12264

Please sign in to comment.