• Jordan Frankfurt's avatar
    feat(L2-beta-launch): network selector (#2129) · 97ba8fb5
    Jordan Frankfurt authored
    * fix an issue with optimism/arbitrum alert distinction, add a prompt to switch to Optimism on mainnet
    
    * only prompt to switch networks if the user has a wallet connected
    
    * add readmore link styles
    
    * add network to the user's wallet if it hasn't been added already
    
    * network selector
    
    * hide arbitrum until it launches
    
    * add arbitrum for testing
    
    * update copy and some margins
    
    * fix alert opacity issue
    
    * remove the launch alert :(
    
    * adjust icon position and add curvier corners
    
    * lighten some colors
    
    * keep the selector around even if the user's wallet doesn't support the eip when they're on L2, just hide all other networks
    
    * copy updates and some other small tweaks
    
    * better mobile experience
    
    * shrink on mobile
    
    * fix some links and css
    
    * differentiate between selector and row logos
    
    * fix some copy
    
    * remove network alert from add liquidity pages, update copy and buttons on swap page, remove close option if no eth, persist close state otherwise
    
    * design polish
    
    * update read more links
    
    * update downtime warning to be less intense
    
    * oe logo
    '
    
    * design polish sesh
    
    * fix a couple bugs
    97ba8fb5
NetworkSelector.tsx 7.6 KB