Skip to content

Commit

Permalink
feat(website): add polyhedra to the ecosystem (#14317)
Browse files Browse the repository at this point in the history
  • Loading branch information
2manslkh authored Jul 29, 2023
1 parent ac0eece commit 3c37431
Show file tree
Hide file tree
Showing 2 changed files with 27 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 @@ -154,6 +154,15 @@ const ecosystemData: EcosystemData[] = [
filters: [],
isLive: true,
},
{
icon: "/images/ecosystem/polyhedra.svg",
name: "Polyhedra",
link: "https://polyhedra.network/",
description:
"Polyhedra Network is building the infrastructure for Web3 interoperability with efficient zero-knowledge proof protocols. Polyhedra Network designs and implements zkBridge, providing trustless and efficient cross-chain infrastructures for layer-1 and layer-2 interoperability.",
filters: ["zk"],
isLive: true,
},
{
icon: "/images/ecosystem/rai-finance.png",
name: "RAI Finance",
Expand Down Expand Up @@ -322,15 +331,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
13 changes: 13 additions & 0 deletions packages/website/public/images/ecosystem/polyhedra.svg
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 3c37431

Please sign in to comment.