Skip to content

Commit

Permalink
feat(website): update rubic on ecosystem page
Browse files Browse the repository at this point in the history
  • Loading branch information
2manslkh committed Oct 10, 2023
1 parent 4e92726 commit a48cd01
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/website/components/Ecosystem/EcosystemSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const ecosystemData: EcosystemData[] = [
description:
"Rubic enhances interoperability through network bridging and cross-chain dev tools for omnichain dApps. Users access diverse assets via varied DEXs under a unified interface with optimized cross-chain transactions.",
filters: [],
isLive: false,
isLive: true,
},
{
icon: "/images/ecosystem/rubydex.png",
Expand Down Expand Up @@ -464,13 +464,15 @@ 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

0 comments on commit a48cd01

Please sign in to comment.