Skip to content

Commit

Permalink
feat(website): add MES protocol to ecosystem (#14593)
Browse files Browse the repository at this point in the history
Co-authored-by: dave | d1onys1us <[email protected]>
  • Loading branch information
2manslkh and dionysuzx authored Aug 30, 2023
1 parent bdc9c43 commit 9812f1f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions packages/website/components/Ecosystem/EcosystemSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ const ecosystemData: EcosystemData[] = [
filters: [],
isLive: true,
},
{
icon: "/images/ecosystem/mesprotocol.png",
name: "MES Protocol",
link: "https://www.mesprotocol.com/",
description:
"MES is a cross-rollup orderbook DEX.",
filters: [],
isLive: false,
},
{
icon: "/images/ecosystem/mintpad.jpeg",
name: "Mintpad",
Expand Down Expand Up @@ -455,15 +464,13 @@ export function EcosystemSection() {
function FilterLabel({ text, activeFilter, setActiveFilter }) {
const isActive = activeFilter === text;

const buttonStyles = `border rounded-full py-1 px-4 text-sm focus:outline-none transition-colors duration-200 font-bold ${
isActive
? "bg-gray-300 text-black"
: "bg-white text-gray-700 dark:bg-black dark:text-gray-300"
} ${
isActive
const buttonStyles = `border rounded-full py-1 px-4 text-sm focus:outline-none transition-colors duration-200 font-bold ${isActive
? "bg-gray-300 text-black"
: "bg-white text-gray-700 dark:bg-black dark:text-gray-300"
} ${isActive
? "hover:bg-gray-400"
: "hover:bg-neutral-100 dark:hover:bg-neutral-800"
}`;
}`;

return (
<button className={buttonStyles} onClick={() => setActiveFilter(text)}>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9812f1f

Please sign in to comment.