-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stablecoin-issuance] Hides the CN2 UI for users that have the TOKEN_…
…ISSUER_ONLY_MODE_ENABLED gk (#14461) With TOKEN_ISSUER_ONLY_MODE_ENABLED: ![Screenshot 2024-12-18 at 2.03.57 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AMCzR6ldnuRamjbkxWC9/4468a392-0aea-4d22-b595-b391ab9fb5a9.png) ![Screenshot 2024-12-18 at 2.03.34 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AMCzR6ldnuRamjbkxWC9/afd41050-9c70-4064-8a9c-02315aad3754.png) ![Screenshot 2024-12-18 at 2.32.33 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AMCzR6ldnuRamjbkxWC9/ee6f23a3-dc73-4b03-b7d2-0900116f8a90.png) ![Screenshot 2024-12-18 at 2.03.41 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AMCzR6ldnuRamjbkxWC9/edd3a459-6969-4100-a83f-3ec301e05a49.png) Without TOKEN_ISSUER_ONLY_MODE_ENABLED: Theme is NOT set by GK. ![Screenshot 2024-12-18 at 2.04.48 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AMCzR6ldnuRamjbkxWC9/35de76d0-1e20-49c2-b3ab-960a11048ab3.png) ![Screenshot 2024-12-18 at 2.04.58 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AMCzR6ldnuRamjbkxWC9/8faa24f8-fd91-42b5-83b6-35c9ef5b543f.png) GitOrigin-RevId: e47d5551748abf3f0dca95ee115d830e69b52ff3
- Loading branch information
Showing
3 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export function CashAppBadge() { | ||
return ( | ||
<svg | ||
width="400" | ||
height="400" | ||
viewBox="0 0 400 400" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M0 192C0 124.794 0 91.1906 13.0792 65.5211C24.584 42.9417 42.9417 24.584 65.5211 13.0792C91.1906 0 124.794 0 192 0H208C275.206 0 308.809 0 334.479 13.0792C357.058 24.584 375.416 42.9417 386.921 65.5211C400 91.1906 400 124.794 400 192V208C400 275.206 400 308.809 386.921 334.479C375.416 357.058 357.058 375.416 334.479 386.921C308.809 400 275.206 400 208 400H192C124.794 400 91.1906 400 65.5211 386.921C42.9417 375.416 24.584 357.058 13.0792 334.479C0 308.809 0 275.206 0 208V192Z" | ||
fill="#00D64F" | ||
/> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M210.392 130.477C231.119 130.477 250.985 138.87 263.965 150.39C267.248 153.305 272.162 153.287 275.243 150.165L290.687 134.501C293.945 131.195 293.826 125.782 290.307 122.761C279.944 113.852 266.031 105.091 248.907 99.4822L253.751 76.4171C254.801 71.3898 250.973 66.6652 245.833 66.6652L215.989 66.6652C212.173 66.6652 208.873 69.3362 208.078 73.0695L203.715 93.5823C164.043 95.5648 130.419 115.359 130.419 155.975C130.419 191.137 158.238 206.207 187.6 216.635C215.42 227.064 230.098 230.934 230.098 245.612C230.098 260.682 215.42 269.568 193.779 269.568C174.05 269.568 153.383 263.056 137.345 247.244C134.199 244.14 129.166 244.116 126.02 247.221L109.425 263.591C106.178 266.79 106.208 272.049 109.478 275.218C122.418 287.777 138.799 296.87 157.496 301.963L152.943 323.331C151.881 328.34 155.674 333.065 160.802 333.106L190.693 333.332C194.539 333.361 197.88 330.673 198.664 326.904L202.979 306.361C250.48 303.429 279.552 277.61 279.552 239.819C279.552 205.05 250.581 190.365 215.42 178.388C195.328 171.04 177.937 166.024 177.937 150.96C177.937 136.282 194.171 130.477 210.392 130.477" | ||
fill="white" | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
export function LogoIssuanceDark() { | ||
return ( | ||
<svg | ||
width="227" | ||
height="28" | ||
viewBox="0 0 227 28" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M37.0808 17.9506H32.4854V9.5856H31.3003V19.1099H38.259V14.8432H37.0808V17.9506Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M41.952 10.7382H44.453V17.9506H41.952V19.1099H48.1045V17.9506H45.638V10.7382H48.1045V9.5856H41.952V10.7382Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M58.0602 17.9506H55.5178C54.2501 17.9506 53.8023 17.7484 53.6438 17.6338C53.4027 17.4518 53.2855 17.0946 53.2855 16.5755V12.1538C53.2855 11.6213 53.3958 11.2371 53.6163 11.0483C53.7472 10.9338 54.133 10.7383 55.2009 10.7383H58.5011V9.57892H55.2009C54.009 9.57892 53.2373 9.77439 52.7826 10.1856C52.3348 10.5967 52.1074 11.2573 52.1074 12.147V16.5688C52.1074 16.9867 52.1556 17.3507 52.2521 17.654C52.3623 18.0113 52.569 18.3079 52.8722 18.537C53.1478 18.746 53.5198 18.901 53.9745 18.9886C54.381 19.0695 54.9046 19.11 55.5247 19.11H59.2452V14.9376H58.0602V17.9506Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M70.0484 13.7647H64.8742V9.5856H63.6892V19.1099H64.8742V14.9241H70.0484V19.1099H71.2334V9.5856H70.0484V13.7647Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M74.9883 10.7382H78.2954V19.1099H79.4804V10.7382H82.7875V9.5856H74.9883V10.7382Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M91.255 14.0613L87.8377 13.3805C87.693 13.3535 87.5896 13.3131 87.5139 13.2322C87.5139 13.2322 87.4381 13.1446 87.4381 12.8143V11.5201C87.4381 11.2909 87.5139 11.1224 87.6792 10.9741C87.8515 10.8191 88.0857 10.745 88.4164 10.745H92.5089V9.5856H88.4164C87.7895 9.5856 87.2727 9.7676 86.88 10.1181C86.4666 10.4821 86.2599 10.9539 86.2599 11.5201V12.8143C86.2599 13.394 86.3977 13.8052 86.6871 14.068C86.9351 14.2972 87.2521 14.4455 87.6241 14.5196L91.0208 15.2004C91.2206 15.2409 91.3721 15.315 91.4755 15.4229C91.4893 15.4363 91.5995 15.5712 91.5995 16.0969V17.0136C91.5995 17.2967 91.5099 17.5057 91.317 17.6809C91.1172 17.8629 90.8416 17.9506 90.4765 17.9506H85.9499V19.1099H90.4765C91.1585 19.1099 91.7166 18.9144 92.1369 18.5235C92.564 18.1258 92.7776 17.6203 92.7776 17.0136V16.0969C92.7776 15.4094 92.6261 14.9241 92.316 14.614C92.0335 14.3309 91.6753 14.1489 91.255 14.0613Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M103.429 10.3675C103.202 10.1181 102.885 9.91589 102.485 9.78108C102.113 9.65301 101.638 9.5856 101.08 9.5856H97.0837V19.1099H98.2687V16.0026H101.08C101.638 16.0026 102.113 15.9419 102.478 15.8206C102.878 15.6857 103.195 15.497 103.429 15.2476C103.657 15.005 103.815 14.7084 103.905 14.3646C103.98 14.068 104.015 13.7445 104.015 13.4007V12.2346C104.015 11.8909 103.98 11.5673 103.905 11.264C103.822 10.9202 103.663 10.6236 103.436 10.3675H103.429ZM98.2618 10.7382H101.073C101.486 10.7382 101.817 10.7787 102.058 10.8596C102.272 10.9337 102.43 11.0213 102.527 11.1359C102.63 11.2505 102.706 11.3921 102.747 11.5538C102.795 11.756 102.823 11.9852 102.823 12.2279V13.394C102.823 13.6366 102.795 13.8591 102.747 14.0545C102.706 14.2163 102.637 14.3377 102.534 14.4522C102.43 14.5601 102.279 14.6477 102.065 14.7151C101.824 14.796 101.486 14.8297 101.073 14.8297H98.2618V10.7315V10.7382Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M114.921 13.5355L113.805 10.9539C113.661 10.6169 113.502 10.3271 113.337 10.0979C113.164 9.86196 112.827 9.5856 112.172 9.5856H110.588C109.919 9.5856 109.575 9.86196 109.403 10.0911C109.224 10.3271 109.072 10.6102 108.934 10.9472L107.901 13.549C107.804 13.8052 107.728 14.068 107.68 14.3444C107.625 14.6208 107.598 14.9308 107.598 15.2544V19.1167H108.783V16.4002H114.053V19.1167H115.238V15.2544C115.238 14.9308 115.211 14.6275 115.156 14.3444C115.101 14.068 115.025 13.7984 114.928 13.5423L114.921 13.5355ZM110.333 10.7989C110.333 10.7989 110.429 10.7382 110.588 10.7382H112.172C112.241 10.7382 112.358 10.745 112.4 10.7989C112.51 10.9539 112.62 11.1561 112.724 11.3988L113.826 13.94C113.895 14.1287 113.95 14.3376 113.991 14.5533C114.033 14.7623 114.053 14.9915 114.053 15.2341H108.783C108.783 14.9847 108.803 14.7556 108.845 14.5533C108.886 14.3376 108.941 14.1354 109.003 13.9602L110.037 11.3718C110.126 11.1427 110.229 10.9539 110.34 10.7989H110.333Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M125.917 14.4388C125.917 14.4388 125.945 14.3781 125.959 14.3512C126.11 13.9805 126.193 13.5154 126.193 12.9694V11.8774C126.193 11.2438 126 10.6978 125.614 10.2664C125.215 9.80809 124.615 9.57892 123.837 9.57892H119.648V19.1032H120.833V15.4431H124.891C125.366 15.4431 125.711 15.5308 125.904 15.6993C126.083 15.8611 126.172 16.1172 126.172 16.4879V19.1032H127.357V16.4879C127.357 15.8004 127.137 15.2544 126.71 14.8635C126.496 14.6747 126.234 14.5332 125.924 14.4388H125.917ZM123.837 10.7383C124.25 10.7383 124.546 10.8326 124.719 11.0281C124.911 11.2438 125.001 11.5134 125.001 11.8842V12.9896C125.001 13.4614 124.918 13.8187 124.753 14.0479C124.636 14.2164 124.305 14.3107 123.83 14.3107H120.819V10.745H123.83L123.837 10.7383Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M138.443 14.25C138.05 13.9534 137.492 13.7984 136.776 13.7849L138.629 9.5856H137.341L135.487 13.7849H132.828V9.5856H131.643V19.1099H132.828V14.9443H136.658C137.134 14.9443 137.492 15.0184 137.699 15.1667C137.761 15.2072 137.94 15.3352 137.94 15.834V19.1099H139.125V15.834C139.125 15.1263 138.898 14.5938 138.443 14.25Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M11.7815 14.9235H3.25886L15.2953 4.61724L12.939 9.61194H14.2894L18.8228 0L0 16.1233H11.2165L11.7815 14.9235Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M11.8711 11.8767L11.3061 13.0766H19.8287L7.79233 23.3828L10.1486 18.3881H8.79823L4.26477 28L23.0876 11.8767H11.8711Z" | ||
fill="white" | ||
/> | ||
<rect x="151.125" y="4" width="1" height="20" fill="#262626" /> | ||
<path | ||
d="M165.595 19V9.2H166.995V19H165.595ZM171.791 19.084C171.175 19.084 170.587 19 170.027 18.832C169.476 18.664 169.042 18.4587 168.725 18.216L169.285 17.152C169.602 17.3667 169.994 17.5487 170.461 17.698C170.928 17.8473 171.404 17.922 171.889 17.922C172.514 17.922 172.962 17.8333 173.233 17.656C173.513 17.4787 173.653 17.2313 173.653 16.914C173.653 16.6807 173.569 16.4987 173.401 16.368C173.233 16.2373 173.009 16.1393 172.729 16.074C172.458 16.0087 172.155 15.9527 171.819 15.906C171.483 15.85 171.147 15.7847 170.811 15.71C170.475 15.626 170.167 15.514 169.887 15.374C169.607 15.2247 169.383 15.024 169.215 14.772C169.047 14.5107 168.963 14.1653 168.963 13.736C168.963 13.288 169.089 12.896 169.341 12.56C169.593 12.224 169.948 11.9673 170.405 11.79C170.872 11.6033 171.422 11.51 172.057 11.51C172.542 11.51 173.032 11.5707 173.527 11.692C174.031 11.804 174.442 11.9673 174.759 12.182L174.185 13.246C173.849 13.022 173.499 12.868 173.135 12.784C172.771 12.7 172.407 12.658 172.043 12.658C171.455 12.658 171.016 12.756 170.727 12.952C170.438 13.1387 170.293 13.3813 170.293 13.68C170.293 13.932 170.377 14.128 170.545 14.268C170.722 14.3987 170.946 14.5013 171.217 14.576C171.497 14.6507 171.805 14.716 172.141 14.772C172.477 14.8187 172.813 14.884 173.149 14.968C173.485 15.0427 173.788 15.15 174.059 15.29C174.339 15.43 174.563 15.626 174.731 15.878C174.908 16.13 174.997 16.466 174.997 16.886C174.997 17.334 174.866 17.7213 174.605 18.048C174.344 18.3747 173.975 18.6313 173.499 18.818C173.023 18.9953 172.454 19.084 171.791 19.084ZM178.735 19.084C178.119 19.084 177.531 19 176.971 18.832C176.42 18.664 175.986 18.4587 175.669 18.216L176.229 17.152C176.546 17.3667 176.938 17.5487 177.405 17.698C177.871 17.8473 178.347 17.922 178.833 17.922C179.458 17.922 179.906 17.8333 180.177 17.656C180.457 17.4787 180.597 17.2313 180.597 16.914C180.597 16.6807 180.513 16.4987 180.345 16.368C180.177 16.2373 179.953 16.1393 179.673 16.074C179.402 16.0087 179.099 15.9527 178.763 15.906C178.427 15.85 178.091 15.7847 177.755 15.71C177.419 15.626 177.111 15.514 176.831 15.374C176.551 15.2247 176.327 15.024 176.159 14.772C175.991 14.5107 175.907 14.1653 175.907 13.736C175.907 13.288 176.033 12.896 176.285 12.56C176.537 12.224 176.891 11.9673 177.349 11.79C177.815 11.6033 178.366 11.51 179.001 11.51C179.486 11.51 179.976 11.5707 180.471 11.692C180.975 11.804 181.385 11.9673 181.703 12.182L181.129 13.246C180.793 13.022 180.443 12.868 180.079 12.784C179.715 12.7 179.351 12.658 178.987 12.658C178.399 12.658 177.96 12.756 177.671 12.952C177.381 13.1387 177.237 13.3813 177.237 13.68C177.237 13.932 177.321 14.128 177.489 14.268C177.666 14.3987 177.89 14.5013 178.161 14.576C178.441 14.6507 178.749 14.716 179.085 14.772C179.421 14.8187 179.757 14.884 180.093 14.968C180.429 15.0427 180.732 15.15 181.003 15.29C181.283 15.43 181.507 15.626 181.675 15.878C181.852 16.13 181.941 16.466 181.941 16.886C181.941 17.334 181.81 17.7213 181.549 18.048C181.287 18.3747 180.919 18.6313 180.443 18.818C179.967 18.9953 179.397 19.084 178.735 19.084ZM186.672 19.084C186.038 19.084 185.478 18.9673 184.992 18.734C184.516 18.5007 184.143 18.146 183.872 17.67C183.611 17.1847 183.48 16.578 183.48 15.85V11.58H184.824V15.696C184.824 16.424 184.997 16.97 185.342 17.334C185.697 17.698 186.192 17.88 186.826 17.88C187.293 17.88 187.699 17.7867 188.044 17.6C188.39 17.404 188.656 17.124 188.842 16.76C189.029 16.3867 189.122 15.9387 189.122 15.416V11.58H190.466V19H189.192V16.998L189.402 17.53C189.16 18.0247 188.796 18.4073 188.31 18.678C187.825 18.9487 187.279 19.084 186.672 19.084ZM197.561 19V17.432L197.491 17.138V14.464C197.491 13.8947 197.323 13.456 196.987 13.148C196.66 12.8307 196.166 12.672 195.503 12.672C195.064 12.672 194.635 12.7467 194.215 12.896C193.795 13.036 193.44 13.2273 193.151 13.47L192.591 12.462C192.974 12.154 193.431 11.9207 193.963 11.762C194.504 11.594 195.069 11.51 195.657 11.51C196.674 11.51 197.458 11.7573 198.009 12.252C198.56 12.7467 198.835 13.5027 198.835 14.52V19H197.561ZM195.125 19.084C194.574 19.084 194.089 18.9907 193.669 18.804C193.258 18.6173 192.941 18.3607 192.717 18.034C192.493 17.698 192.381 17.32 192.381 16.9C192.381 16.4987 192.474 16.1347 192.661 15.808C192.857 15.4813 193.17 15.22 193.599 15.024C194.038 14.828 194.626 14.73 195.363 14.73H197.715V15.696H195.419C194.747 15.696 194.294 15.808 194.061 16.032C193.828 16.256 193.711 16.5267 193.711 16.844C193.711 17.208 193.856 17.502 194.145 17.726C194.434 17.9407 194.836 18.048 195.349 18.048C195.853 18.048 196.292 17.936 196.665 17.712C197.048 17.488 197.323 17.1613 197.491 16.732L197.757 17.656C197.58 18.0947 197.267 18.4447 196.819 18.706C196.371 18.958 195.806 19.084 195.125 19.084ZM205.214 11.51C205.821 11.51 206.353 11.6267 206.81 11.86C207.277 12.0933 207.641 12.448 207.902 12.924C208.163 13.4 208.294 14.002 208.294 14.73V19H206.95V14.884C206.95 14.1653 206.773 13.624 206.418 13.26C206.073 12.896 205.583 12.714 204.948 12.714C204.472 12.714 204.057 12.8073 203.702 12.994C203.347 13.1807 203.072 13.456 202.876 13.82C202.689 14.184 202.596 14.6367 202.596 15.178V19H201.252V11.58H202.54V13.582L202.33 13.05C202.573 12.5647 202.946 12.1867 203.45 11.916C203.954 11.6453 204.542 11.51 205.214 11.51ZM213.945 19.084C213.189 19.084 212.513 18.9207 211.915 18.594C211.327 18.2673 210.865 17.8193 210.529 17.25C210.193 16.6807 210.025 16.0273 210.025 15.29C210.025 14.5527 210.193 13.8993 210.529 13.33C210.865 12.7607 211.327 12.3173 211.915 12C212.513 11.6733 213.189 11.51 213.945 11.51C214.617 11.51 215.215 11.6453 215.737 11.916C216.269 12.1773 216.68 12.5693 216.969 13.092L215.947 13.75C215.705 13.386 215.406 13.12 215.051 12.952C214.706 12.7747 214.333 12.686 213.931 12.686C213.446 12.686 213.012 12.7933 212.629 13.008C212.247 13.2227 211.943 13.526 211.719 13.918C211.495 14.3007 211.383 14.758 211.383 15.29C211.383 15.822 211.495 16.284 211.719 16.676C211.943 17.068 212.247 17.3713 212.629 17.586C213.012 17.8007 213.446 17.908 213.931 17.908C214.333 17.908 214.706 17.824 215.051 17.656C215.406 17.4787 215.705 17.208 215.947 16.844L216.969 17.488C216.68 18.0013 216.269 18.398 215.737 18.678C215.215 18.9487 214.617 19.084 213.945 19.084ZM221.834 19.084C221.041 19.084 220.341 18.9207 219.734 18.594C219.137 18.2673 218.67 17.8193 218.334 17.25C218.007 16.6807 217.844 16.0273 217.844 15.29C217.844 14.5527 218.003 13.8993 218.32 13.33C218.647 12.7607 219.09 12.3173 219.65 12C220.219 11.6733 220.859 11.51 221.568 11.51C222.287 11.51 222.921 11.6687 223.472 11.986C224.023 12.3033 224.452 12.7513 224.76 13.33C225.077 13.8993 225.236 14.5667 225.236 15.332C225.236 15.388 225.231 15.4533 225.222 15.528C225.222 15.6027 225.217 15.6727 225.208 15.738H218.894V14.772H224.508L223.962 15.108C223.971 14.632 223.873 14.2073 223.668 13.834C223.463 13.4607 223.178 13.1713 222.814 12.966C222.459 12.7513 222.044 12.644 221.568 12.644C221.101 12.644 220.686 12.7513 220.322 12.966C219.958 13.1713 219.673 13.4653 219.468 13.848C219.263 14.2213 219.16 14.6507 219.16 15.136V15.36C219.16 15.8547 219.272 16.298 219.496 16.69C219.729 17.0727 220.051 17.3713 220.462 17.586C220.873 17.8007 221.344 17.908 221.876 17.908C222.315 17.908 222.711 17.8333 223.066 17.684C223.43 17.5347 223.747 17.3107 224.018 17.012L224.76 17.88C224.424 18.272 224.004 18.5707 223.5 18.776C223.005 18.9813 222.45 19.084 221.834 19.084Z" | ||
fill="white" | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters