Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
1e82b97
add fuji testnet
Mrsirdev Feb 26, 2023
7dcab8d
add router api
0xctrlaltape Feb 26, 2023
26eca1a
update navbar, show pools, hide tokens
Mrsirdev Feb 28, 2023
130b51e
Add chart
Mrsirdev Mar 6, 2023
deb9822
landing page colors
Mrsirdev Mar 6, 2023
80d02e1
add evmos testnet
Mrsirdev Mar 9, 2023
b8d6d73
skip graph schema generation
Mrsirdev Mar 9, 2023
e347408
rename tevmos
Mrsirdev Mar 9, 2023
23e1989
add prepare script
Mrsirdev Mar 9, 2023
a697d54
merge conflicts
Mrsirdev Mar 10, 2023
992e76e
fix images and connect button
Mrsirdev Mar 10, 2023
53fbf7a
update smart-order-router
Mrsirdev Mar 10, 2023
b552a4e
supress linting error
Mrsirdev Mar 10, 2023
55cbdaa
remove universal router usage from swap
Mrsirdev Mar 12, 2023
2a03b82
remove light mode
Mrsirdev Mar 12, 2023
b379b26
hide price graph on mobile
Mrsirdev Mar 13, 2023
f5c462b
adding cards + changing theme
Mar 13, 2023
8080ebf
adding cards + changing theme
Mar 13, 2023
4459b8a
Revert "adding cards + changing theme"
Mar 13, 2023
3e2903b
add price chart toggle
Mrsirdev Mar 14, 2023
ced3c54
add forge branding
Mrsirdev Mar 21, 2023
bc8f9ab
merge gv testing
Mrsirdev Mar 21, 2023
ba90ef5
fix background colors
Mrsirdev Mar 21, 2023
bab87cd
hardcode intro flag to true
Mrsirdev Mar 21, 2023
912977f
fix text
Mrsirdev Mar 22, 2023
dc33694
fix mobile layout
Mrsirdev Mar 22, 2023
247d8c8
always dark mode
Mrsirdev Mar 22, 2023
03b990b
logos, icons, links & more
Mrsirdev Mar 24, 2023
ba3569d
fix warnings
Mrsirdev Mar 24, 2023
7ef75f9
remove unused import
Mrsirdev Mar 25, 2023
9c1b8b1
update manifest
Mrsirdev Mar 25, 2023
fa1e455
add twitter meta
Mrsirdev Mar 25, 2023
f6d40f1
small design and text changes, removes nft navabar
Mar 27, 2023
af04efd
Merge pull request #3 from Forge-Trade/gv-testnet-images
creeea Mar 27, 2023
636278c
header update
LPX55 Mar 27, 2023
b8f56ea
fixed error build
Mar 27, 2023
bff9b38
removing swap fees description
Mar 27, 2023
e589c8b
update: revertUI back center
LPX55 Mar 27, 2023
699734e
update: minor ui fix
LPX55 Mar 27, 2023
1e4831b
ui: minor fix
LPX55 Mar 27, 2023
8ca477d
tax flag
Mrsirdev Mar 27, 2023
77b8619
Merge pull request #5 from Forge-Trade/lpx
LPX55 Mar 27, 2023
7a7b041
lint run
LPX55 Mar 27, 2023
e995e86
Merge branch 'testnet' into lpx
LPX55 Mar 27, 2023
73b2526
Merge pull request #6 from Forge-Trade/lpx
LPX55 Mar 27, 2023
2d2e218
remove other chains
0xctrlaltape Mar 27, 2023
0860f36
ui: fix for 4k displays
LPX55 Mar 27, 2023
3931322
Merge pull request #7 from Forge-Trade/lpx
LPX55 Mar 27, 2023
37041c7
fix chain selection
0xctrlaltape Mar 27, 2023
098928d
Merge branch 'testnet' of https://github.com/Forge-Trade/interface in…
0xctrlaltape Mar 27, 2023
3217033
LFG
LPX55 Mar 27, 2023
7dc531e
Update index.tsx
LPX55 Mar 27, 2023
4838db5
Merge pull request #8 from Forge-Trade/lpx
LPX55 Mar 27, 2023
4bc1bd1
fix: og-image
LPX55 Mar 27, 2023
1679cfd
Merge pull request #9 from Forge-Trade/lpx
LPX55 Mar 27, 2023
4ffc24b
minor feedback fixes
Mrsirdev Mar 28, 2023
21ee0c6
add feedback fixes
Mrsirdev Mar 28, 2023
14dfbe1
remove warning
Mrsirdev Mar 28, 2023
e48d0ac
remove log
Mrsirdev Mar 29, 2023
532451a
fix wrong token logos
Mrsirdev Mar 29, 2023
a81abd4
remove unused integrations
Mrsirdev Mar 29, 2023
60adf9c
update tokenlist
Mrsirdev Mar 29, 2023
93114d0
remove unused integration
Mrsirdev Mar 29, 2023
490706c
fix axlETH & remove google analytics
Mrsirdev Mar 29, 2023
18e69cc
chore(i18n): new Crowdin translations (#6196)
github-actions[bot] Mar 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
/src/locales/**/en-US.po
/src/locales/**/pseudo.po

# generated graphql types
schema.graphql

# dependencies
/node_modules
Expand Down Expand Up @@ -43,3 +41,8 @@ cypress/videos
cypress/screenshots

.vercel

#front page test images
src/components/About/images/nftCard_*.png
src/components/About/images/swapCard_*.png
.vscode/settings.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Uniswap Labs Interface
# ForgeDEX | Capital Efficiency has arrived, IBC!

[![codecov](https://codecov.io/gh/Uniswap/interface/branch/main/graph/badge.svg?token=YVT2Y86O82)](https://codecov.io/gh/Uniswap/interface)

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"i18n:extract": "lingui extract --locale en-US",
"i18n:compile": "yarn i18n:extract && lingui compile",
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile",
"prepare": "yarn contracts:compile && yarn graphql:fetch && yarn graphql:generate && yarn i18n:compile",
"prepare": "yarn contracts:compile && yarn i18n:compile",
"start": "craco start",
"build": "craco build",
"serve": "serve build -l 3000",
Expand Down Expand Up @@ -127,6 +127,7 @@
"@looksrare/sdk": "^0.10.2",
"@metamask/jazzicon": "^2.0.0",
"@opensea/seaport-js": "^1.0.10",
"@orbitalapes/smart-order-router": "^3.5.4",
"@popperjs/core": "^2.4.4",
"@reach/dialog": "^0.10.3",
"@reach/portal": "^0.10.3",
Expand All @@ -136,7 +137,7 @@
"@types/react-window-infinite-loader": "^1.0.6",
"@uniswap/analytics": "^1.3.1",
"@uniswap/analytics-events": "^2.6.0",
"@uniswap/conedison": "^1.4.0",
"@uniswap/conedison": "^1.5.3",
"@uniswap/governance": "^1.0.2",
"@uniswap/liquidity-staker": "^1.0.2",
"@uniswap/merkle-distributor": "1.0.1",
Expand Down Expand Up @@ -192,6 +193,7 @@
"inter-ui": "^3.13.1",
"jotai": "^1.3.7",
"jsbi": "^3.1.4",
"lightweight-charts": "^4.0.0",
"make-plural": "^7.0.0",
"multicodec": "^3.0.1",
"multihashes": "^4.0.2",
Expand Down
Binary file added public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon.ico
Binary file not shown.
Binary file removed public/favicon.png
Binary file not shown.
Binary file added public/images/ForgeIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/ForgeLogoFinal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/forge-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 14 additions & 14 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
<head>
<meta charset="utf-8" />

<title>Uniswap Interface</title>
<meta name="description" content="Swap or provide liquidity on the Uniswap Protocol" />
<title>Forge</title>
<meta name="description" content="Swap or provide liquidity on Forge DEX" />

<!--
%PUBLIC_URL% will be replaced with the URL of the `public` folder during build.
Only files inside the `public` folder can be referenced from the HTML.
-->
<link rel="shortcut icon" type="image/png" href="%PUBLIC_URL%/favicon.png" />
<link rel="apple-touch-icon" sizes="192x192" href="%PUBLIC_URL%/images/192x192_App_Icon.png" />
<link rel="apple-touch-icon" sizes="512x512" href="%PUBLIC_URL%/images/512x512_App_Icon.png" />

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@ForgeDEX" />
<meta name="twitter:creator" content="@ForgeDEX" />
<meta name="twitter:title" content="Forge" />
<meta name="twitter:description" content="Swap, earn, and build on the strongest Evmos community owned DEX." />
<meta name="twitter:image" content="/og-social.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#FC72FF" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' https://www.google-analytics.com https://www.googletagmanager.com 'unsafe-inline'"
/>
<meta name="theme-color" content="#111212" />

<!--
manifest.json provides metadata used when the app is installed as a PWA.
See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

<link rel="preconnect" href="https://www.google-analytics.com/" />

<link rel="preload" href="%PUBLIC_URL%/fonts/Inter-roman.var.woff2" as="font" type="font/woff2" crossorigin />

Expand Down Expand Up @@ -97,13 +97,13 @@

@media (prefers-color-scheme: dark) {
html {
background: linear-gradient(180deg, #202738 0%, #070816 100%);
background: linear-gradient(180deg, #0D0E0E 0%, #0D0E0E 100%);
}
}

@media (prefers-color-scheme: light) {
html {
background: radial-gradient(100% 100% at 50% 0%, rgba(255, 184, 226, 0.51) 0%, rgba(255, 255, 255, 0) 100%), #FFFFFF
background: linear-gradient(180deg, #0D0E0E 0%, #0D0E0E 100%);
}
}
</style>
Expand Down
10 changes: 5 additions & 5 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
"display": "standalone",
"homepage_url": "https://app.uniswap.org",
"providedBy": {
"name": "Uniswap",
"name": "Forge",
"url": "https://uniswap.org"
},
"icons": [
{
"src": "./images/192x192_App_Icon.png",
"src": "./images/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "./images/512x512_App_Icon.png",
"src": "./images/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
],
"orientation": "portrait",
"name": "Uniswap",
"name": "Forge",
"description": "Swap or provide liquidity on the Uniswap Protocol",
"iconPath": "./images/256x256_App_Icon_Pink.svg",
"short_name": "Uniswap",
"start_url": ".",
"theme_color": "#FC72FF"
"theme_color": "#111212"
}
Binary file added public/og-social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
102 changes: 28 additions & 74 deletions src/components/About/AboutFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { TraceEvent } from '@uniswap/analytics'
import { BrowserEvent, InterfaceElementName, SharedEventName } from '@uniswap/analytics-events'
import { useIsDarkMode } from 'state/user/hooks'
import styled from 'styled-components/macro'
import { BREAKPOINTS, ExternalLink, StyledRouterLink } from 'theme'
import { BREAKPOINTS, ExternalLink } from 'theme'

import { DiscordIcon, GithubIcon, TwitterIcon } from './Icons'
import darkUnicornImgSrc from './images/unicornEmbossDark.png'
import lightUnicornImgSrc from './images/unicornEmbossLight.png'
import Telegram from '../../pages/Landing/images/telegram.svg'
import { GithubIcon, TwitterIcon } from './Icons'

const Footer = styled.div`
display: flex;
Expand Down Expand Up @@ -42,16 +40,6 @@ const LogoSectionBottom = styled(LogoSection)`
}
`

const StyledLogo = styled.img`
width: 72px;
height: 72px;
display: none;

@media screen and (min-width: ${BREAKPOINTS.lg}px) {
display: block;
}
`

const SocialLinks = styled.div`
display: flex;
align-items: center;
Expand Down Expand Up @@ -96,12 +84,6 @@ const ExternalTextLink = styled(ExternalLink)`
color: ${({ theme }) => theme.textSecondary};
`

const TextLink = styled(StyledRouterLink)`
font-size: 16px;
line-height: 20px;
color: ${({ theme }) => theme.textSecondary};
`

const Copyright = styled.span`
font-size: 16px;
line-height: 20px;
Expand All @@ -110,28 +92,27 @@ const Copyright = styled.span`
`

const LogoSectionContent = () => {
const isDarkMode = useIsDarkMode()
return (
<>
<StyledLogo src={isDarkMode ? darkUnicornImgSrc : lightUnicornImgSrc} alt="Uniswap Logo" />
<img style={{ width: '220px', height: '40px' }} src="/images/ForgeLogoFinal.png" />{' '}
<SocialLinks>
<SocialLink href="https://discord.gg/FCfyBSbCU5" target="_blank" rel="noopener noreferrer">
<DiscordIcon size={32} />
<SocialLink href="https://t.me/forgeDEX" target="_blank" rel="noopener noreferrer">
<img src={Telegram} style={{ width: '28px', height: '28px' }} />
</SocialLink>
<TraceEvent
events={[BrowserEvent.onClick]}
name={SharedEventName.ELEMENT_CLICKED}
element={InterfaceElementName.TWITTER_LINK}
>
<SocialLink href="https://twitter.com/uniswap" target="_blank" rel="noopener noreferrer">
<TwitterIcon size={32} />
<SocialLink href="https://twitter.com/forgeDEX" target="_blank" rel="noopener noreferrer">
<TwitterIcon fill="white" size={28} />
</SocialLink>
</TraceEvent>
<SocialLink href="https://github.com/Uniswap" target="_blank" rel="noopener noreferrer">
<GithubIcon size={32} />
<SocialLink href="https://github.com/Forge-Trade" target="_blank" rel="noopener noreferrer">
<GithubIcon fill="white" size={28} />
</SocialLink>
</SocialLinks>
<Copyright>© {new Date().getFullYear()} Uniswap Labs</Copyright>
<Copyright>© {new Date().getFullYear()} Evmos community</Copyright>
</>
)
}
Expand All @@ -145,57 +126,30 @@ export const AboutFooter = () => {

<FooterLinks>
<LinkGroup>
<LinkGroupTitle>App</LinkGroupTitle>
<TextLink to="/swap">Swap</TextLink>
<TextLink to="/tokens">Tokens</TextLink>
<TextLink to="/nfts">NFTs</TextLink>
<TextLink to="/pool">Pools</TextLink>
<LinkGroupTitle>Orbital Apes</LinkGroupTitle>
<ExternalTextLink href="https://orbitalapes.com">Validator</ExternalTextLink>
<ExternalTextLink href="https://www.orbitmarket.io">Orbit Market</ExternalTextLink>
<ExternalTextLink href="https://hub.orbitalapes.com">OA Hub</ExternalTextLink>
<ExternalTextLink href="https://www.orbitrumble.com/">Rumble</ExternalTextLink>
</LinkGroup>
<LinkGroup>
<LinkGroupTitle>Protocol</LinkGroupTitle>
<ExternalTextLink href="https://uniswap.org/community">Community</ExternalTextLink>
<ExternalTextLink href="https://uniswap.org/governance">Governance</ExternalTextLink>
<ExternalTextLink href="https://uniswap.org/developers">Developers</ExternalTextLink>
<LinkGroupTitle>Evmos DAO</LinkGroupTitle>
<ExternalTextLink href="https://gov.evmos.community">Governance Overview</ExternalTextLink>
<ExternalTextLink href="https://docs.evmos.community">Governance Docs</ExternalTextLink>
<ExternalTextLink href="https://twitter.com/EvmosDAO">EvmosDAO Twitter</ExternalTextLink>
<ExternalTextLink href="https://t.me/EvmosDAO">EvmosDAO Telegram</ExternalTextLink>
</LinkGroup>
<LinkGroup>
<LinkGroupTitle>Company</LinkGroupTitle>
<TraceEvent
events={[BrowserEvent.onClick]}
name={SharedEventName.ELEMENT_CLICKED}
element={InterfaceElementName.CAREERS_LINK}
>
<ExternalTextLink href="https://boards.greenhouse.io/uniswaplabs">Careers</ExternalTextLink>
</TraceEvent>
<TraceEvent
events={[BrowserEvent.onClick]}
name={SharedEventName.ELEMENT_CLICKED}
element={InterfaceElementName.BLOG_LINK}
>
<ExternalTextLink href="https://uniswap.org/blog">Blog</ExternalTextLink>
</TraceEvent>
<LinkGroupTitle>Evmos Network</LinkGroupTitle>
<ExternalTextLink href="https://app.evmos.org">Dashboard</ExternalTextLink>
<ExternalTextLink href="https://docs.evmos.org/">Developers</ExternalTextLink>
<ExternalTextLink href="https://wallet.keplr.app/chains/evmos?tab=governance">Stake & Vote</ExternalTextLink>
</LinkGroup>
<LinkGroup>
<LinkGroupTitle>Get Help</LinkGroupTitle>
<TraceEvent
events={[BrowserEvent.onClick]}
name={SharedEventName.ELEMENT_CLICKED}
element={InterfaceElementName.SUPPORT_LINK}
>
<ExternalTextLink
href="https://support.uniswap.org/hc/en-us/requests/new"
target="_blank"
rel="noopener noreferrer"
>
Contact Us
</ExternalTextLink>
</TraceEvent>
<TraceEvent
events={[BrowserEvent.onClick]}
name={SharedEventName.ELEMENT_CLICKED}
element={InterfaceElementName.SUPPORT_LINK}
>
<ExternalTextLink href="https://support.uniswap.org/hc/en-us">Help Center</ExternalTextLink>
</TraceEvent>
<ExternalTextLink href="https://t.me/forgeDEX" target="_blank" rel="noopener noreferrer">
Telegram
</ExternalTextLink>
</LinkGroup>
</FooterLinks>

Expand Down
8 changes: 0 additions & 8 deletions src/components/About/Icons.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
import styled from 'styled-components/macro'

import { ReactComponent as DiscordI } from './images/discord.svg'
import { ReactComponent as GithubI } from './images/github.svg'
import { ReactComponent as TwitterI } from './images/twitter-safe.svg'

export const DiscordIcon = styled(DiscordI)<{ size?: number; fill?: string }>`
height: ${({ size }) => (size ? size + 'px' : '32px')};
width: ${({ size }) => (size ? size + 'px' : '32px')};
fill: ${({ fill }) => fill ?? '#98A1C0'};
opacity: 1;
`

export const TwitterIcon = styled(TwitterI)<{ size?: number; fill?: string }>`
height: ${({ size }) => (size ? size + 'px' : '32px')};
width: ${({ size }) => (size ? size + 'px' : '32px')};
Expand Down
Loading