Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions website/docs/design/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@ This section contains the guidelines and rules for developing new facets and Sol
<DocCard
title="Compose Is Written to Be Read"
description="Emphasizes clarity first: keep facets and libraries self-contained, ordered top-to-bottom, and easy to read. Avoid clever abstractions that reduce readability."
href="./written-to-be-read"
href="/docs/design/written-to-be-read"
icon={<Icon name="book" size={28} />}
size="medium"
/>
<DocCard
title="Repeat Yourself"
description="Prefer duplication over indirection when it improves clarity."
href="./repeat-yourself"
href="/docs/design/repeat-yourself"
icon={<Icon name="cycle" size={28} />}
size="medium"
/>
<DocCard
title="Banned Solidity Features"
description="Solidity Features we don't use in facets/libraries."
href="./banned-solidity-features"
href="/docs/design/banned-solidity-features"
icon={<Icon name="no-entry" size={28} />}
size="medium"
/>
<DocCard
title="Design for Composition"
description="Build your own facets that work seamlessly with existing Compose facets using shared storage layouts and internal logic through Solidity libraries."
href="./design-for-composition"
href="/docs/design/design-for-composition"
icon={<Icon name="composition" size={28} />}
size="medium"
/>
<DocCard
title="Maintain Compatibility"
description="Learn how facets and libraries work together through shared storage to build composable systems."
href="./maintain-compatibility"
href="/docs/design/maintain-compatibility"
icon={<Icon name="puzzle" size={28} />}
size="medium"
/>
Expand Down
12 changes: 6 additions & 6 deletions website/docs/foundations/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,42 +19,42 @@ import CalloutBox from '@site/src/components/ui/CalloutBox';
<DocCard
title="Diamond Smart Contracts"
description="A diamond contract is made up of multiple parts. It exists at one address and holds all storage, but uses separate smart contracts called facets to provide its functionality."
href="./diamond-contracts"
href="/docs/foundations/diamond-contracts"
icon={<Icon name="diamond" size={28} />}
size="medium"
/>
<DocCard
title="On-chain Smart Contracts"
description="Compose provides reusable on-chain contracts that already exist on blockchains—eliminating the need to deploy or manage them yourself."
href="./onchain-contract-library"
href="/docs/foundations/onchain-contract-library"
icon={<Icon name="package" size={28} />}
size="medium"
/>
<DocCard
title="Reusable Smart Contracts"
description="Build new systems from existing on-chain contracts through diamond-based architecture. Deploy only a small diamond that connects to existing facets."
href="./reusable-facet-logic"
href="/docs/foundations/reusable-facet-logic"
icon={<Icon name="cycle" size={28} />}
size="medium"
/>
<DocCard
title="Composable Smart Contracts"
description="Facets interoperate seamlessly inside the same diamond. Mix, match, and reuse logic across projects without modifying or redeploying code."
href="./composable-facets"
href="/docs/foundations/composable-facets"
icon={<Icon name="compose" size={28} />}
size="medium"
/>
<DocCard
title="Custom Functionality: Compose Your Own Facets"
description="Build your own facets that work seamlessly with existing Compose facets using shared storage layouts and internal logic through Solidity libraries."
href="./custom-facets"
href="/docs/foundations/custom-facets"
icon={<Icon name="puzzle" size={28} />}
size="medium"
/>
<DocCard
title="Understanding Facets and Libraries"
description="Learn how facets and libraries work together through shared storage to build composable systems."
href="./facets-and-libraries"
href="/docs/foundations/facets-and-libraries"
icon={<Icon name="book" size={28} />}
size="medium"
/>
Expand Down
32 changes: 1 addition & 31 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.