Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reorder title #47

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
76 changes: 38 additions & 38 deletions src/data/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ export const basicExamples = [
title: 'Hello World',
description: 'Learn how to use the console output',
},
{
route: '/basic_examples/bytes_in_bytes_out',
title: 'Bytes In, Bytes Out',
description: 'Learn about the basic entrypoint model',
},
{
route: '/basic_examples/first_app',
title: 'First App',
Expand All @@ -45,21 +40,36 @@ export const basicExamples = [
title: 'Constants',
description: 'How to define constant values in your contract',
},
{
route: '/basic_examples/arrays',
title: 'Arrays',
description: 'A simple arrays example in stylus',
},
{
route: '/basic_examples/function',
title: 'Functions',
description: 'Learn about function parameters, return types, and visibility',
},
{
route: '/basic_examples/bytes_in_bytes_out',
title: 'Bytes In, Bytes Out',
description: 'Learn about the basic entrypoint model',
},
{
route: '/basic_examples/events',
title: 'Events',
description: 'Log public events to the blockchain',
},
{
route: '/basic_examples/call',
title: 'Call',
description: 'Call other contracts on Rust Stylus smart contracts',
},
{
route: '/basic_examples/errors',
title: 'Errors',
description: 'Errors on Stylus Rust smart contracts',
},
{
route: '/basic_examples/call',
title: 'Call',
description: 'Call other contracts on Rust Stylus smart contracts',
},
{
route: "/basic_examples/sending_ether",
title: "Sending Ether",
Expand All @@ -71,10 +81,22 @@ export const basicExamples = [
description: "Compute the encoded function selector of a contract's function",
},
{
route: "/basic_examples/verify_signature",
title: "Verifying Signature",
route: "/basic_examples/abi_encode",
title: "ABI Encode",
description:
"An explanation of how to verify a signature signed off chain.",
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/abi_decode",
title: "ABI Decode",
description:
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/hashing",
title: "Hashing with keccak256",
description:
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/inheritance",
Expand All @@ -97,32 +119,10 @@ export const basicExamples = [
description: "Accesing VM affordances in the Stylus Rust SDK",
},
{
route: "/basic_examples/abi_encode",
title: "ABI Encode",
description:
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/abi_decode",
title: "ABI Decode",
description:
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/hashing",
title: "Hashing with keccak256",
route: "/basic_examples/verify_signature",
title: "Verifying Signature",
description:
"A simple solidity ABI encode and decode example",
},
{
route: '/basic_examples/function',
title: 'Functions',
description: 'Learn about function parameters, return types, and visibility',
},
{
route: '/basic_examples/arrays',
title: 'Arrays',
description: 'A simple arrays example in stylus',
"An explanation of how to verify a signature signed off chain.",
},
];

Expand Down
Loading