diff --git a/.github/ISSUE_TEMPLATE/add_project.yml b/.github/ISSUE_TEMPLATE/add_project.yml new file mode 100644 index 0000000000..7fa1b356f7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/add_project.yml @@ -0,0 +1,29 @@ +name: Add a project to Taiko's ecosystem 🌐 +description: Add a project to Taiko's ecosystem +labels: ["category.enhancement", "status.needs-triage"] +assignees: + - d1onys1us, 2manslkh +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to add your project. You can see existing examples on Taiko's ecosystem page [here](https://taiko.xyz/ecosystem)! + - type: input + id: title + attributes: + label: Title of your project + validations: + required: true + - type: input + id: link + attributes: + label: Link to your project + validations: + required: true + - type: textarea + id: logo + attributes: + label: Upload a quality logo to your project + description: 512x512 or 1:1 ratio is preferred. If no image is provided we will use a placeholder image. + validations: + required: false diff --git a/packages/website/components/AddEthereumChainButton.tsx b/packages/website/components/AddEthereumChainButton.tsx deleted file mode 100644 index 6cadb08c5d..0000000000 --- a/packages/website/components/AddEthereumChainButton.tsx +++ /dev/null @@ -1,47 +0,0 @@ -type Props = { - buttonText: string; -}; - -async function addEthereumChain() { - interface AddEthereumChainParameter { - chainId: string; // A 0x-prefixed hexadecimal string - chainName: string; - nativeCurrency: { - name: string; - symbol: string; // 2-6 characters long - decimals: 18; - }; - rpcUrls: string[]; - blockExplorerUrls?: string[]; - iconUrls?: string[]; // Currently ignored. - } - - const taikoParams: AddEthereumChainParameter = { - chainId: "0x28C5C", - chainName: "Taiko (Alpha-2 Testnet)", - nativeCurrency: { - name: "ETH", - symbol: "eth", - decimals: 18, - }, - rpcUrls: ["https://rpc.a2.taiko.xyz"], - blockExplorerUrls: ["https://explorer.a2.taiko.xyz/"], - iconUrls: [], - }; - - await (window as any).ethereum.request({ - method: "wallet_addEthereumChain", - params: [taikoParams], - }); -} - -export default function AddEthereumChainButton(props: Props) { - return ( -
{link}
+{description}
+ + ); +} + +export default EcosystemCard; diff --git a/packages/website/components/EcosystemSection.tsx b/packages/website/components/EcosystemSection.tsx new file mode 100644 index 0000000000..cdc53736d7 --- /dev/null +++ b/packages/website/components/EcosystemSection.tsx @@ -0,0 +1,46 @@ +import EcosystemCard from "./EcosystemCard"; + +export default function EcosystemSection() { + const ecosystemData = [ + { + icon: "/images/ecosystem/taiko.svg", + name: "Bridge", + link: "https://bridge.test.taiko.xyz", + description: "Bridge is a dapp that lets you bridge tokens with Taiko.", + }, + { + icon: "/images/ecosystem/taiko.svg", + name: "Swap", + link: "https://swap.test.taiko.xyz", + description: "Swap is a dapp that lets you swap tokens on Taiko.", + }, + { + icon: "/images/ecosystem/orbiter.jpg", + name: "Orbiter", + link: "https://orbiter.finance", + description: + "A decentralized cross-rollup Layer 2 bridge with a contract only on the destination side.", + }, + { + icon: "/images/ecosystem/loopring.svg", + name: "Loopring Wallet", + link: "https://loopring.io/#/wallet", + description: + "Loopring is your mobile gateway to Ethereum L2, enabling you to easily trade, swap, collect, stake, and invest without the costly gas fees.", + }, + ]; + + return ( +