OffchainLabs / arbitrum-docs

Arbitrum Docs! Content + Webapp
https://developer.arbitrum.io/
179 stars 325 forks source link

Add Table of Contents to Stylus Contracts with Card Layout and Icons #1597

Closed mahsamoosavi closed 4 days ago

mahsamoosavi commented 2 weeks ago

This PR improves the "Write Stylus Contracts" section by introducing user-friendly table of contents using card layouts with icons. The cards now allow users to navigate the various topics related to Stylus contracts more easily.

Also a new overview page has been created for the "CLI tools (cargo-stylus)" section. This overview page serves as a landing page, providing an introduction and summary of the available CLI tools for Stylus. This page helps users better understand the tools available and serves as a centralized entry point for exploring the CLI tools category.

Confirmed that all links are working correctly and that the site builds without errors.

closes TW-267

vercel[bot] commented 2 weeks ago

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

Name Status Preview Updated (UTC)
arbitrum-docs ✅ Ready (Inspect) Visit Preview Sep 9, 2024 6:50pm
TucksonDev commented 2 weeks ago

Why didn't we go with DocCardList, which is available in Docusaurus by default? https://docusaurus.io/docs/sidebar/items#embedding-generated-index-in-doc-page