Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(website): add MES protocol to ecosystem #14593

Merged
merged 4 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.