Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SWA-128][FEAT] - Update social links, links to Range Liquidity and new Popup #1889

Conversation

ElRodrigote
Copy link
Collaborator

Fixes: SWA-128

Description

  • Update Discords links
  • Remove $SWPR ClaimModal component
  • Add new Range Liquidity header link
  • Add new Range Liquidity popup component

Visual evidence

image

How to test the changes

  1. Pull this branch
  2. Run the project locally
  3. Go to Swapr landing page
  4. Connect your wallet
  5. The new popup and header item should be visible, and they should redirect the user to https://swapr.liquidity.eth.limo/, all Discord links should send a correct invitation to Swapr Discord and the Claim modal to claim $SWPR should be unavailable

Copy link

netlify bot commented Dec 20, 2023

Deploy Preview for swapr ready!

Name Link
🔨 Latest commit 1f7af31
🔍 Latest deploy log https://app.netlify.com/sites/swapr/deploys/658dd43b27323900087b8cb6
😎 Deploy Preview https://deploy-preview-1889--swapr.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 25 (no change from production)
Accessibility: 80 (🟢 up 3 from production)
Best Practices: 92 (no change from production)
SEO: 67 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot temporarily deployed to feat-swa-128-update-social-links-and-showcase-new-amm-concentra December 20, 2023 16:57 Destroyed
@github-actions github-actions bot temporarily deployed to feat-swa-128-update-social-links-and-showcase-new-amm-concentra December 20, 2023 19:50 Destroyed
@ElRodrigote ElRodrigote marked this pull request as draft December 21, 2023 15:19
src/constants/urls.ts Outdated Show resolved Hide resolved
@Diogomartf
Copy link
Collaborator

Let's change the banner text to to be consistent:

"Provide concentrated liquidity in Gnosis Chain"

I think the most clear term is concentrated liquidity.

@Diogomartf
Copy link
Collaborator

Also the font is super big, I would decrease it a bit.

image

Copy link
Collaborator

@berteotti berteotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, made a few comments to improve little things and some design related stuff.

src/components/Header/index.tsx Outdated Show resolved Hide resolved
Comment on lines -282 to -289
<ClaimModal
onDismiss={toggleClaimPopup}
newSwprBalance={newSwprBalance}
stakedAmount={stakedTokenAmount?.toFixed(3)}
singleSidedCampaignLink={
data && !loading ? `/rewards/single-sided-campaign/${data.stakeToken.address}/${data.address}` : undefined
}
/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we removing this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/components/Popups/LiquidityV3Popup.tsx Outdated Show resolved Hide resolved
src/constants/urls.ts Outdated Show resolved Hide resolved
src/state/application/hooks.tsx Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to feat-swa-128-update-social-links-and-showcase-new-amm-concentra December 21, 2023 20:33 Destroyed
@ElRodrigote ElRodrigote marked this pull request as ready for review December 21, 2023 21:03
@github-actions github-actions bot temporarily deployed to feat-swa-128-update-social-links-and-showcase-new-amm-concentra December 21, 2023 21:08 Destroyed
@berteotti
Copy link
Collaborator

Screenshot 2023-12-22 at 10 20 54

Can we have a smaller font on mobile?

Copy link
Collaborator

@berteotti berteotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job Rorry, just a small typo on the banner. It can be merged after that fix.

Comment on lines +1 to +2
export const DISCORD_INVITE_LINK = process.env.DISCORD_INVITE_URL ?? 'https://discord.com/invite/QFkNsjTkzD'
export const LIQUIDITY_V3_LINK = process.env.LIQUIDITY_V3_URL ?? 'https://swapr.liquidity.eth.limo/#/info/pools'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

src/pages/Pools/LiquidityV3Banner/index.tsx Outdated Show resolved Hide resolved
@ElRodrigote ElRodrigote force-pushed the feat/swa-128-update-social-links-and-showcase-new-amm-concentrated-liq branch from 67a6081 to 1301bfd Compare December 28, 2023 14:31
@github-actions github-actions bot temporarily deployed to feat-swa-128-update-social-links-and-showcase-new-amm-concentra December 28, 2023 14:37 Destroyed
@ElRodrigote ElRodrigote merged commit a46fe88 into develop Dec 29, 2023
18 checks passed
ElRodrigote added a commit that referenced this pull request Feb 2, 2024
…up and Banner (#1889)

* chore(SWA-128): update Discord links
* prune(STK-128): remove SWPR ClaimModal component
* feat(SWA-128): add new Liquidity V3 header link
* feat(SWA-128): create Liquidity V3 popup and update Tostify styles
* feat(SWA-128): create the Liquidity V3 banner and place it on our Pools page
ElRodrigote added a commit that referenced this pull request Feb 2, 2024
…up and Banner (#1889)

* chore(SWA-128): update Discord links
* prune(STK-128): remove SWPR ClaimModal component
* feat(SWA-128): add new Liquidity V3 header link
* feat(SWA-128): create Liquidity V3 popup and update Tostify styles
* feat(SWA-128): create the Liquidity V3 banner and place it on our Pools page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants