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 rubic to ecosystem #14591

Merged
merged 3 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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 @@ -261,6 +261,15 @@ const ecosystemData: EcosystemData[] = [
filters: [],
isLive: true,
},
{
icon: "/images/ecosystem/rubric.png",
name: "Rubric",
link: "https://rubic.exchange/",
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,
d1onys1us marked this conversation as resolved.
Show resolved Hide resolved
},
{
icon: "/images/ecosystem/rubydex.png",
name: "RubyDex",
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.