Commit 3f62bcf2 authored by Kristie Huang's avatar Kristie Huang Committed by GitHub

feat: add Android feature flag & change some app logos (#7524)

* fix: generalize iOS language to app, and add color app icon

* remove apple logo

* delete more apple logos

* remove learn more arrow

* update snapshots

* add feature flags to android changes
parent bd307219
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 22.773 22.773" style="enable-background:new 0 0 22.773 22.773;" xml:space="preserve"> viewBox="0 0 22.773 22.773" style="enable-background:new 0 0 22.773 22.773;" xml:space="preserve">
<g> <g>
<g> <g>
<path d="M15.769,0c0.053,0,0.106,0,0.162,0c0.13,1.606-0.483,2.806-1.228,3.675c-0.731,0.863-1.732,1.7-3.351,1.573 <path d="M15.769,0c0.053,0,0.106,0,0.162,0c0.13,1.606-0.483,2.806-1.228,3.675c-0.731,0.863-1.732,1.7-3.351,1.573
c-0.108-1.583,0.506-2.694,1.25-3.561C13.292,0.879,14.557,0.16,15.769,0z"/> c-0.108-1.583,0.506-2.694,1.25-3.561C13.292,0.879,14.557,0.16,15.769,0z"/>
<path d="M20.67,16.716c0,0.016,0,0.03,0,0.045c-0.455,1.378-1.104,2.559-1.896,3.655c-0.723,0.995-1.609,2.334-3.191,2.334 <path d="M20.67,16.716c0,0.016,0,0.03,0,0.045c-0.455,1.378-1.104,2.559-1.896,3.655c-0.723,0.995-1.609,2.334-3.191,2.334
c-1.367,0-2.275-0.879-3.676-0.903c-1.482-0.024-2.297,0.735-3.652,0.926c-0.155,0-0.31,0-0.462,0 c-1.367,0-2.275-0.879-3.676-0.903c-1.482-0.024-2.297,0.735-3.652,0.926c-0.155,0-0.31,0-0.462,0
c-0.995-0.144-1.798-0.932-2.383-1.642c-1.725-2.098-3.058-4.808-3.306-8.276c0-0.34,0-0.679,0-1.019 c-0.995-0.144-1.798-0.932-2.383-1.642c-1.725-2.098-3.058-4.808-3.306-8.276c0-0.34,0-0.679,0-1.019
c0.105-2.482,1.311-4.5,2.914-5.478c0.846-0.52,2.009-0.963,3.304-0.765c0.555,0.086,1.122,0.276,1.619,0.464 c0.105-2.482,1.311-4.5,2.914-5.478c0.846-0.52,2.009-0.963,3.304-0.765c0.555,0.086,1.122,0.276,1.619,0.464
c0.471,0.181,1.06,0.502,1.618,0.485c0.378-0.011,0.754-0.208,1.135-0.347c1.116-0.403,2.21-0.865,3.652-0.648 c0.471,0.181,1.06,0.502,1.618,0.485c0.378-0.011,0.754-0.208,1.135-0.347c1.116-0.403,2.21-0.865,3.652-0.648
c1.733,0.262,2.963,1.032,3.723,2.22c-1.466,0.933-2.625,2.339-2.427,4.74C17.818,14.688,19.086,15.964,20.67,16.716z"/> c1.733,0.262,2.963,1.032,3.723,2.22c-1.466,0.933-2.625,2.339-2.427,4.74C17.818,14.688,19.086,15.964,20.67,16.716z"/>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
<g> <g>
</g> </g>
</svg> </svg>
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2450_35919)">
<rect width="20" height="20" rx="4.60595" fill="#FFFBFF"/>
<rect width="20" height="20" rx="4.60595" fill="url(#paint0_linear_2450_35919)"/>
<g filter="url(#filter0_f_2450_35919)">
<ellipse cx="9.99967" cy="12.0001" rx="9.66667" ry="7.66667" fill="url(#paint1_radial_2450_35919)" fill-opacity="0.8"/>
</g>
<g filter="url(#filter1_i_2450_35919)">
<path d="M14.4974 4.34199C14.5183 3.97475 14.5683 3.73252 14.6689 3.51131C14.7087 3.42374 14.746 3.35208 14.7518 3.35208C14.7575 3.35208 14.7402 3.41671 14.7133 3.49569C14.6402 3.71038 14.6282 4.00402 14.6786 4.34566C14.7425 4.77915 14.7788 4.84169 15.239 5.30995C15.4549 5.52958 15.706 5.80659 15.797 5.92551L15.9625 6.14176L15.797 5.98722C15.5946 5.79823 15.1292 5.42966 15.0263 5.37698C14.9574 5.34164 14.9472 5.34225 14.9046 5.38439C14.8655 5.42322 14.8572 5.48156 14.8518 5.75737C14.8433 6.18723 14.7844 6.46314 14.6424 6.73903C14.5656 6.88824 14.5535 6.8564 14.623 6.68797C14.6749 6.56222 14.6802 6.50694 14.6798 6.0908C14.679 5.25469 14.5793 5.05368 13.9946 4.70934C13.8465 4.62211 13.6024 4.4963 13.4522 4.42976C13.3021 4.36322 13.1828 4.30526 13.1871 4.30093C13.2037 4.28452 13.7739 4.45022 14.0034 4.53811C14.3448 4.66886 14.4012 4.6858 14.4426 4.67003C14.4704 4.65946 14.4839 4.57887 14.4974 4.34199Z" fill="url(#paint2_linear_2450_35919)"/>
<path d="M7.28422 3.12561C7.0817 3.09439 7.07316 3.09073 7.16846 3.07618C7.3511 3.04826 7.78237 3.0863 8.07956 3.15653C8.77336 3.32041 9.40468 3.74022 10.0786 4.48582L10.2576 4.68389L10.5137 4.64298C11.5927 4.47068 12.6903 4.60761 13.6084 5.02906C13.8609 5.14501 14.2592 5.3758 14.3089 5.43511C14.3248 5.45402 14.3539 5.57569 14.3736 5.70552C14.4418 6.1547 14.4076 6.499 14.2694 6.75616C14.1941 6.8961 14.19 6.94045 14.2405 7.06021C14.2809 7.15577 14.3935 7.22651 14.5049 7.22636C14.7331 7.22605 14.9787 6.85956 15.0924 6.34963L15.1376 6.14707L15.2272 6.24785C15.7183 6.80076 16.104 7.5548 16.1703 8.09153L16.1875 8.23147L16.105 8.10426C15.9629 7.88534 15.8202 7.73632 15.6374 7.61612C15.3079 7.39947 14.9595 7.32574 14.0368 7.27742C13.2034 7.23379 12.7318 7.16305 12.2641 7.01151C11.4684 6.75372 11.0673 6.41038 10.1221 5.17811C9.70233 4.63077 9.44285 4.32794 9.18474 4.08407C8.59823 3.52993 8.02193 3.23932 7.28422 3.12561Z" fill="url(#paint3_linear_2450_35919)"/>
<path d="M7.67762 5.77618C7.26647 5.2137 7.01209 4.3513 7.06716 3.70661L7.08419 3.50711L7.17778 3.52408C7.35352 3.55594 7.65655 3.66801 7.79844 3.75366C8.18783 3.98865 8.3564 4.29805 8.5279 5.09252C8.57814 5.32522 8.64404 5.58856 8.67437 5.67772C8.7232 5.82122 8.90769 6.15641 9.05769 6.3741C9.16573 6.53088 9.09396 6.60518 8.85514 6.58376C8.49039 6.55104 7.99634 6.21221 7.67762 5.77618Z" fill="url(#paint4_linear_2450_35919)"/>
<path d="M13.9982 9.96242C12.0768 9.19367 11.4001 8.52639 11.4001 7.40049C11.4001 7.2348 11.4058 7.09924 11.4128 7.09924C11.4198 7.09924 11.4941 7.15392 11.578 7.22076C11.9676 7.5313 12.4039 7.66393 13.6118 7.83903C14.3225 7.94208 14.7225 8.0253 15.0915 8.1469C16.2642 8.53338 16.9898 9.3177 17.1628 10.386C17.2131 10.6964 17.1836 11.2785 17.1021 11.5853C17.0377 11.8276 16.8413 12.2644 16.7892 12.2812C16.7748 12.2858 16.7606 12.2308 16.7569 12.156C16.7372 11.7549 16.5332 11.3643 16.1906 11.0718C15.8011 10.7392 15.2777 10.4744 13.9982 9.96242Z" fill="url(#paint5_linear_2450_35919)"/>
<path d="M12.6493 10.2818C12.6252 10.1394 12.5835 9.95763 12.5565 9.87779L12.5075 9.73264L12.5985 9.83421C12.7246 9.97475 12.8241 10.1546 12.9085 10.3942C12.973 10.577 12.9802 10.6314 12.9797 10.9285C12.9792 11.2202 12.9712 11.2813 12.9117 11.4459C12.8179 11.7054 12.7015 11.8894 12.5062 12.0869C12.1552 12.4419 11.704 12.6384 11.0528 12.7199C10.9396 12.734 10.6097 12.7579 10.3197 12.7729C9.58873 12.8107 9.10767 12.8887 8.6754 13.0395C8.61325 13.0612 8.55776 13.0744 8.55213 13.0688C8.53464 13.0515 8.82895 12.8772 9.07204 12.7608C9.41481 12.5968 9.75602 12.5072 10.5205 12.3807C10.8982 12.3182 11.2882 12.2424 11.3872 12.2122C12.3224 11.9273 12.8031 11.1919 12.6493 10.2818Z" fill="url(#paint6_linear_2450_35919)"/>
<path d="M13.5301 11.8362C13.2748 11.2909 13.2162 10.7643 13.356 10.2733C13.371 10.2208 13.3951 10.1779 13.4095 10.1779C13.424 10.1779 13.4842 10.2103 13.5434 10.2498C13.661 10.3285 13.897 10.461 14.5255 10.8016C15.3099 11.2265 15.7571 11.5556 16.0612 11.9316C16.3276 12.2608 16.4924 12.6358 16.5717 13.0931C16.6166 13.3521 16.5903 13.9753 16.5234 14.2361C16.3125 15.0585 15.8224 15.7045 15.1233 16.0814C15.0209 16.1366 14.9289 16.182 14.919 16.1822C14.909 16.1824 14.9464 16.0881 15.0019 15.9726C15.2371 15.4841 15.2639 15.0089 15.0861 14.48C14.9772 14.1562 14.7552 13.761 14.3071 13.0932C13.786 12.3167 13.6583 12.11 13.5301 11.8362Z" fill="url(#paint7_linear_2450_35919)"/>
<path d="M6.31312 14.7786C7.02613 14.1803 7.9133 13.7553 8.72142 13.6248C9.0697 13.5686 9.64988 13.5909 9.97238 13.673C10.4893 13.8044 10.9518 14.0989 11.1923 14.4497C11.4273 14.7926 11.5281 15.0914 11.6331 15.7561C11.6745 16.0184 11.7196 16.2817 11.7332 16.3413C11.8121 16.6859 11.9655 16.9613 12.1556 17.0996C12.4576 17.3192 12.9776 17.3329 13.4891 17.1346C13.5759 17.1009 13.6513 17.0777 13.6566 17.0829C13.6751 17.1012 13.4175 17.2726 13.2358 17.3628C12.9913 17.4841 12.7969 17.531 12.5386 17.531C12.0701 17.531 11.6811 17.2942 11.3566 16.8113C11.2927 16.7163 11.1491 16.4316 11.0376 16.1788C10.6949 15.4021 10.5257 15.1655 10.1278 14.9066C9.78156 14.6813 9.33501 14.6409 8.99908 14.8046C8.55782 15.0196 8.4347 15.58 8.75075 15.9351C8.87636 16.0762 9.1106 16.198 9.30214 16.2216C9.66047 16.2659 9.96842 15.995 9.96842 15.6355C9.96842 15.4021 9.87813 15.2689 9.65083 15.1669C9.34039 15.0277 9.0067 15.1905 9.0083 15.4803C9.00899 15.6038 9.06314 15.6814 9.1878 15.7375C9.26777 15.7734 9.26963 15.7763 9.20442 15.7628C8.91957 15.7041 8.85285 15.3629 9.08187 15.1364C9.35683 14.8644 9.92541 14.9844 10.1207 15.3556C10.2027 15.5116 10.2122 15.8221 10.1407 16.0096C9.98064 16.4293 9.51395 16.65 9.04053 16.5299C8.71821 16.4481 8.58696 16.3596 8.19835 15.9618C7.52307 15.2706 7.26092 15.1366 6.28739 14.9856L6.10084 14.9567L6.31312 14.7786Z" fill="url(#paint8_linear_2450_35919)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.14462 2.40696C5.39974 5.12681 6.95295 6.24897 7.12556 6.48605C7.26807 6.68181 7.21443 6.85781 6.97029 6.99574C6.83452 7.07242 6.55538 7.15013 6.41563 7.15013C6.25755 7.15013 6.20328 7.08953 6.20328 7.08953C6.11163 7.00315 6.06001 7.01826 5.58934 6.18804C4.9359 5.18048 4.38905 4.34467 4.37413 4.33067C4.33964 4.29831 4.34023 4.2994 5.52271 6.40187C5.71377 6.84008 5.56071 7.00093 5.56071 7.06334C5.56071 7.1903 5.52586 7.25704 5.36825 7.43173C5.1055 7.72301 4.98805 8.05029 4.90326 8.72762C4.80821 9.4869 4.54094 10.0233 3.80024 10.9412C3.36666 11.4785 3.29572 11.577 3.18631 11.7936C3.04851 12.0663 3.01062 12.2191 2.99526 12.5635C2.97903 12.9276 3.01064 13.1628 3.12259 13.511C3.2206 13.8158 3.32291 14.017 3.58444 14.4196C3.81014 14.767 3.9401 15.0251 3.9401 15.1261C3.9401 15.2064 3.95554 15.2065 4.30528 15.1281C5.14226 14.9402 5.82189 14.6099 6.20412 14.2051C6.44068 13.9545 6.49622 13.8162 6.49802 13.4728C6.4992 13.2482 6.49125 13.2012 6.43016 13.072C6.33071 12.8617 6.14967 12.6869 5.75064 12.4158C5.2278 12.0606 5.00448 11.7747 4.9428 11.3815C4.8922 11.0588 4.9509 10.8312 5.24014 10.2288C5.53952 9.60524 5.61371 9.33953 5.66389 8.71103C5.69631 8.30498 5.74119 8.14484 5.8586 8.0163C5.98104 7.88226 6.09127 7.83687 6.3943 7.79573C6.88833 7.72866 7.20291 7.60165 7.46149 7.36487C7.6858 7.15946 7.77966 6.96154 7.79407 6.6636L7.805 6.43776L7.67965 6.29253C7.2257 5.76656 2.84061 1.9935 2.81267 1.9935C2.8067 1.9935 2.95609 2.17957 3.14462 2.40696ZM4.19493 12.9755C4.29756 12.7949 4.24303 12.5627 4.07135 12.4492C3.90913 12.342 3.65714 12.3925 3.65714 12.5322C3.65714 12.5748 3.68086 12.6058 3.73431 12.6332C3.82432 12.6792 3.83085 12.731 3.76003 12.8367C3.68832 12.9439 3.6941 13.038 3.77637 13.102C3.90895 13.2052 4.09663 13.1485 4.19493 12.9755Z" fill="url(#paint9_linear_2450_35919)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.11678 7.91419C7.88485 7.98498 7.6594 8.22923 7.58962 8.48535C7.54704 8.6416 7.5712 8.91567 7.63497 9.00032C7.73799 9.13703 7.83762 9.17306 8.10739 9.17117C8.63556 9.16751 9.0947 8.94241 9.14808 8.66101C9.19184 8.43034 8.99019 8.11067 8.71242 7.97032C8.56908 7.89793 8.26425 7.86921 8.11678 7.91419ZM8.7342 8.39395C8.81565 8.27895 8.78002 8.15466 8.64149 8.07059C8.3777 7.91053 7.97877 8.04299 7.97877 8.29063C7.97877 8.4139 8.1868 8.5484 8.37749 8.5484C8.50441 8.5484 8.6781 8.47319 8.7342 8.39395Z" fill="url(#paint10_linear_2450_35919)"/>
</g>
</g>
<rect x="0.0205078" y="0.0205078" width="19.959" height="19.959" rx="4.58544" stroke="black" stroke-opacity="0.1" stroke-width="0.0410156"/>
<defs>
<filter id="filter0_f_2450_35919" x="-3.16699" y="0.833389" width="26.333" height="22.3333" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feGaussianBlur stdDeviation="1.75" result="effect1_foregroundBlur_2450_35919"/>
</filter>
<filter id="filter1_i_2450_35919" x="2.8125" y="1.9935" width="14.375" height="15.5376" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset/>
<feGaussianBlur stdDeviation="0.47168"/>
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 0.864916 0 0 0 0 0.401042 0 0 0 0 0.875 0 0 0 1 0"/>
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_2450_35919"/>
</filter>
<linearGradient id="paint0_linear_2450_35919" x1="7.66667" y1="20" x2="7.66667" y2="0" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFF1FF"/>
<stop offset="1" stop-color="white" stop-opacity="0"/>
</linearGradient>
<radialGradient id="paint1_radial_2450_35919" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(10.0123 11.9901) rotate(35.9783) scale(9.71138 9.26994)">
<stop stop-color="white"/>
<stop offset="1" stop-color="#FFE3FF"/>
</radialGradient>
<linearGradient id="paint2_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint3_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint4_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint5_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint6_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint7_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint8_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint9_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<linearGradient id="paint10_linear_2450_35919" x1="16.4648" y1="15.099" x2="7.33333" y2="7.33334" gradientUnits="userSpaceOnUse">
<stop stop-color="#FC72FF"/>
<stop offset="1" stop-color="#FF41F4"/>
</linearGradient>
<clipPath id="clip0_2450_35919">
<rect width="20" height="20" rx="4.60595" fill="white"/>
</clipPath>
</defs>
</svg>
...@@ -4,6 +4,8 @@ import { ChainId } from '@uniswap/sdk-core' ...@@ -4,6 +4,8 @@ import { ChainId } from '@uniswap/sdk-core'
import { useWeb3React } from '@web3-react/core' import { useWeb3React } from '@web3-react/core'
import { ReactComponent as AppleLogo } from 'assets/svg/apple_logo.svg' import { ReactComponent as AppleLogo } from 'assets/svg/apple_logo.svg'
import baseLogoUrl from 'assets/svg/base_background_icon.svg' import baseLogoUrl from 'assets/svg/base_background_icon.svg'
import { ReactComponent as UniswapAppLogo } from 'assets/svg/uniswap_app_logo.svg'
import { useAndroidGALaunchFlagEnabled } from 'featureFlags/flags/androidGALaunch'
import { useScreenSize } from 'hooks/useScreenSize' import { useScreenSize } from 'hooks/useScreenSize'
import { useLocation } from 'react-router-dom' import { useLocation } from 'react-router-dom'
import { useHideBaseWalletBanner } from 'state/user/hooks' import { useHideBaseWalletBanner } from 'state/user/hooks'
...@@ -23,6 +25,8 @@ export default function BaseWalletBanner() { ...@@ -23,6 +25,8 @@ export default function BaseWalletBanner() {
const screenSize = useScreenSize() const screenSize = useScreenSize()
const isAndroidGALaunched = useAndroidGALaunchFlagEnabled()
if (isMobileSafari) return null if (isMobileSafari) return null
return ( return (
...@@ -67,7 +71,7 @@ export default function BaseWalletBanner() { ...@@ -67,7 +71,7 @@ export default function BaseWalletBanner() {
}) })
} }
> >
<AppleLogo width={14} height={14} /> {isAndroidGALaunched ? <UniswapAppLogo width={14} height={14} /> : <AppleLogo width={14} height={14} />}
<ThemedText.LabelSmall color="black" marginLeft="5px"> <ThemedText.LabelSmall color="black" marginLeft="5px">
{!screenSize['xs'] ? <Trans>Download</Trans> : <Trans>Download app</Trans>} {!screenSize['xs'] ? <Trans>Download</Trans> : <Trans>Download app</Trans>}
</ThemedText.LabelSmall> </ThemedText.LabelSmall>
......
...@@ -3,6 +3,7 @@ import Column from 'components/Column' ...@@ -3,6 +3,7 @@ import Column from 'components/Column'
import { BaseVariant, FeatureFlag, featureFlagSettings, useUpdateConfig, useUpdateFlag } from 'featureFlags' import { BaseVariant, FeatureFlag, featureFlagSettings, useUpdateConfig, useUpdateFlag } from 'featureFlags'
import { DynamicConfigName } from 'featureFlags/dynamicConfig' import { DynamicConfigName } from 'featureFlags/dynamicConfig'
import { useQuickRouteChains } from 'featureFlags/dynamicConfig/quickRouteChains' import { useQuickRouteChains } from 'featureFlags/dynamicConfig/quickRouteChains'
import { useAndroidGALaunchFlag } from 'featureFlags/flags/androidGALaunch'
import { useCurrencyConversionFlag } from 'featureFlags/flags/currencyConversion' import { useCurrencyConversionFlag } from 'featureFlags/flags/currencyConversion'
import { useFallbackProviderEnabledFlag } from 'featureFlags/flags/fallbackProvider' import { useFallbackProviderEnabledFlag } from 'featureFlags/flags/fallbackProvider'
import { useFotAdjustmentsFlag } from 'featureFlags/flags/fotAdjustments' import { useFotAdjustmentsFlag } from 'featureFlags/flags/fotAdjustments'
...@@ -304,6 +305,12 @@ export default function FeatureFlagModal() { ...@@ -304,6 +305,12 @@ export default function FeatureFlagModal() {
featureFlag={FeatureFlag.progressIndicatorV2} featureFlag={FeatureFlag.progressIndicatorV2}
label="Refreshed swap progress indicator" label="Refreshed swap progress indicator"
/> />
<FeatureFlagOption
variant={BaseVariant}
value={useAndroidGALaunchFlag()}
featureFlag={FeatureFlag.androidGALaunch}
label="Android Nov 14th GA launch"
/>
<FeatureFlagGroup name="Quick routes"> <FeatureFlagGroup name="Quick routes">
<FeatureFlagOption <FeatureFlagOption
variant={BaseVariant} variant={BaseVariant}
......
...@@ -26,6 +26,7 @@ export const MenuRow = style([ ...@@ -26,6 +26,7 @@ export const MenuRow = style([
{ {
lineHeight: '24px', lineHeight: '24px',
textDecoration: 'none', textDecoration: 'none',
alignItems: 'flex-start',
}, },
]) ])
......
import { t, Trans } from '@lingui/macro' import { t, Trans } from '@lingui/macro'
import { InterfaceElementName } from '@uniswap/analytics-events' import { InterfaceElementName } from '@uniswap/analytics-events'
import { ReactComponent as AppleLogo } from 'assets/svg/apple_logo.svg'
import FeatureFlagModal from 'components/FeatureFlagModal/FeatureFlagModal' import FeatureFlagModal from 'components/FeatureFlagModal/FeatureFlagModal'
import { PrivacyPolicyModal } from 'components/PrivacyPolicy' import { PrivacyPolicyModal } from 'components/PrivacyPolicy'
import { useAndroidGALaunchFlagEnabled } from 'featureFlags/flags/androidGALaunch'
import { useOnClickOutside } from 'hooks/useOnClickOutside' import { useOnClickOutside } from 'hooks/useOnClickOutside'
import { Box } from 'nft/components/Box' import { Box } from 'nft/components/Box'
import { Column, Row } from 'nft/components/Flex' import { Column, Row } from 'nft/components/Flex'
...@@ -20,10 +22,11 @@ import { ReactNode, useReducer, useRef } from 'react' ...@@ -20,10 +22,11 @@ import { ReactNode, useReducer, useRef } from 'react'
import { NavLink, NavLinkProps } from 'react-router-dom' import { NavLink, NavLinkProps } from 'react-router-dom'
import { useToggleModal } from 'state/application/hooks' import { useToggleModal } from 'state/application/hooks'
import styled, { useTheme } from 'styled-components' import styled, { useTheme } from 'styled-components'
import { ThemedText } from 'theme/components'
import { isDevelopmentEnv, isStagingEnv } from 'utils/env' import { isDevelopmentEnv, isStagingEnv } from 'utils/env'
import { openDownloadApp } from 'utils/openDownloadApp' import { openDownloadApp } from 'utils/openDownloadApp'
import { ReactComponent as AppleLogo } from '../../assets/svg/apple_logo.svg' import { ReactComponent as UniswapAppLogo } from '../../assets/svg/uniswap_app_logo.svg'
import { ApplicationModal } from '../../state/application/reducer' import { ApplicationModal } from '../../state/application/reducer'
import * as styles from './MenuDropdown.css' import * as styles from './MenuDropdown.css'
import { NavDropdown } from './NavDropdown' import { NavDropdown } from './NavDropdown'
...@@ -129,6 +132,8 @@ export const MenuDropdown = () => { ...@@ -129,6 +132,8 @@ export const MenuDropdown = () => {
const ref = useRef<HTMLDivElement>(null) const ref = useRef<HTMLDivElement>(null)
useOnClickOutside(ref, isOpen ? toggleOpen : undefined) useOnClickOutside(ref, isOpen ? toggleOpen : undefined)
const isAndroidGALaunched = useAndroidGALaunchFlagEnabled()
return ( return (
<> <>
<Box position="relative" ref={ref} marginRight="4"> <Box position="relative" ref={ref} marginRight="4">
...@@ -138,7 +143,7 @@ export const MenuDropdown = () => { ...@@ -138,7 +143,7 @@ export const MenuDropdown = () => {
{isOpen && ( {isOpen && (
<NavDropdown top={{ sm: 'unset', lg: '56' }} bottom={{ sm: '50', lg: 'unset' }} right="0"> <NavDropdown top={{ sm: 'unset', lg: '56' }} bottom={{ sm: '50', lg: 'unset' }} right="0">
<Column gap="16"> <Column gap="8">
<Column paddingX="8" gap="4"> <Column paddingX="8" gap="4">
<Box display={{ sm: 'none', lg: 'flex', xxl: 'none' }}> <Box display={{ sm: 'none', lg: 'flex', xxl: 'none' }}>
<PrimaryMenuRow to="/pool" close={toggleOpen}> <PrimaryMenuRow to="/pool" close={toggleOpen}>
...@@ -150,22 +155,6 @@ export const MenuDropdown = () => { ...@@ -150,22 +155,6 @@ export const MenuDropdown = () => {
</PrimaryMenuRow.Text> </PrimaryMenuRow.Text>
</PrimaryMenuRow> </PrimaryMenuRow>
</Box> </Box>
<Box
onClick={() =>
openDownloadApp({
element: InterfaceElementName.UNISWAP_WALLET_MODAL_DOWNLOAD_BUTTON,
})
}
>
<PrimaryMenuRow close={toggleOpen}>
<Icon>
<AppleLogo width="24px" height="24px" fill={theme.neutral1} />
</Icon>
<PrimaryMenuRow.Text>
<Trans>Download Uniswap Wallet</Trans>
</PrimaryMenuRow.Text>
</PrimaryMenuRow>
</Box>
<PrimaryMenuRow to="/vote" close={toggleOpen}> <PrimaryMenuRow to="/vote" close={toggleOpen}>
<Icon> <Icon>
<GovernanceIcon width={24} height={24} color={theme.neutral1} /> <GovernanceIcon width={24} height={24} color={theme.neutral1} />
...@@ -182,6 +171,40 @@ export const MenuDropdown = () => { ...@@ -182,6 +171,40 @@ export const MenuDropdown = () => {
<Trans>View more analytics</Trans> <Trans>View more analytics</Trans>
</PrimaryMenuRow.Text> </PrimaryMenuRow.Text>
</PrimaryMenuRow> </PrimaryMenuRow>
<Box
onClick={() =>
openDownloadApp({
element: InterfaceElementName.UNISWAP_WALLET_MODAL_DOWNLOAD_BUTTON,
})
}
>
<PrimaryMenuRow close={toggleOpen}>
{isAndroidGALaunched ? (
<>
<Icon>
<UniswapAppLogo width="24px" height="24px" />
</Icon>
<div>
<ThemedText.BodyPrimary>
<Trans>Download Uniswap</Trans>
</ThemedText.BodyPrimary>
<ThemedText.LabelSmall>
<Trans>Available on iOS and Android</Trans>
</ThemedText.LabelSmall>
</div>
</>
) : (
<>
<Icon>
<AppleLogo width="24px" height="24px" fill={theme.neutral1} />
</Icon>
<PrimaryMenuRow.Text>
<Trans>Download Uniswap app</Trans>
</PrimaryMenuRow.Text>
</>
)}
</PrimaryMenuRow>
</Box>
</Column> </Column>
<Separator /> <Separator />
<Box <Box
......
import { BaseVariant, FeatureFlag, useBaseFlag } from '../index'
export function useAndroidGALaunchFlag(): BaseVariant {
return useBaseFlag(FeatureFlag.androidGALaunch)
}
// todo(kristiehuang): add statsig flag after staging goes out
export function useAndroidGALaunchFlagEnabled(): boolean {
return useAndroidGALaunchFlag() === BaseVariant.Enabled
}
...@@ -23,6 +23,7 @@ export enum FeatureFlag { ...@@ -23,6 +23,7 @@ export enum FeatureFlag {
quickRouteMainnet = 'enable_quick_route_mainnet', quickRouteMainnet = 'enable_quick_route_mainnet',
progressIndicatorV2 = 'progress_indicator_v2', progressIndicatorV2 = 'progress_indicator_v2',
feesEnabled = 'fees_enabled', feesEnabled = 'fees_enabled',
androidGALaunch = 'android_ga_launch',
} }
interface FeatureFlagsContextType { interface FeatureFlagsContextType {
......
...@@ -92,7 +92,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -92,7 +92,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
color: #7D7D7D; color: #7D7D7D;
} }
.c99 { .c98 {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
...@@ -103,15 +103,15 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -103,15 +103,15 @@ exports[`disable nft on landing page does not render nft information and card 1`
font-weight: 500; font-weight: 500;
} }
.c99:hover { .c98:hover {
opacity: 0.6; opacity: 0.6;
} }
.c99:active { .c98:active {
opacity: 0.4; opacity: 0.4;
} }
.c97 { .c96 {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
...@@ -122,36 +122,36 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -122,36 +122,36 @@ exports[`disable nft on landing page does not render nft information and card 1`
font-weight: 500; font-weight: 500;
} }
.c97:hover { .c96:hover {
opacity: 0.6; opacity: 0.6;
} }
.c97:active { .c96:active {
opacity: 0.4; opacity: 0.4;
} }
.c90 { .c89 {
height: 32px; height: 32px;
width: 32px; width: 32px;
fill: #98A1C0; fill: #98A1C0;
opacity: 1; opacity: 1;
} }
.c91 { .c90 {
height: 32px; height: 32px;
width: 32px; width: 32px;
fill: #98A1C0; fill: #98A1C0;
opacity: 1; opacity: 1;
} }
.c92 { .c91 {
height: 32px; height: 32px;
width: 32px; width: 32px;
fill: #98A1C0; fill: #98A1C0;
opacity: 1; opacity: 1;
} }
.c84 { .c83 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -164,7 +164,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -164,7 +164,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
max-width: 1440px; max-width: 1440px;
} }
.c85 { .c84 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -174,24 +174,24 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -174,24 +174,24 @@ exports[`disable nft on landing page does not render nft information and card 1`
flex-direction: column; flex-direction: column;
} }
.c86 { .c85 {
display: none; display: none;
} }
.c101 { .c100 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
} }
.c87 { .c86 {
width: 72px; width: 72px;
height: 72px; height: 72px;
display: none; display: none;
} }
.c88 { .c87 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -204,20 +204,20 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -204,20 +204,20 @@ exports[`disable nft on landing page does not render nft information and card 1`
margin: 20px 0 0 0; margin: 20px 0 0 0;
} }
.c89 { .c88 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
} }
.c94 { .c93 {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 12px; gap: 12px;
} }
.c95 { .c94 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -230,32 +230,32 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -230,32 +230,32 @@ exports[`disable nft on landing page does not render nft information and card 1`
margin: 20px 0 0 0; margin: 20px 0 0 0;
} }
.c96 { .c95 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
font-weight: 535; font-weight: 535;
} }
.c100 { .c99 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
color: #7D7D7D; color: #7D7D7D;
} }
.c98 { .c97 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
color: #7D7D7D; color: #7D7D7D;
} }
.c93 { .c92 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
margin: 1rem 0 0 0; margin: 1rem 0 0 0;
color: #CECECE; color: #CECECE;
} }
.c67 { .c66 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -283,11 +283,11 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -283,11 +283,11 @@ exports[`disable nft on landing page does not render nft information and card 1`
transition: 250ms ease border; transition: 250ms ease border;
} }
.c67:hover { .c66:hover {
border: 1px solid #CECECE; border: 1px solid #CECECE;
} }
.c73 { .c72 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -315,11 +315,11 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -315,11 +315,11 @@ exports[`disable nft on landing page does not render nft information and card 1`
transition: 250ms ease border; transition: 250ms ease border;
} }
.c73:hover { .c72:hover {
border: 1px solid #CECECE; border: 1px solid #CECECE;
} }
.c68 { .c67 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -334,13 +334,13 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -334,13 +334,13 @@ exports[`disable nft on landing page does not render nft information and card 1`
justify-content: space-between; justify-content: space-between;
} }
.c69 { .c68 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
font-weight: 535; font-weight: 535;
} }
.c70 { .c69 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -355,7 +355,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -355,7 +355,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
max-width: 480px; max-width: 480px;
} }
.c74 { .c73 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -370,7 +370,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -370,7 +370,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
max-width: 480px; max-width: 480px;
} }
.c71 { .c70 {
color: #FC72FF; color: #FC72FF;
font-weight: 535; font-weight: 535;
margin: 24px 0 0; margin: 24px 0 0;
...@@ -379,11 +379,11 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -379,11 +379,11 @@ exports[`disable nft on landing page does not render nft information and card 1`
transition: 250ms ease opacity; transition: 250ms ease opacity;
} }
.c71:hover { .c70:hover {
opacity: 0.6; opacity: 0.6;
} }
.c75 { .c74 {
min-width: 20px; min-width: 20px;
min-height: 20px; min-height: 20px;
max-height: 48px; max-height: 48px;
...@@ -461,7 +461,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -461,7 +461,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
text-decoration: none; text-decoration: none;
} }
.c81 { .c80 {
padding: 16px; padding: 16px;
width: 200px; width: 200px;
line-height: 24px; line-height: 24px;
...@@ -500,20 +500,20 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -500,20 +500,20 @@ exports[`disable nft on landing page does not render nft information and card 1`
transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0);
} }
.c81:disabled { .c80:disabled {
opacity: 50%; opacity: 50%;
cursor: auto; cursor: auto;
pointer-events: none; pointer-events: none;
} }
.c81 > * { .c80 > * {
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.c81 > a { .c80 > a {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
} }
...@@ -575,7 +575,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -575,7 +575,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
background-color: #e0e0e0; background-color: #e0e0e0;
} }
.c82 { .c81 {
background-color: transparent; background-color: transparent;
color: #FC72FF; color: #FC72FF;
display: -webkit-box; display: -webkit-box;
...@@ -592,22 +592,22 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -592,22 +592,22 @@ exports[`disable nft on landing page does not render nft information and card 1`
align-items: center; align-items: center;
} }
.c82:focus { .c81:focus {
-webkit-text-decoration: underline; -webkit-text-decoration: underline;
text-decoration: underline; text-decoration: underline;
} }
.c82:hover { .c81:hover {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
} }
.c82:active { .c81:active {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
} }
.c82:disabled { .c81:disabled {
opacity: 50%; opacity: 50%;
cursor: auto; cursor: auto;
} }
...@@ -641,7 +641,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -641,7 +641,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
cursor: auto; cursor: auto;
} }
.c76 { .c75 {
height: 340px; height: 340px;
width: 100%; width: 100%;
border-radius: 32px; border-radius: 32px;
...@@ -667,7 +667,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -667,7 +667,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
background: url(Mesh.png),linear-gradient(93.06deg,#FF00C7 2.66%,#FF9FFB 98.99%); background: url(Mesh.png),linear-gradient(93.06deg,#FF00C7 2.66%,#FF9FFB 98.99%);
} }
.c77 { .c76 {
color: white; color: white;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -681,20 +681,20 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -681,20 +681,20 @@ exports[`disable nft on landing page does not render nft information and card 1`
flex-direction: column; flex-direction: column;
} }
.c78 { .c77 {
font-weight: 535; font-weight: 535;
font-size: 28px; font-size: 28px;
line-height: 36px; line-height: 36px;
} }
.c79 { .c78 {
margin: 10px 10px 0 0; margin: 10px 10px 0 0;
font-weight: 535; font-weight: 535;
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
} }
.c80 { .c79 {
width: 100%; width: 100%;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -708,11 +708,11 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -708,11 +708,11 @@ exports[`disable nft on landing page does not render nft information and card 1`
transition: 250ms ease opacity; transition: 250ms ease opacity;
} }
.c80:hover { .c79:hover {
opacity: 0.6; opacity: 0.6;
} }
.c83 { .c82 {
color: white; color: white;
border: 1px solid white; border: 1px solid white;
} }
...@@ -1345,7 +1345,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1345,7 +1345,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
pointer-events: auto; pointer-events: auto;
} }
.c64 { .c63 {
display: -webkit-inline-box; display: -webkit-inline-box;
display: -webkit-inline-flex; display: -webkit-inline-flex;
display: -ms-inline-flexbox; display: -ms-inline-flexbox;
...@@ -1359,9 +1359,13 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1359,9 +1359,13 @@ exports[`disable nft on landing page does not render nft information and card 1`
line-height: 24px; line-height: 24px;
font-weight: 535; font-weight: 535;
text-align: center; text-align: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
} }
.c64:hover { .c63:hover {
color: #CECECE; color: #CECECE;
} }
...@@ -1437,7 +1441,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1437,7 +1441,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
cursor: pointer; cursor: pointer;
font-size: 20px; font-size: 20px;
font-weight: 535; font-weight: 535;
margin: 36px 0; margin: 18px 0 36px;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -1452,12 +1456,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1452,12 +1456,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
opacity: 0.6; opacity: 0.6;
} }
.c63 { .c64 {
margin-left: 14px;
size: 20px;
}
.c65 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -1474,7 +1473,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1474,7 +1473,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
background: linear-gradient(179.82deg,rgba(255,255,255,0) 0.16%,#eaeaea 99.85%); background: linear-gradient(179.82deg,rgba(255,255,255,0) 0.16%,#eaeaea 99.85%);
} }
.c66 { .c65 {
display: grid; display: grid;
gap: 12px; gap: 12px;
width: 100%; width: 100%;
...@@ -1487,7 +1486,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1487,7 +1486,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.c72 { .c71 {
display: grid; display: grid;
gap: 12px; gap: 12px;
width: 100%; width: 100%;
...@@ -1542,7 +1541,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1542,7 +1541,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c84 { .c83 {
-webkit-flex-direction: row; -webkit-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
...@@ -1554,7 +1553,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1554,7 +1553,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c86 { .c85 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -1563,63 +1562,63 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1563,63 +1562,63 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c101 { .c100 {
display: none; display: none;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c87 { .c86 {
display: block; display: block;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c94 { .c93 {
grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 24px; gap: 24px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c95 { .c94 {
margin: 0; margin: 0;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c67 { .c66 {
height: 360px; height: 360px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c67 { .c66 {
padding: 32px; padding: 32px;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c73 { .c72 {
height: 260px; height: 260px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c73 { .c72 {
padding: 32px; padding: 32px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c69 { .c68 {
font-size: 28px; font-size: 28px;
line-height: 36px; line-height: 36px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c70 { .c69 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
max-width: 480px; max-width: 480px;
...@@ -1627,7 +1626,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1627,7 +1626,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c74 { .c73 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
max-width: 480px; max-width: 480px;
...@@ -1635,7 +1634,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1635,7 +1634,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c76 { .c75 {
height: 140px; height: 140px;
-webkit-flex-direction: row; -webkit-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
...@@ -1644,21 +1643,21 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1644,21 +1643,21 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c78 { .c77 {
font-size: 28px; font-size: 28px;
line-height: 36px; line-height: 36px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c79 { .c78 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c80 { .c79 {
width: auto; width: auto;
} }
} }
...@@ -1721,34 +1720,34 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -1721,34 +1720,34 @@ exports[`disable nft on landing page does not render nft information and card 1`
} }
@media screen and (min-width:768px) { @media screen and (min-width:768px) {
.c65 { .c64 {
padding: 0 96px 5rem; padding: 0 96px 5rem;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c66 { .c65 {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 32px; gap: 32px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c66 { .c65 {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 32px; gap: 32px;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c72 { .c71 {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 32px; gap: 32px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c72 { .c71 {
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
gap: 32px; gap: 32px;
} }
...@@ -2112,36 +2111,9 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2112,36 +2111,9 @@ exports[`disable nft on landing page does not render nft information and card 1`
class="c62" class="c62"
> >
Learn more Learn more
<svg
class="c63"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="10"
/>
<polyline
points="8 12 12 16 16 12"
/>
<line
x1="12"
x2="12"
y1="8"
y2="16"
/>
</svg>
</div> </div>
<a <a
class="c64" class="c63"
href="https://wallet.uniswap.org/?utm_source=home_page&utm_medium=webapp&utm_campaign=wallet_microsite&utm_id=1" href="https://wallet.uniswap.org/?utm_source=home_page&utm_medium=webapp&utm_campaign=wallet_microsite&utm_id=1"
> >
<svg <svg
...@@ -2154,36 +2126,36 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2154,36 +2126,36 @@ exports[`disable nft on landing page does not render nft information and card 1`
fill="currentColor" fill="currentColor"
/> />
</svg> </svg>
Download the Uniswap Wallet for iOS Download the Uniswap app for iOS
</a> </a>
</div> </div>
<div <div
class="c65" class="c64"
> >
<div <div
class="c66" class="c65"
cols="1" cols="1"
> >
<a <a
class="c67" class="c66"
href="/swap" href="/swap"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Swap tokens Swap tokens
</div> </div>
</div> </div>
<div <div
class="c70" class="c69"
type="Primary" type="Primary"
> >
Buy, sell, and explore tokens on Ethereum, Polygon, Optimism, and more. Buy, sell, and explore tokens on Ethereum, Polygon, Optimism, and more.
<div <div
class="c70 c71" class="c69 c70"
type="Primary" type="Primary"
> >
Trade Tokens Trade Tokens
...@@ -2192,20 +2164,20 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2192,20 +2164,20 @@ exports[`disable nft on landing page does not render nft information and card 1`
</a> </a>
</div> </div>
<div <div
class="c72" class="c71"
cols="3" cols="3"
> >
<a <a
class="c73" class="c72"
href="https://support.uniswap.org/hc/en-us/articles/11306574799117-How-to-use-Moon-Pay-on-the-Uniswap-web-app-" href="https://support.uniswap.org/hc/en-us/articles/11306574799117-How-to-use-Moon-Pay-on-the-Uniswap-web-app-"
rel="noopenener noreferrer" rel="noopenener noreferrer"
target="_blank" target="_blank"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Buy crypto Buy crypto
</div> </div>
...@@ -2232,12 +2204,12 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2232,12 +2204,12 @@ exports[`disable nft on landing page does not render nft information and card 1`
</svg> </svg>
</div> </div>
<div <div
class="c74" class="c73"
type="Secondary" type="Secondary"
> >
Buy crypto with your credit card or bank account at the best rates. Buy crypto with your credit card or bank account at the best rates.
<div <div
class="c74 c71" class="c73 c70"
type="Secondary" type="Secondary"
> >
Buy now Buy now
...@@ -2245,30 +2217,30 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2245,30 +2217,30 @@ exports[`disable nft on landing page does not render nft information and card 1`
</div> </div>
</a> </a>
<a <a
class="c73" class="c72"
href="/pools" href="/pools"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Earn Earn
</div> </div>
<img <img
alt="Analytics" alt="Analytics"
class="c75" class="c74"
src="aboutArrowLight.png" src="aboutArrowLight.png"
/> />
</div> </div>
<div <div
class="c74" class="c73"
type="Secondary" type="Secondary"
> >
Provide liquidity to pools on Uniswap and earn fees on swaps. Provide liquidity to pools on Uniswap and earn fees on swaps.
<div <div
class="c74 c71" class="c73 c70"
type="Secondary" type="Secondary"
> >
Provide liquidity Provide liquidity
...@@ -2276,16 +2248,16 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2276,16 +2248,16 @@ exports[`disable nft on landing page does not render nft information and card 1`
</div> </div>
</a> </a>
<a <a
class="c73" class="c72"
href="https://docs.uniswap.org" href="https://docs.uniswap.org"
rel="noopenener noreferrer" rel="noopenener noreferrer"
target="_blank" target="_blank"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Build dApps Build dApps
</div> </div>
...@@ -2312,12 +2284,12 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2312,12 +2284,12 @@ exports[`disable nft on landing page does not render nft information and card 1`
</svg> </svg>
</div> </div>
<div <div
class="c74" class="c73"
type="Secondary" type="Secondary"
> >
Build apps and tools on the largest DeFi protocol on Ethereum. Build apps and tools on the largest DeFi protocol on Ethereum.
<div <div
class="c74 c71" class="c73 c70"
type="Secondary" type="Secondary"
> >
Developer docs Developer docs
...@@ -2326,27 +2298,27 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2326,27 +2298,27 @@ exports[`disable nft on landing page does not render nft information and card 1`
</a> </a>
</div> </div>
<div <div
class="c76" class="c75"
> >
<div <div
class="c77" class="c76"
> >
<div <div
class="c78" class="c77"
> >
Powered by the Uniswap Protocol Powered by the Uniswap Protocol
</div> </div>
<div <div
class="c79" class="c78"
> >
The leading decentralized crypto trading protocol, governed by a global community. The leading decentralized crypto trading protocol, governed by a global community.
</div> </div>
</div> </div>
<div <div
class="c80" class="c79"
> >
<a <a
class="c81 c82 c83" class="c80 c81 c82"
href="https://uniswap.org" href="https://uniswap.org"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2357,53 +2329,53 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2357,53 +2329,53 @@ exports[`disable nft on landing page does not render nft information and card 1`
</div> </div>
</div> </div>
<div <div
class="c84" class="c83"
> >
<div <div
class="c85 c86" class="c84 c85"
> >
<img <img
alt="Uniswap Logo" alt="Uniswap Logo"
class="c87" class="c86"
src="unicornEmbossLight.png" src="unicornEmbossLight.png"
/> />
<div <div
class="c88" class="c87"
> >
<a <a
class="c89" class="c88"
href="https://discord.gg/FCfyBSbCU5" href="https://discord.gg/FCfyBSbCU5"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c90" class="c89"
size="32" size="32"
> >
discord.svg discord.svg
</svg> </svg>
</a> </a>
<a <a
class="c89" class="c88"
href="https://twitter.com/uniswap" href="https://twitter.com/uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c91" class="c90"
size="32" size="32"
> >
twitter-safe.svg twitter-safe.svg
</svg> </svg>
</a> </a>
<a <a
class="c89" class="c88"
href="https://github.com/Uniswap" href="https://github.com/Uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c92" class="c91"
size="32" size="32"
> >
github.svg github.svg
...@@ -2411,7 +2383,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2411,7 +2383,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
</a> </a>
</div> </div>
<span <span
class="c93" class="c92"
> >
© ©
2023 2023
...@@ -2419,45 +2391,45 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2419,45 +2391,45 @@ exports[`disable nft on landing page does not render nft information and card 1`
</span> </span>
</div> </div>
<div <div
class="c94" class="c93"
> >
<div <div
class="c95" class="c94"
> >
<span <span
class="c96" class="c95"
> >
App App
</span> </span>
<a <a
class="c97 c98" class="c96 c97"
href="/swap" href="/swap"
> >
Swap Swap
</a> </a>
<a <a
class="c97 c98" class="c96 c97"
href="/tokens" href="/tokens"
> >
Tokens Tokens
</a> </a>
<a <a
class="c97 c98" class="c96 c97"
href="/pools" href="/pools"
> >
Pools Pools
</a> </a>
</div> </div>
<div <div
class="c95" class="c94"
> >
<span <span
class="c96" class="c95"
> >
Protocol Protocol
</span> </span>
<a <a
class="c99 c100" class="c98 c99"
href="https://uniswap.org/community" href="https://uniswap.org/community"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2465,7 +2437,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2465,7 +2437,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
Community Community
</a> </a>
<a <a
class="c99 c100" class="c98 c99"
href="https://uniswap.org/governance" href="https://uniswap.org/governance"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2473,7 +2445,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2473,7 +2445,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
Governance Governance
</a> </a>
<a <a
class="c99 c100" class="c98 c99"
href="https://uniswap.org/developers" href="https://uniswap.org/developers"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2482,15 +2454,15 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2482,15 +2454,15 @@ exports[`disable nft on landing page does not render nft information and card 1`
</a> </a>
</div> </div>
<div <div
class="c95" class="c94"
> >
<span <span
class="c96" class="c95"
> >
Company Company
</span> </span>
<a <a
class="c99 c100" class="c98 c99"
href="https://boards.greenhouse.io/uniswaplabs" href="https://boards.greenhouse.io/uniswaplabs"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2498,7 +2470,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2498,7 +2470,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
Careers Careers
</a> </a>
<a <a
class="c99 c100" class="c98 c99"
href="https://uniswap.org/blog" href="https://uniswap.org/blog"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2507,15 +2479,15 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2507,15 +2479,15 @@ exports[`disable nft on landing page does not render nft information and card 1`
</a> </a>
</div> </div>
<div <div
class="c95" class="c94"
> >
<span <span
class="c96" class="c95"
> >
Get Help Get Help
</span> </span>
<a <a
class="c99 c100" class="c98 c99"
href="https://support.uniswap.org/hc/en-us/requests/new" href="https://support.uniswap.org/hc/en-us/requests/new"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2523,7 +2495,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2523,7 +2495,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
Contact Us Contact Us
</a> </a>
<a <a
class="c99 c100" class="c98 c99"
href="https://support.uniswap.org/hc/en-us" href="https://support.uniswap.org/hc/en-us"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -2533,50 +2505,50 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2533,50 +2505,50 @@ exports[`disable nft on landing page does not render nft information and card 1`
</div> </div>
</div> </div>
<div <div
class="c85 c101" class="c84 c100"
> >
<img <img
alt="Uniswap Logo" alt="Uniswap Logo"
class="c87" class="c86"
src="unicornEmbossLight.png" src="unicornEmbossLight.png"
/> />
<div <div
class="c88" class="c87"
> >
<a <a
class="c89" class="c88"
href="https://discord.gg/FCfyBSbCU5" href="https://discord.gg/FCfyBSbCU5"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c90" class="c89"
size="32" size="32"
> >
discord.svg discord.svg
</svg> </svg>
</a> </a>
<a <a
class="c89" class="c88"
href="https://twitter.com/uniswap" href="https://twitter.com/uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c91" class="c90"
size="32" size="32"
> >
twitter-safe.svg twitter-safe.svg
</svg> </svg>
</a> </a>
<a <a
class="c89" class="c88"
href="https://github.com/Uniswap" href="https://github.com/Uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c92" class="c91"
size="32" size="32"
> >
github.svg github.svg
...@@ -2584,7 +2556,7 @@ exports[`disable nft on landing page does not render nft information and card 1` ...@@ -2584,7 +2556,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
</a> </a>
</div> </div>
<span <span
class="c93" class="c92"
> >
© ©
2023 2023
...@@ -2689,7 +2661,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2689,7 +2661,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
color: #7D7D7D; color: #7D7D7D;
} }
.c100 { .c99 {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
...@@ -2700,15 +2672,15 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2700,15 +2672,15 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
font-weight: 500; font-weight: 500;
} }
.c100:hover { .c99:hover {
opacity: 0.6; opacity: 0.6;
} }
.c100:active { .c99:active {
opacity: 0.4; opacity: 0.4;
} }
.c98 { .c97 {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
...@@ -2719,36 +2691,36 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2719,36 +2691,36 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
font-weight: 500; font-weight: 500;
} }
.c98:hover { .c97:hover {
opacity: 0.6; opacity: 0.6;
} }
.c98:active { .c97:active {
opacity: 0.4; opacity: 0.4;
} }
.c91 { .c90 {
height: 32px; height: 32px;
width: 32px; width: 32px;
fill: #98A1C0; fill: #98A1C0;
opacity: 1; opacity: 1;
} }
.c92 { .c91 {
height: 32px; height: 32px;
width: 32px; width: 32px;
fill: #98A1C0; fill: #98A1C0;
opacity: 1; opacity: 1;
} }
.c93 { .c92 {
height: 32px; height: 32px;
width: 32px; width: 32px;
fill: #98A1C0; fill: #98A1C0;
opacity: 1; opacity: 1;
} }
.c85 { .c84 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2761,7 +2733,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2761,7 +2733,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
max-width: 1440px; max-width: 1440px;
} }
.c86 { .c85 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2771,24 +2743,24 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2771,24 +2743,24 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
flex-direction: column; flex-direction: column;
} }
.c87 { .c86 {
display: none; display: none;
} }
.c102 { .c101 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
} }
.c88 { .c87 {
width: 72px; width: 72px;
height: 72px; height: 72px;
display: none; display: none;
} }
.c89 { .c88 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2801,20 +2773,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2801,20 +2773,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
margin: 20px 0 0 0; margin: 20px 0 0 0;
} }
.c90 { .c89 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
} }
.c95 { .c94 {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 12px; gap: 12px;
} }
.c96 { .c95 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2827,32 +2799,32 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2827,32 +2799,32 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
margin: 20px 0 0 0; margin: 20px 0 0 0;
} }
.c97 { .c96 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
font-weight: 535; font-weight: 535;
} }
.c101 { .c100 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
color: #7D7D7D; color: #7D7D7D;
} }
.c99 { .c98 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
color: #7D7D7D; color: #7D7D7D;
} }
.c94 { .c93 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
margin: 1rem 0 0 0; margin: 1rem 0 0 0;
color: #CECECE; color: #CECECE;
} }
.c67 { .c66 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2880,11 +2852,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2880,11 +2852,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
transition: 250ms ease border; transition: 250ms ease border;
} }
.c67:hover { .c66:hover {
border: 1px solid #CECECE; border: 1px solid #CECECE;
} }
.c72 { .c71 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2912,11 +2884,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2912,11 +2884,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
transition: 250ms ease border; transition: 250ms ease border;
} }
.c72:hover { .c71:hover {
border: 1px solid #CECECE; border: 1px solid #CECECE;
} }
.c74 { .c73 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2944,11 +2916,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2944,11 +2916,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
transition: 250ms ease border; transition: 250ms ease border;
} }
.c74:hover { .c73:hover {
border: 1px solid #CECECE; border: 1px solid #CECECE;
} }
.c68 { .c67 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2963,13 +2935,13 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2963,13 +2935,13 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
justify-content: space-between; justify-content: space-between;
} }
.c69 { .c68 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
font-weight: 535; font-weight: 535;
} }
.c70 { .c69 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2984,7 +2956,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2984,7 +2956,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
max-width: 480px; max-width: 480px;
} }
.c75 { .c74 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -2999,7 +2971,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -2999,7 +2971,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
max-width: 480px; max-width: 480px;
} }
.c71 { .c70 {
color: #FC72FF; color: #FC72FF;
font-weight: 535; font-weight: 535;
margin: 24px 0 0; margin: 24px 0 0;
...@@ -3008,11 +2980,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3008,11 +2980,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
transition: 250ms ease opacity; transition: 250ms ease opacity;
} }
.c71:hover { .c70:hover {
opacity: 0.6; opacity: 0.6;
} }
.c76 { .c75 {
min-width: 20px; min-width: 20px;
min-height: 20px; min-height: 20px;
max-height: 48px; max-height: 48px;
...@@ -3090,7 +3062,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3090,7 +3062,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
text-decoration: none; text-decoration: none;
} }
.c82 { .c81 {
padding: 16px; padding: 16px;
width: 200px; width: 200px;
line-height: 24px; line-height: 24px;
...@@ -3129,20 +3101,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3129,20 +3101,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0);
} }
.c82:disabled { .c81:disabled {
opacity: 50%; opacity: 50%;
cursor: auto; cursor: auto;
pointer-events: none; pointer-events: none;
} }
.c82 > * { .c81 > * {
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.c82 > a { .c81 > a {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
} }
...@@ -3204,7 +3176,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3204,7 +3176,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
background-color: #e0e0e0; background-color: #e0e0e0;
} }
.c83 { .c82 {
background-color: transparent; background-color: transparent;
color: #FC72FF; color: #FC72FF;
display: -webkit-box; display: -webkit-box;
...@@ -3221,22 +3193,22 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3221,22 +3193,22 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
align-items: center; align-items: center;
} }
.c83:focus { .c82:focus {
-webkit-text-decoration: underline; -webkit-text-decoration: underline;
text-decoration: underline; text-decoration: underline;
} }
.c83:hover { .c82:hover {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
} }
.c83:active { .c82:active {
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
} }
.c83:disabled { .c82:disabled {
opacity: 50%; opacity: 50%;
cursor: auto; cursor: auto;
} }
...@@ -3270,7 +3242,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3270,7 +3242,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
cursor: auto; cursor: auto;
} }
.c77 { .c76 {
height: 340px; height: 340px;
width: 100%; width: 100%;
border-radius: 32px; border-radius: 32px;
...@@ -3296,7 +3268,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3296,7 +3268,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
background: url(Mesh.png),linear-gradient(93.06deg,#FF00C7 2.66%,#FF9FFB 98.99%); background: url(Mesh.png),linear-gradient(93.06deg,#FF00C7 2.66%,#FF9FFB 98.99%);
} }
.c78 { .c77 {
color: white; color: white;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -3310,20 +3282,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3310,20 +3282,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
flex-direction: column; flex-direction: column;
} }
.c79 { .c78 {
font-weight: 535; font-weight: 535;
font-size: 28px; font-size: 28px;
line-height: 36px; line-height: 36px;
} }
.c80 { .c79 {
margin: 10px 10px 0 0; margin: 10px 10px 0 0;
font-weight: 535; font-weight: 535;
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
} }
.c81 { .c80 {
width: 100%; width: 100%;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -3337,11 +3309,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3337,11 +3309,11 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
transition: 250ms ease opacity; transition: 250ms ease opacity;
} }
.c81:hover { .c80:hover {
opacity: 0.6; opacity: 0.6;
} }
.c84 { .c83 {
color: white; color: white;
border: 1px solid white; border: 1px solid white;
} }
...@@ -3974,7 +3946,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3974,7 +3946,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
pointer-events: auto; pointer-events: auto;
} }
.c64 { .c63 {
display: -webkit-inline-box; display: -webkit-inline-box;
display: -webkit-inline-flex; display: -webkit-inline-flex;
display: -ms-inline-flexbox; display: -ms-inline-flexbox;
...@@ -3988,9 +3960,13 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -3988,9 +3960,13 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
line-height: 24px; line-height: 24px;
font-weight: 535; font-weight: 535;
text-align: center; text-align: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
} }
.c64:hover { .c63:hover {
color: #CECECE; color: #CECECE;
} }
...@@ -4066,7 +4042,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4066,7 +4042,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
cursor: pointer; cursor: pointer;
font-size: 20px; font-size: 20px;
font-weight: 535; font-weight: 535;
margin: 36px 0; margin: 18px 0 36px;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -4081,12 +4057,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4081,12 +4057,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
opacity: 0.6; opacity: 0.6;
} }
.c63 { .c64 {
margin-left: 14px;
size: 20px;
}
.c65 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -4103,7 +4074,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4103,7 +4074,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
background: linear-gradient(179.82deg,rgba(255,255,255,0) 0.16%,#eaeaea 99.85%); background: linear-gradient(179.82deg,rgba(255,255,255,0) 0.16%,#eaeaea 99.85%);
} }
.c66 { .c65 {
display: grid; display: grid;
gap: 12px; gap: 12px;
width: 100%; width: 100%;
...@@ -4116,7 +4087,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4116,7 +4087,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.c73 { .c72 {
display: grid; display: grid;
gap: 12px; gap: 12px;
width: 100%; width: 100%;
...@@ -4171,7 +4142,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4171,7 +4142,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c85 { .c84 {
-webkit-flex-direction: row; -webkit-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
...@@ -4183,7 +4154,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4183,7 +4154,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c87 { .c86 {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
...@@ -4192,75 +4163,75 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4192,75 +4163,75 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c102 { .c101 {
display: none; display: none;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c88 { .c87 {
display: block; display: block;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c95 { .c94 {
grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 24px; gap: 24px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c96 { .c95 {
margin: 0; margin: 0;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c67 { .c66 {
height: 360px; height: 360px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c67 { .c66 {
padding: 32px; padding: 32px;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c72 { .c71 {
height: 360px; height: 360px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c72 { .c71 {
padding: 32px; padding: 32px;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c74 { .c73 {
height: 260px; height: 260px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c74 { .c73 {
padding: 32px; padding: 32px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c69 { .c68 {
font-size: 28px; font-size: 28px;
line-height: 36px; line-height: 36px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c70 { .c69 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
max-width: 480px; max-width: 480px;
...@@ -4268,7 +4239,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4268,7 +4239,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c75 { .c74 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
max-width: 480px; max-width: 480px;
...@@ -4276,7 +4247,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4276,7 +4247,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c77 { .c76 {
height: 140px; height: 140px;
-webkit-flex-direction: row; -webkit-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
...@@ -4285,21 +4256,21 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4285,21 +4256,21 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c79 { .c78 {
font-size: 28px; font-size: 28px;
line-height: 36px; line-height: 36px;
} }
} }
@media screen and (min-width:1280px) { @media screen and (min-width:1280px) {
.c80 { .c79 {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c81 { .c80 {
width: auto; width: auto;
} }
} }
...@@ -4362,34 +4333,34 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4362,34 +4333,34 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
} }
@media screen and (min-width:768px) { @media screen and (min-width:768px) {
.c65 { .c64 {
padding: 0 96px 5rem; padding: 0 96px 5rem;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c66 { .c65 {
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 32px; gap: 32px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c66 { .c65 {
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 32px; gap: 32px;
} }
} }
@media screen and (min-width:640px) { @media screen and (min-width:640px) {
.c73 { .c72 {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 32px; gap: 32px;
} }
} }
@media screen and (min-width:1024px) { @media screen and (min-width:1024px) {
.c73 { .c72 {
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
gap: 32px; gap: 32px;
} }
...@@ -4753,36 +4724,9 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4753,36 +4724,9 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
class="c62" class="c62"
> >
Learn more Learn more
<svg
class="c63"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="10"
/>
<polyline
points="8 12 12 16 16 12"
/>
<line
x1="12"
x2="12"
y1="8"
y2="16"
/>
</svg>
</div> </div>
<a <a
class="c64" class="c63"
href="https://wallet.uniswap.org/?utm_source=home_page&utm_medium=webapp&utm_campaign=wallet_microsite&utm_id=1" href="https://wallet.uniswap.org/?utm_source=home_page&utm_medium=webapp&utm_campaign=wallet_microsite&utm_id=1"
> >
<svg <svg
...@@ -4795,36 +4739,36 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4795,36 +4739,36 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
fill="currentColor" fill="currentColor"
/> />
</svg> </svg>
Download the Uniswap Wallet for iOS Download the Uniswap app for iOS
</a> </a>
</div> </div>
<div <div
class="c65" class="c64"
> >
<div <div
class="c66" class="c65"
cols="2" cols="2"
> >
<a <a
class="c67" class="c66"
href="/swap" href="/swap"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Swap tokens Swap tokens
</div> </div>
</div> </div>
<div <div
class="c70" class="c69"
type="Primary" type="Primary"
> >
Buy, sell, and explore tokens on Ethereum, Polygon, Optimism, and more. Buy, sell, and explore tokens on Ethereum, Polygon, Optimism, and more.
<div <div
class="c70 c71" class="c69 c70"
type="Primary" type="Primary"
> >
Trade Tokens Trade Tokens
...@@ -4832,25 +4776,25 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4832,25 +4776,25 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</div> </div>
</a> </a>
<a <a
class="c72" class="c71"
href="/nfts" href="/nfts"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Trade NFTs Trade NFTs
</div> </div>
</div> </div>
<div <div
class="c70" class="c69"
type="Primary" type="Primary"
> >
Buy and sell NFTs across marketplaces to find more listings at better prices. Buy and sell NFTs across marketplaces to find more listings at better prices.
<div <div
class="c70 c71" class="c69 c70"
type="Primary" type="Primary"
> >
Explore NFTs Explore NFTs
...@@ -4859,20 +4803,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4859,20 +4803,20 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</a> </a>
</div> </div>
<div <div
class="c73" class="c72"
cols="3" cols="3"
> >
<a <a
class="c74" class="c73"
href="https://support.uniswap.org/hc/en-us/articles/11306574799117-How-to-use-Moon-Pay-on-the-Uniswap-web-app-" href="https://support.uniswap.org/hc/en-us/articles/11306574799117-How-to-use-Moon-Pay-on-the-Uniswap-web-app-"
rel="noopenener noreferrer" rel="noopenener noreferrer"
target="_blank" target="_blank"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Buy crypto Buy crypto
</div> </div>
...@@ -4899,12 +4843,12 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4899,12 +4843,12 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</svg> </svg>
</div> </div>
<div <div
class="c75" class="c74"
type="Secondary" type="Secondary"
> >
Buy crypto with your credit card or bank account at the best rates. Buy crypto with your credit card or bank account at the best rates.
<div <div
class="c75 c71" class="c74 c70"
type="Secondary" type="Secondary"
> >
Buy now Buy now
...@@ -4912,30 +4856,30 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4912,30 +4856,30 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</div> </div>
</a> </a>
<a <a
class="c74" class="c73"
href="/pools" href="/pools"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Earn Earn
</div> </div>
<img <img
alt="Analytics" alt="Analytics"
class="c76" class="c75"
src="aboutArrowLight.png" src="aboutArrowLight.png"
/> />
</div> </div>
<div <div
class="c75" class="c74"
type="Secondary" type="Secondary"
> >
Provide liquidity to pools on Uniswap and earn fees on swaps. Provide liquidity to pools on Uniswap and earn fees on swaps.
<div <div
class="c75 c71" class="c74 c70"
type="Secondary" type="Secondary"
> >
Provide liquidity Provide liquidity
...@@ -4943,16 +4887,16 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4943,16 +4887,16 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</div> </div>
</a> </a>
<a <a
class="c74" class="c73"
href="https://docs.uniswap.org" href="https://docs.uniswap.org"
rel="noopenener noreferrer" rel="noopenener noreferrer"
target="_blank" target="_blank"
> >
<div <div
class="c68" class="c67"
> >
<div <div
class="c69" class="c68"
> >
Build dApps Build dApps
</div> </div>
...@@ -4979,12 +4923,12 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4979,12 +4923,12 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</svg> </svg>
</div> </div>
<div <div
class="c75" class="c74"
type="Secondary" type="Secondary"
> >
Build apps and tools on the largest DeFi protocol on Ethereum. Build apps and tools on the largest DeFi protocol on Ethereum.
<div <div
class="c75 c71" class="c74 c70"
type="Secondary" type="Secondary"
> >
Developer docs Developer docs
...@@ -4993,27 +4937,27 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -4993,27 +4937,27 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</a> </a>
</div> </div>
<div <div
class="c77" class="c76"
> >
<div <div
class="c78" class="c77"
> >
<div <div
class="c79" class="c78"
> >
Powered by the Uniswap Protocol Powered by the Uniswap Protocol
</div> </div>
<div <div
class="c80" class="c79"
> >
The leading decentralized crypto trading protocol, governed by a global community. The leading decentralized crypto trading protocol, governed by a global community.
</div> </div>
</div> </div>
<div <div
class="c81" class="c80"
> >
<a <a
class="c82 c83 c84" class="c81 c82 c83"
href="https://uniswap.org" href="https://uniswap.org"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5024,53 +4968,53 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5024,53 +4968,53 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</div> </div>
</div> </div>
<div <div
class="c85" class="c84"
> >
<div <div
class="c86 c87" class="c85 c86"
> >
<img <img
alt="Uniswap Logo" alt="Uniswap Logo"
class="c88" class="c87"
src="unicornEmbossLight.png" src="unicornEmbossLight.png"
/> />
<div <div
class="c89" class="c88"
> >
<a <a
class="c90" class="c89"
href="https://discord.gg/FCfyBSbCU5" href="https://discord.gg/FCfyBSbCU5"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c91" class="c90"
size="32" size="32"
> >
discord.svg discord.svg
</svg> </svg>
</a> </a>
<a <a
class="c90" class="c89"
href="https://twitter.com/uniswap" href="https://twitter.com/uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c92" class="c91"
size="32" size="32"
> >
twitter-safe.svg twitter-safe.svg
</svg> </svg>
</a> </a>
<a <a
class="c90" class="c89"
href="https://github.com/Uniswap" href="https://github.com/Uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c93" class="c92"
size="32" size="32"
> >
github.svg github.svg
...@@ -5078,7 +5022,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5078,7 +5022,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</a> </a>
</div> </div>
<span <span
class="c94" class="c93"
> >
© ©
2023 2023
...@@ -5086,51 +5030,51 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5086,51 +5030,51 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</span> </span>
</div> </div>
<div <div
class="c95" class="c94"
> >
<div <div
class="c96" class="c95"
> >
<span <span
class="c97" class="c96"
> >
App App
</span> </span>
<a <a
class="c98 c99" class="c97 c98"
href="/swap" href="/swap"
> >
Swap Swap
</a> </a>
<a <a
class="c98 c99" class="c97 c98"
href="/tokens" href="/tokens"
> >
Tokens Tokens
</a> </a>
<a <a
class="c98 c99" class="c97 c98"
href="/nfts" href="/nfts"
> >
NFTs NFTs
</a> </a>
<a <a
class="c98 c99" class="c97 c98"
href="/pools" href="/pools"
> >
Pools Pools
</a> </a>
</div> </div>
<div <div
class="c96" class="c95"
> >
<span <span
class="c97" class="c96"
> >
Protocol Protocol
</span> </span>
<a <a
class="c100 c101" class="c99 c100"
href="https://uniswap.org/community" href="https://uniswap.org/community"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5138,7 +5082,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5138,7 +5082,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
Community Community
</a> </a>
<a <a
class="c100 c101" class="c99 c100"
href="https://uniswap.org/governance" href="https://uniswap.org/governance"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5146,7 +5090,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5146,7 +5090,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
Governance Governance
</a> </a>
<a <a
class="c100 c101" class="c99 c100"
href="https://uniswap.org/developers" href="https://uniswap.org/developers"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5155,15 +5099,15 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5155,15 +5099,15 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</a> </a>
</div> </div>
<div <div
class="c96" class="c95"
> >
<span <span
class="c97" class="c96"
> >
Company Company
</span> </span>
<a <a
class="c100 c101" class="c99 c100"
href="https://boards.greenhouse.io/uniswaplabs" href="https://boards.greenhouse.io/uniswaplabs"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5171,7 +5115,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5171,7 +5115,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
Careers Careers
</a> </a>
<a <a
class="c100 c101" class="c99 c100"
href="https://uniswap.org/blog" href="https://uniswap.org/blog"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5180,15 +5124,15 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5180,15 +5124,15 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</a> </a>
</div> </div>
<div <div
class="c96" class="c95"
> >
<span <span
class="c97" class="c96"
> >
Get Help Get Help
</span> </span>
<a <a
class="c100 c101" class="c99 c100"
href="https://support.uniswap.org/hc/en-us/requests/new" href="https://support.uniswap.org/hc/en-us/requests/new"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5196,7 +5140,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5196,7 +5140,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
Contact Us Contact Us
</a> </a>
<a <a
class="c100 c101" class="c99 c100"
href="https://support.uniswap.org/hc/en-us" href="https://support.uniswap.org/hc/en-us"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
...@@ -5206,50 +5150,50 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5206,50 +5150,50 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</div> </div>
</div> </div>
<div <div
class="c86 c102" class="c85 c101"
> >
<img <img
alt="Uniswap Logo" alt="Uniswap Logo"
class="c88" class="c87"
src="unicornEmbossLight.png" src="unicornEmbossLight.png"
/> />
<div <div
class="c89" class="c88"
> >
<a <a
class="c90" class="c89"
href="https://discord.gg/FCfyBSbCU5" href="https://discord.gg/FCfyBSbCU5"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c91" class="c90"
size="32" size="32"
> >
discord.svg discord.svg
</svg> </svg>
</a> </a>
<a <a
class="c90" class="c89"
href="https://twitter.com/uniswap" href="https://twitter.com/uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c92" class="c91"
size="32" size="32"
> >
twitter-safe.svg twitter-safe.svg
</svg> </svg>
</a> </a>
<a <a
class="c90" class="c89"
href="https://github.com/Uniswap" href="https://github.com/Uniswap"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<svg <svg
class="c93" class="c92"
size="32" size="32"
> >
github.svg github.svg
...@@ -5257,7 +5201,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = ` ...@@ -5257,7 +5201,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
</a> </a>
</div> </div>
<span <span
class="c94" class="c93"
> >
© ©
2023 2023
......
import { Trans } from '@lingui/macro' import { Trans } from '@lingui/macro'
import { BrowserEvent, InterfaceElementName, InterfacePageName, SharedEventName } from '@uniswap/analytics-events' import { BrowserEvent, InterfaceElementName, InterfacePageName, SharedEventName } from '@uniswap/analytics-events'
import { Trace, TraceEvent } from 'analytics' import { Trace, TraceEvent } from 'analytics'
import { ReactComponent as UniswapAppLogo } from 'assets/svg/uniswap_app_logo.svg'
import { AboutFooter } from 'components/About/AboutFooter' import { AboutFooter } from 'components/About/AboutFooter'
import Card, { CardType } from 'components/About/Card' import Card, { CardType } from 'components/About/Card'
import { MAIN_CARDS, MORE_CARDS } from 'components/About/constants' import { MAIN_CARDS, MORE_CARDS } from 'components/About/constants'
...@@ -8,11 +9,11 @@ import ProtocolBanner from 'components/About/ProtocolBanner' ...@@ -8,11 +9,11 @@ import ProtocolBanner from 'components/About/ProtocolBanner'
import { useAccountDrawer } from 'components/AccountDrawer' import { useAccountDrawer } from 'components/AccountDrawer'
import { BaseButton } from 'components/Button' import { BaseButton } from 'components/Button'
import { AppleLogo } from 'components/Logo/AppleLogo' import { AppleLogo } from 'components/Logo/AppleLogo'
import { useAndroidGALaunchFlagEnabled } from 'featureFlags/flags/androidGALaunch'
import { useDisableNFTRoutes } from 'hooks/useDisableNFTRoutes' import { useDisableNFTRoutes } from 'hooks/useDisableNFTRoutes'
import Swap from 'pages/Swap' import Swap from 'pages/Swap'
import { parse } from 'qs' import { parse } from 'qs'
import { useEffect, useMemo, useRef } from 'react' import { useEffect, useMemo, useRef } from 'react'
import { ArrowDownCircle } from 'react-feather'
import { Navigate, useLocation, useNavigate } from 'react-router-dom' import { Navigate, useLocation, useNavigate } from 'react-router-dom'
import { Link as NativeLink } from 'react-router-dom' import { Link as NativeLink } from 'react-router-dom'
import { useAppSelector } from 'state/hooks' import { useAppSelector } from 'state/hooks'
...@@ -116,6 +117,7 @@ const DownloadWalletLink = styled.a` ...@@ -116,6 +117,7 @@ const DownloadWalletLink = styled.a`
line-height: 24px; line-height: 24px;
font-weight: 535; font-weight: 535;
text-align: center; text-align: center;
align-items: center;
:hover { :hover {
color: ${({ theme }) => theme.neutral3}; color: ${({ theme }) => theme.neutral3};
...@@ -210,7 +212,7 @@ const LearnMoreContainer = styled.div` ...@@ -210,7 +212,7 @@ const LearnMoreContainer = styled.div`
cursor: pointer; cursor: pointer;
font-size: 20px; font-size: 20px;
font-weight: 535; font-weight: 535;
margin: 36px 0; margin: 18px 0 36px;
display: flex; display: flex;
visibility: hidden; visibility: hidden;
pointer-events: auto; pointer-events: auto;
...@@ -225,11 +227,6 @@ const LearnMoreContainer = styled.div` ...@@ -225,11 +227,6 @@ const LearnMoreContainer = styled.div`
} }
` `
const LearnMoreArrow = styled(ArrowDownCircle)`
margin-left: 14px;
size: 20px;
`
const AboutContentContainer = styled.div<{ isDarkMode: boolean }>` const AboutContentContainer = styled.div<{ isDarkMode: boolean }>`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -318,12 +315,15 @@ export default function Landing() { ...@@ -318,12 +315,15 @@ export default function Landing() {
const isDarkMode = useIsDarkMode() const isDarkMode = useIsDarkMode()
const cardsRef = useRef<HTMLDivElement>(null) const cardsRef = useRef<HTMLDivElement>(null)
const selectedWallet = useAppSelector((state) => state.user.selectedWallet) const selectedWallet = useAppSelector((state) => state.user.selectedWallet)
const shouldDisableNFTRoutes = useDisableNFTRoutes() const shouldDisableNFTRoutes = useDisableNFTRoutes()
const cards = useMemo( const cards = useMemo(
() => MAIN_CARDS.filter((card) => !(shouldDisableNFTRoutes && card.to.startsWith('/nft'))), () => MAIN_CARDS.filter((card) => !(shouldDisableNFTRoutes && card.to.startsWith('/nft'))),
[shouldDisableNFTRoutes] [shouldDisableNFTRoutes]
) )
const isAndroidGALaunched = useAndroidGALaunchFlagEnabled()
const [accountDrawerOpen] = useAccountDrawer() const [accountDrawerOpen] = useAccountDrawer()
const navigate = useNavigate() const navigate = useNavigate()
useEffect(() => { useEffect(() => {
...@@ -395,7 +395,6 @@ export default function Landing() { ...@@ -395,7 +395,6 @@ export default function Landing() {
}} }}
> >
<Trans>Learn more</Trans> <Trans>Learn more</Trans>
<LearnMoreArrow />
</LearnMoreContainer> </LearnMoreContainer>
<DownloadWalletLink <DownloadWalletLink
...@@ -405,8 +404,17 @@ export default function Landing() { ...@@ -405,8 +404,17 @@ export default function Landing() {
appStoreParams: `ct=Uniswap-Home-Page&mt=8`, appStoreParams: `ct=Uniswap-Home-Page&mt=8`,
})} })}
> >
<AppleLogo width="20" height="20" /> {isAndroidGALaunched ? (
Download the Uniswap Wallet for iOS <>
<UniswapAppLogo width="20" height="20" />
Download the Uniswap app
</>
) : (
<>
<AppleLogo width="20" height="20" />
Download the Uniswap app for iOS
</>
)}
</DownloadWalletLink> </DownloadWalletLink>
</ContentContainer> </ContentContainer>
<AboutContentContainer isDarkMode={isDarkMode}> <AboutContentContainer isDarkMode={isDarkMode}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment