Skip to content

Commit

Permalink
Merge Correct cfx.re logo (mr-616)
Browse files Browse the repository at this point in the history
685bd88 - fix(ext/cfx-ui): correct cfx.re logo
  • Loading branch information
prikolium-cfx committed Dec 2, 2024
2 parents e506c1c + 685bd88 commit 9093afa
Showing 1 changed file with 64 additions and 67 deletions.
131 changes: 64 additions & 67 deletions ext/cfx-ui/src/cfx/apps/mpMenu/parts/AuthModal/AuthModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,91 +260,88 @@ const ExternalAuthSuccess = observer(function ExternalAuthSuccess(props: Externa
// TODO: Remove once we have that in the UI components library
function CompositeCfxLogo() {
return (
<svg
viewBox="0 0 390 82"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<svg viewBox="0 0 475 82" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M113 0H117V81H113V0Z" fill="currentColor" />
<path
// eslint-disable-next-line @stylistic/max-len
d="M9.30157 12L31.082 12.0516C35.6343 12.0172 39.0333 12.7374 41.2775 14.2109C44.0202 16.0172 45.3893 19.1234 45.3893 23.5308C45.3893 30.7877 41.9904 34.8996 35.1924 35.8651V35.967C38.19 36.7059 39.7055 39.1636 39.7389 43.34C39.7389 45.4792 39.6577 48.2195 39.4969 51.5595C39.4969 53.8006 39.975 55.7389 40.9342 57.3745H28.9986C28.4408 56.7762 28.1626 55.5581 28.1626 53.7174C28.3915 50.6413 28.5045 48.1191 28.5045 46.1492C28.5045 42.1707 26.5732 40.1808 22.7121 40.1808H14.9897L11.6212 56.274H0L9.30157 12ZM19.1551 21.2267L16.9239 31.9096H26.1849C31.3616 31.9096 33.9652 29.8867 34 25.8407C34 22.7647 31.905 21.2267 27.7149 21.2267H19.1551Z"
fill="currentColor"
d="M113 0H117V81H113V0Z"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M53.4565 57.4247L51.134 42.5337L42.5163 57.3228L28.9015 57.2812L37.3178 66.2539L30.0968 82L45.5342 72.7217L57.0178 81.6442L54.8937 66.8551L68.1579 57.4247H53.4565ZM54.1505 76.6829L45.6835 70.1133L34.9432 76.5294L39.891 65.8465L33.9073 59.4806H43.7536L49.9387 48.8063L51.6266 59.5825H61.3715L52.5626 65.7963L54.1505 76.6829Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M9.30157 12L31.082 12.0516C35.6343 12.0172 39.0333 12.7374 41.2775 14.2109C44.0202 16.0172 45.3893 19.1234 45.3893 23.5308C45.3893 30.7877 41.9904 34.8996 35.1924 35.8651V35.967C38.19 36.7059 39.7055 39.1636 39.7389 43.34C39.7389 45.4792 39.6577 48.2195 39.4969 51.5595C39.4969 53.8006 39.975 55.7389 40.9342 57.3745H28.9986C28.4408 56.7762 28.1626 55.5581 28.1626 53.7174C28.3915 50.6413 28.5045 48.1191 28.5045 46.1492C28.5045 42.1707 26.5732 40.1808 22.7121 40.1808H14.9897L11.6212 56.274H0L9.30157 12ZM19.1551 21.2267L16.9239 31.9096H26.1849C31.3616 31.9096 33.9652 29.8867 34 25.8407C34 22.7647 31.905 21.2267 27.7149 21.2267H19.1551Z"
d="M229.499 9H217.02L218.054 21.8535H206.645L207.679 9H195.306L165 73H202.491L203.721 57.7933H220.96L222.19 73H259.788L229.481 9H229.499ZM204.594 47.2039L206.217 27.2017H218.5L220.122 47.2039H204.594Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M304.767 69C297.498 69 291.546 66.4685 286.927 61.4056C282.309 56.3256 280 49.5351 280 41C280 32.4649 282.309 25.6744 286.927 20.5944C291.546 15.5315 297.481 13 304.767 13C310.395 13 315.269 14.5394 319.409 17.584C323.548 20.6286 326.268 25.2639 327.567 31.4386H321.17C320.007 27.0257 317.989 23.81 315.081 21.8088C312.173 19.8076 308.735 18.7984 304.767 18.7984C299.294 18.7984 294.915 20.7654 291.597 24.6995C288.279 28.6335 286.637 34.0727 286.637 41C286.637 47.9273 288.296 53.3494 291.597 57.3005C294.915 61.2346 299.294 63.2016 304.767 63.2016C308.889 63.2016 312.55 61.9359 315.748 59.4044C318.964 56.8729 320.897 53.1784 321.547 48.3036H327.875C327.225 54.923 324.694 60.0373 320.281 63.6121C315.868 67.204 310.703 69 304.784 69H304.767Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M53.4565 57.4247L51.134 42.5337L42.5163 57.3228L28.9015 57.2812L37.3178 66.2539L30.0968 82L45.5342 72.7217L57.0178 81.6442L54.8937 66.8551L68.1579 57.4247H53.4565ZM54.1505 76.6829L45.6835 70.1133L34.9432 76.5294L39.891 65.8465L33.9073 59.4806H43.7536L49.9387 48.8063L51.6266 59.5825H61.3715L52.5626 65.7963L54.1505 76.6829Z"
d="M350.368 19.3286C346.913 19.3286 345.168 21.1588 345.168 24.8192V28.9585H353.447V34.2266H345.168V67.7856H339.147V34.2266H332.75V28.9585H339.147V24.9731C339.147 17.7037 342.756 14.0605 349.991 14.0605C351.343 14.0605 352.626 14.1118 353.823 14.2144V19.3286H350.368Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M392.667 28.9585L378.59 47.9273L393.42 67.8027H386.338L384.235 64.8607C381.019 60.2938 377.991 56.0861 375.135 52.2205C370.927 57.8992 367.831 62.124 365.881 64.9462L363.846 67.8027H356.85L371.68 47.9273L357.603 28.9585H364.684L367.695 33.0977C370.654 37.1173 373.168 40.6237 375.221 43.6341C377.786 40.025 380.283 36.5015 382.746 33.0977L385.688 28.9585H392.684H392.667Z"
fill="currentColor"
/>
<path d="M406.282 67.7856H398.688V60.2596H406.282V67.7856Z" fill="currentColor" />
<path
// eslint-disable-next-line @stylistic/max-len
d="M433.906 28.3598C434.71 28.3598 435.394 28.3769 435.941 28.4282V34.2266H434.436C430.468 34.2266 427.355 35.2016 425.097 37.1686C422.839 39.1185 421.71 41.9578 421.71 45.6695V67.8027H415.69V28.9585H421.403V35.8002C424.054 30.84 428.227 28.3427 433.889 28.3427L433.906 28.3598Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M457.014 68.6921C451.643 68.6921 447.299 66.8619 443.963 63.2016C440.628 59.5412 438.952 54.598 438.952 48.372C438.952 42.146 440.594 37.3396 443.878 33.628C447.162 29.9163 451.489 28.0519 456.86 28.0519C462.231 28.0519 466.798 29.9847 469.962 33.8503C473.126 37.7159 474.7 42.5565 474.7 48.372V50.4759H445.195C445.503 54.7349 446.683 57.9334 448.77 60.0373C450.856 62.1411 453.644 63.2016 457.168 63.2016C462.539 63.2016 465.977 60.7899 467.482 55.9835H473.725C472.716 59.7978 470.8 62.8766 467.961 65.2028C465.122 67.529 461.478 68.7092 457.014 68.7092V68.6921ZM445.349 45.0538H468.235C467.927 41.7013 466.798 38.9304 464.814 36.7752C462.83 34.62 460.178 33.5425 456.877 33.5425C453.764 33.5425 451.199 34.5174 449.163 36.4844C447.128 38.4343 445.862 41.3079 445.366 45.0709L445.349 45.0538Z"
fill="currentColor"
/>
<g clipPath="url(#clip0_1099_177)">
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M227.499 9H215.02L216.054 21.8535H204.645L205.679 9H193.306L163 73H200.491L201.721 57.7933H218.96L220.19 73H257.788L227.481 9H227.499ZM202.594 47.2039L204.217 27.2017H216.5L218.122 47.2039H202.594Z"
/>
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M300.77 69C293.5 69 287.548 66.4685 282.93 61.4056C278.312 56.3256 276.002 49.5351 276.002 41C276.002 32.4649 278.312 25.6744 282.93 20.5944C287.548 15.5315 293.483 13 300.77 13C306.397 13 311.272 14.5394 315.411 17.584C319.55 20.6286 322.27 25.2639 323.57 31.4386H317.173C316.01 27.0257 313.991 23.81 311.084 21.8088C308.176 19.8076 304.738 18.7984 300.77 18.7984C295.296 18.7984 290.918 20.7654 287.599 24.6995C284.281 28.6335 282.639 34.0727 282.639 41C282.639 47.9273 284.298 53.3494 287.599 57.3005C290.918 61.2346 295.296 63.2016 300.77 63.2016C304.892 63.2016 308.552 61.9359 311.751 59.4044C314.966 56.8729 316.899 53.1784 317.549 48.3036H323.878C323.228 54.923 320.696 60.0373 316.283 63.6121C311.87 67.204 306.705 69 300.787 69H300.77Z"
/>
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M346.37 19.3286C342.915 19.3286 341.17 21.1588 341.17 24.8192V28.9585H349.449V34.2266H341.17V67.7856H335.15V34.2266H328.753V28.9585H335.15V24.9731C335.15 17.7037 338.759 14.0605 345.994 14.0605C347.345 14.0605 348.628 14.1118 349.825 14.2144V19.3286H346.37Z"
/>
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M388.67 28.9585L374.593 47.9273L389.422 67.8027H382.341L380.237 64.8607C377.021 60.2938 373.994 56.0861 371.137 52.2205C366.93 57.8992 363.834 62.124 361.884 64.9462L359.849 67.8027H352.853L367.682 47.9273L353.605 28.9585H360.687L363.697 33.0977C366.656 37.1173 369.17 40.6237 371.223 43.6341C373.789 40.025 376.286 36.5015 378.749 33.0977L381.691 28.9585H388.687H388.67Z"
/>
</g>
<defs>
<clipPath id="clip0_1099_177">
<rect width="224.003" height="74" fill="currentColor" transform="translate(165 4)" />
</clipPath>
</defs>
</svg>
);
}

// TODO: Remove once we have that in the UI components library
function CfxLogo() {
return (
<svg
viewBox="0 0 224 74"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_1099_125)">
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M62.4992 5H50.0201L51.054 17.8535H39.6446L40.6785 5H28.3064L-2 69H35.4908L36.7209 53.7933H53.9599L55.19 69H92.7877L62.4813 5H62.4992ZM37.5944 43.2039L39.2167 23.2017H51.4997L53.122 43.2039H37.5944Z"
/>
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M135.77 65C128.5 65 122.548 62.4685 117.93 57.4056C113.312 52.3256 111.002 45.5351 111.002 37C111.002 28.4649 113.312 21.6744 117.93 16.5944C122.548 11.5315 128.483 9 135.77 9C141.397 9 146.272 10.5394 150.411 13.584C154.55 16.6286 157.27 21.2639 158.57 27.4386H152.173C151.01 23.0257 148.991 19.81 146.084 17.8088C143.176 15.8076 139.738 14.7984 135.77 14.7984C130.296 14.7984 125.918 16.7654 122.599 20.6995C119.281 24.6335 117.639 30.0727 117.639 37C117.639 43.9273 119.298 49.3494 122.599 53.3005C125.918 57.2346 130.296 59.2016 135.77 59.2016C139.892 59.2016 143.552 57.9359 146.751 55.4044C149.966 52.8729 151.899 49.1784 152.549 44.3036H158.878C158.228 50.923 155.696 56.0373 151.283 59.6121C146.87 63.204 141.705 65 135.787 65H135.77Z"
/>
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M181.37 15.3286C177.915 15.3286 176.17 17.1588 176.17 20.8192V24.9585H184.449V30.2266H176.17V63.7856H170.15V30.2266H163.753V24.9585H170.15V20.9731C170.15 13.7037 173.759 10.0605 180.994 10.0605C182.345 10.0605 183.628 10.1118 184.825 10.2144V15.3286H181.37Z"
/>
<path
fill="currentColor"
// eslint-disable-next-line @stylistic/max-len
d="M223.67 24.9585L209.593 43.9273L224.422 63.8027H217.341L215.237 60.8607C212.021 56.2938 208.994 52.0861 206.137 48.2205C201.93 53.8992 198.834 58.124 196.884 60.9462L194.849 63.8027H187.853L202.682 43.9273L188.605 24.9585H195.687L198.697 29.0977C201.656 33.1173 204.17 36.6237 206.223 39.6341C208.789 36.025 211.286 32.5015 213.749 29.0977L216.691 24.9585H223.687H223.67Z"
/>
</g>
<defs>
<clipPath id="clip0_1099_125">
<rect width="224.003" height="74" fill="currentColor" />
</clipPath>
</defs>
<svg viewBox="0 0 310 74" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
// eslint-disable-next-line @stylistic/max-len
d="M64.4992 5H52.0201L53.054 17.8535H41.6446L42.6785 5H30.3064L0 69H37.4908L38.7209 53.7933H55.9599L57.19 69H94.7877L64.4813 5H64.4992ZM39.5944 43.2039L41.2167 23.2017H53.4997L55.122 43.2039H39.5944Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M139.767 65C132.498 65 126.546 62.4685 121.927 57.4056C117.309 52.3256 115 45.5351 115 37C115 28.4649 117.309 21.6744 121.927 16.5944C126.546 11.5315 132.481 9 139.767 9C145.395 9 150.269 10.5394 154.409 13.584C158.548 16.6286 161.268 21.2639 162.567 27.4386H156.17C155.007 23.0257 152.989 19.81 150.081 17.8088C147.173 15.8076 143.735 14.7984 139.767 14.7984C134.294 14.7984 129.915 16.7654 126.597 20.6995C123.279 24.6335 121.637 30.0727 121.637 37C121.637 43.9273 123.296 49.3494 126.597 53.3005C129.915 57.2346 134.294 59.2016 139.767 59.2016C143.889 59.2016 147.55 57.9359 150.748 55.4044C153.964 52.8729 155.897 49.1784 156.547 44.3036H162.875C162.225 50.923 159.694 56.0373 155.281 59.6121C150.868 63.204 145.703 65 139.784 65H139.767Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M185.368 15.3286C181.913 15.3286 180.168 17.1588 180.168 20.8192V24.9585H188.447V30.2266H180.168V63.7856H174.147V30.2266H167.75V24.9585H174.147V20.9731C174.147 13.7037 177.756 10.0605 184.991 10.0605C186.343 10.0605 187.626 10.1118 188.823 10.2144V15.3286H185.368Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M227.667 24.9585L213.59 43.9273L228.42 63.8027H221.338L219.235 60.8607C216.019 56.2938 212.991 52.0861 210.135 48.2205C205.927 53.8992 202.831 58.124 200.881 60.9462L198.846 63.8027H191.85L206.68 43.9273L192.603 24.9585H199.684L202.695 29.0977C205.654 33.1173 208.168 36.6237 210.221 39.6341C212.786 36.025 215.283 32.5015 217.746 29.0977L220.688 24.9585H227.684H227.667Z"
fill="currentColor"
/>
<path d="M241.282 63.7856H233.688V56.2596H241.282V63.7856Z" fill="currentColor" />
<path
// eslint-disable-next-line @stylistic/max-len
d="M268.906 24.3598C269.71 24.3598 270.394 24.3769 270.941 24.4282V30.2266H269.436C265.468 30.2266 262.355 31.2016 260.097 33.1686C257.839 35.1185 256.71 37.9578 256.71 41.6695V63.8027H250.69V24.9585H256.403V31.8002C259.054 26.84 263.227 24.3427 268.889 24.3427L268.906 24.3598Z"
fill="currentColor"
/>
<path
// eslint-disable-next-line @stylistic/max-len
d="M292.014 64.6921C286.643 64.6921 282.299 62.8619 278.963 59.2016C275.628 55.5412 273.952 50.598 273.952 44.372C273.952 38.146 275.594 33.3396 278.878 29.628C282.162 25.9163 286.489 24.0519 291.86 24.0519C297.231 24.0519 301.798 25.9847 304.962 29.8503C308.126 33.7159 309.7 38.5565 309.7 44.372V46.4759H280.195C280.503 50.7349 281.683 53.9334 283.77 56.0373C285.856 58.1411 288.644 59.2016 292.168 59.2016C297.539 59.2016 300.977 56.7899 302.482 51.9835H308.725C307.716 55.7978 305.8 58.8766 302.961 61.2028C300.122 63.529 296.478 64.7092 292.014 64.7092V64.6921ZM280.349 41.0538H303.235C302.927 37.7013 301.798 34.9304 299.814 32.7752C297.83 30.62 295.178 29.5425 291.877 29.5425C288.764 29.5425 286.199 30.5174 284.163 32.4844C282.128 34.4343 280.862 37.3079 280.366 41.0709L280.349 41.0538Z"
fill="currentColor"
/>
</svg>
);
}

0 comments on commit 9093afa

Please sign in to comment.