Skip to content

Commit

Permalink
fix(ui-ux): changed Cake Defi to Bake (#711)
Browse files Browse the repository at this point in the history
* removed old me]ta-chain folder

* changed to Bake for exchanges
  • Loading branch information
nattadex authored Jul 10, 2023
1 parent 8e1ac60 commit 990b320
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 127 deletions.
4 changes: 2 additions & 2 deletions cypress/deprecated/dfi.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ context("/dfi page on desktop", () => {
.should("have.text", "Staking");
cy.findByTestId("DfiPage.Staking.Text").should("be.visible");
cy.findByTestId("DfiPage.Staking.Kucoin").should("be.visible");
cy.findByTestId("DfiPage.Staking.Cakedefi").should("be.visible");
cy.findByTestId("DfiPage.Staking.Bake").should("be.visible");
cy.findByTestId("DfiPage.Staking.Lock").should("be.visible");
});
});
Expand Down Expand Up @@ -161,7 +161,7 @@ context("/dfi page on mobile", () => {
.should("have.text", "Staking");
cy.findByTestId("DfiPage.Staking.Text").should("be.visible");
cy.findByTestId("DfiPage.Staking.Kucoin").should("be.visible");
cy.findByTestId("DfiPage.Staking.Cakedefi").should("be.visible");
cy.findByTestId("DfiPage.Staking.Bake").should("be.visible");
});
});
});
36 changes: 36 additions & 0 deletions src/components/icons/assets/exchanges/Bake.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
export default function Bake(): JSX.Element {
return (
<svg
width="85"
height="27"
viewBox="0 0 85 27"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M46.31 14.9042C46.31 10.6866 48.9291 8.4387 51.6958 8.4387C53.3828 8.4387 54.8294 9.21894 55.8036 10.6445V8.84358C55.8036 8.7508 55.8795 8.67488 55.9723 8.67488H58.448C58.5408 8.67488 58.6167 8.7508 58.6167 8.84358V20.9226C58.6167 21.0153 58.5408 21.0913 58.448 21.0913H55.9723C55.8795 21.0913 55.8036 21.0153 55.8036 20.9226V19.4253C54.8969 20.6779 53.5346 21.3485 51.8687 21.3485C48.6001 21.3485 46.31 18.7084 46.31 14.9042ZM55.8036 14.9042C55.8036 12.5255 54.4414 10.9228 52.4718 10.9228C50.5022 10.9228 49.1821 12.5466 49.1821 14.8831C49.1821 17.2196 50.5444 18.8644 52.4929 18.8644C54.4414 18.8644 55.8036 17.2618 55.8036 14.9042Z"
fill="white"
/>
<path
d="M39.1232 21.349C37.4573 21.349 36.095 20.6784 35.1883 19.4258V20.923C35.1883 21.0158 35.1124 21.0917 35.0196 21.0917H32.5439C32.4511 21.0917 32.3752 21.0158 32.3752 20.923V5.20853C32.3752 5.11574 32.4511 5.03983 32.5439 5.03983H35.0196C35.1124 5.03983 35.1883 5.11574 35.1883 5.20853V10.6407C36.1625 9.21517 37.6091 8.43493 39.2961 8.43493C42.0628 8.43493 44.6819 10.6829 44.6819 14.9004C44.6819 18.7088 42.3876 21.3448 39.1232 21.3448V21.349ZM38.4948 18.8606C40.4391 18.8606 41.8056 17.258 41.8056 14.8793C41.8056 12.5428 40.4855 10.9191 38.5159 10.9191C36.5463 10.9191 35.1841 12.5217 35.1841 14.9004C35.1841 17.258 36.5463 18.8606 38.4948 18.8606Z"
fill="white"
/>
<path
d="M64.0404 5.20853C64.0404 5.11574 63.9645 5.03983 63.8717 5.03983H61.396C61.3032 5.03983 61.2273 5.11574 61.2273 5.20853V20.9188C61.2273 21.0116 61.3032 21.0875 61.396 21.0875H63.8717C63.9645 21.0875 64.0404 21.0116 64.0404 20.9188V16.482C64.0404 16.1403 64.2597 15.8367 64.5802 15.7228C64.9008 15.6089 65.2593 15.7144 65.4701 15.9801L69.6202 20.9652C69.6834 21.0411 69.7804 21.0875 69.8774 21.0875H72.8128C72.9562 21.0875 73.0322 20.9188 72.9436 20.8091L67.7139 14.5461L72.1001 8.96634C72.1887 8.85668 72.1085 8.6922 71.9693 8.6922H69.2111C69.1099 8.6922 69.0129 8.73859 68.9496 8.81873L65.4701 13.1122C65.2593 13.3779 64.9008 13.4791 64.5802 13.3694C64.2597 13.2556 64.0446 12.9519 64.0446 12.6145V5.21275L64.0404 5.20853Z"
fill="white"
/>
<path
d="M78.7384 8.439C74.9975 8.439 72.5724 11.0328 72.5724 14.9045C72.5724 18.7761 75.1029 21.3488 78.8228 21.3488C81.3533 21.3488 83.2891 20.1131 84.2465 17.8862C84.2845 17.7935 84.2381 17.6838 84.1453 17.6543L81.9142 16.874C81.8299 16.8445 81.7371 16.8909 81.7033 16.9753C81.2436 18.211 80.2483 18.9027 78.8649 18.9027C76.9207 18.9027 75.5795 17.5193 75.512 15.6805H84.4785C84.567 15.6805 84.6472 15.6088 84.6514 15.516C84.9255 11.1973 82.6017 8.43478 78.7342 8.43478L78.7384 8.439ZM75.6259 13.4115C75.841 11.8763 77.0303 10.8599 78.7173 10.8599C80.4043 10.8599 81.5304 11.8552 81.7244 13.4115H75.6259Z"
fill="white"
/>
<path
d="M13.5439 15.0856C15.0496 14.5585 15.0496 12.4286 13.5439 11.9014L3.13503 8.25748C2.27044 7.95381 1.29619 8.39244 1.0094 9.26547C0.136371 11.8972 0.0688905 14.8242 0.992529 17.6626C1.28354 18.5567 2.24935 19.0332 3.13925 18.7254L13.5481 15.0814L13.5439 15.0856Z"
fill="white"
/>
<path
d="M15.4882 0.100779C11.0683 -0.430629 7.01101 1.18047 4.20635 4.03151C3.8563 4.38578 3.98704 4.98889 4.4594 5.15337L6.25185 5.78178C6.68204 5.93361 7.16284 5.87035 7.51711 5.58777C9.33065 4.13695 11.6503 3.29344 14.1724 3.38201C19.4021 3.56336 23.7419 7.89054 23.9317 13.1203C24.1426 18.8814 19.5328 23.6219 13.8181 23.6219C11.4436 23.6219 9.2716 22.7995 7.54663 21.4288C7.19236 21.1462 6.72421 21.045 6.29824 21.1968L4.4594 21.8421C3.98704 22.0066 3.85208 22.6055 4.20213 22.964C6.6483 25.4523 10.0518 27.0001 13.8181 27.0001C21.7808 27.0001 28.1324 20.1045 27.2298 11.9604C26.5466 5.82396 21.6205 0.84728 15.4882 0.109214V0.100779Z"
fill="white"
/>
</svg>
);
}
31 changes: 0 additions & 31 deletions src/components/icons/assets/exchanges/Cakedefi.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/icons/assets/exchanges/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Latoken from "./Latoken";
import Bitmart from "./Bitmart";
import EasycryptoAu from "./EasycryptoAu";
import EasycryptoNz from "./EasycryptoNz";
import Cakedefi from "./Cakedefi";
import Bake from "./Bake";
import Lock from "./Lock";

const mapping: Record<string, (props: SVGProps<SVGSVGElement>) => JSX.Element> =
Expand All @@ -30,7 +30,7 @@ const mapping: Record<string, (props: SVGProps<SVGSVGElement>) => JSX.Element> =
Bitmart,
EasycryptoAu,
EasycryptoNz,
Cakedefi,
Bake,
Lock,
};

Expand Down
6 changes: 3 additions & 3 deletions src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export default function GetDFISectionExchanges() {
url: "https://www.kucoin.com/earn/finance/list",
},
{
id: "GetDFISection.Staking.Cakedefi",
name: "Cakedefi",
url: "https://cakedefi.com/",
id: "GetDFISection.Staking.Bake",
name: "Bake",
url: "https://bake.io/",
},
{
id: "GetDFISection.Staking.Lock",
Expand Down
89 changes: 0 additions & 89 deletions src/pages/meta-chain/_components/MetaChainFAQ.tsx

This file was deleted.

0 comments on commit 990b320

Please sign in to comment.