Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Added in modular contracts documentation #538

Merged
merged 7 commits into from
Jul 29, 2024
Merged

Conversation

GWSzeto
Copy link
Contributor

@GWSzeto GWSzeto commented Jul 29, 2024

Implemented overview, how it works, get started docs and directory of core & extension contracts
Updated sidebar to reflect the new naming and links
On the surface, it looks like a lot of changes were made, but this is because of the renaming from "build" to "modular contracts"

The main files to look at are
contracts/modular-contracts/overview
contracts/modular-contracts/get-started
contracts/modular-contracts/how-it-works
contracts/sidebar.tsx
components/Documents/FeatureCard.tsx


PR-Codex overview

The focus of this PR is to update icons and images related to modular contracts, along with updating dependencies and adding new contract pages.

Detailed summary

  • Updated ContractModularContractIcon and related SVG icons
  • Updated lucide-react dependency to version 0.416.0
  • Added new contract pages for ERC721 and ERC1155 extensions
  • Updated FeatureCard component to handle string or React node icon URLs

The following files were skipped due to too many changes: src/icons/products/contracts/ContractModularContractIcon.tsx, src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/simpleMetadataERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20Burnable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/metadata/simpleMetadataERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/metadata/openEditionMetadataERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/openEditionMetadataERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20Mintable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/metadata/batchMetadataERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/batchMetadataERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Burnable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Mintable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/minting/mintableERC20/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/misc/transferableERC20/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Mintable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Enumerable/page.mdx, src/app/contracts/modular-contracts/overview/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/misc/transferableERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Revealable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Revealable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Enumerable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Burnable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721BatchMintable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/misc/transferableERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20BatchMintable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Supply/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/misc/royaltyERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Supply/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/minting/mintableERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/minting/mintableERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/delayedRevealBatchMetadataERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Claimable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155BatchMintable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Claimable/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/minting/claimableERC20/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/misc/royaltyERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/minting/claimableERC721/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/minting/claimableERC1155/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20ClaimConditions/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721ClaimConditions/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-721/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/base/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/Multicall/page.mdx, src/app/contracts/modular-contracts/modular-contracts/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721ClaimCustom/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155ClaimCustom/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-1155/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-4337/account-factory/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/vote/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155ClaimConditions/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/PermissionsEnumerable/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-4337/managed-account-factory/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/drop/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155ClaimPhases/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/Ownable/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/drop-vote/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721ClaimPhases/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/BatchMintMetadata/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/Permissions/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721Staking/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20Permit/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/signature-mint/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-4337/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20Staking/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/ContractMetadata/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/PlatformFee/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-721/delayed-reveal/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-20/signature-mint-vote/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-1155/delayed-reveal/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-721/signature-mint/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/LazyMint/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-4337/AccountExtension/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/PrimarySale/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-1155/signature-mint/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-4337/managed-account/page.mdx, src/app/contracts/sidebar.tsx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Staking/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-721/base/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-4337/SmartWallet/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-4337/account/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-721/lazy-mint/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/DelayedReveal/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-4337/SmartWalletFactory/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/Royalty/page.mdx, src/app/contracts/modular-contracts/get-started/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-721/drop/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-1155/lazy-mint/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-1155/base/page.mdx, src/app/contracts/modular-contracts/core-contracts/erc-1155/drop/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-20/ERC20SignatureMint/page.mdx, src/app/contracts/modular-contracts/core-contracts/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-721/ERC721SignatureMint/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155SignatureMint/page.mdx, src/app/contracts/modular-contracts/extension-contracts/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155DropSinglePhase/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/DropSinglePhase/page.mdx, src/app/contracts/modular-contracts/extension-contracts/general/Drop/page.mdx, src/app/contracts/modular-contracts/extension-contracts/erc-1155/ERC1155Drop/page.mdx, src/app/contracts/modular-contracts/overview/assets/extension-model.svg

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Jul 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2024 4:00pm

@saminacodes saminacodes added this pull request to the merge queue Jul 29, 2024
Merged via the queue into main with commit a89859d Jul 29, 2024
6 checks passed
@saminacodes saminacodes deleted the modular-contracts branch July 29, 2024 16:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants