From 5d992c7ce10ff4163def99de2a522939778e87b5 Mon Sep 17 00:00:00 2001 From: AndrePanin Date: Wed, 16 Oct 2024 17:02:49 +0300 Subject: [PATCH] Create Archive for deprecated dapps (#195) --- deprecated_dapps/Governance/_category_.json | 4 ---- .../Governance => docs/examples/archive}/DAO.md | 2 +- docs/examples/archive/_category_.json | 6 ++++++ docs/examples/archive/archive.md | 12 ++++++++++++ docs/examples/{DeFi => archive}/crowdsale.md | 2 +- docs/examples/{DeFi => archive}/dutch-auction.md | 2 +- .../examples/archive}/escrow.md | 2 +- .../{Gaming => archive}/galactic-express.md | 2 +- .../examples/archive}/game-of-chance.md | 2 +- docs/examples/{Standards => archive}/gnft-4907.md | 2 +- docs/examples/{NFTs => archive}/nft-pixelboard.md | 2 +- docs/examples/{NFTs => archive}/onchain-nft.md | 2 +- .../examples/archive}/rock-paper-scissors.md | 2 +- .../examples/archive}/supply-chain.md | 2 +- docs/examples/{Gaming => archive}/tequila-train.md | 2 +- src/css/custom.scss | 13 ++++++++++++- 16 files changed, 42 insertions(+), 17 deletions(-) delete mode 100644 deprecated_dapps/Governance/_category_.json rename {deprecated_dapps/Governance => docs/examples/archive}/DAO.md (99%) create mode 100644 docs/examples/archive/_category_.json create mode 100644 docs/examples/archive/archive.md rename docs/examples/{DeFi => archive}/crowdsale.md (99%) rename docs/examples/{DeFi => archive}/dutch-auction.md (99%) rename {deprecated_dapps => docs/examples/archive}/escrow.md (99%) rename docs/examples/{Gaming => archive}/galactic-express.md (99%) rename {deprecated_dapps => docs/examples/archive}/game-of-chance.md (99%) rename docs/examples/{Standards => archive}/gnft-4907.md (99%) rename docs/examples/{NFTs => archive}/nft-pixelboard.md (99%) rename docs/examples/{NFTs => archive}/onchain-nft.md (99%) rename {deprecated_dapps => docs/examples/archive}/rock-paper-scissors.md (99%) rename {deprecated_dapps => docs/examples/archive}/supply-chain.md (99%) rename docs/examples/{Gaming => archive}/tequila-train.md (99%) diff --git a/deprecated_dapps/Governance/_category_.json b/deprecated_dapps/Governance/_category_.json deleted file mode 100644 index 23306be..0000000 --- a/deprecated_dapps/Governance/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Governance", - "position": 8 -} diff --git a/deprecated_dapps/Governance/DAO.md b/docs/examples/archive/DAO.md similarity index 99% rename from deprecated_dapps/Governance/DAO.md rename to docs/examples/archive/DAO.md index 89ad90c..a205612 100644 --- a/deprecated_dapps/Governance/DAO.md +++ b/docs/examples/archive/DAO.md @@ -1,6 +1,6 @@ --- sidebar_label: DAO -sidebar_position: 1 +sidebar_position: 2 --- # Decentralized Autonomous Organization diff --git a/docs/examples/archive/_category_.json b/docs/examples/archive/_category_.json new file mode 100644 index 0000000..ead383e --- /dev/null +++ b/docs/examples/archive/_category_.json @@ -0,0 +1,6 @@ +{ + "label": "Archive", + "position": 8, + "className": "archive-category" + } + \ No newline at end of file diff --git a/docs/examples/archive/archive.md b/docs/examples/archive/archive.md new file mode 100644 index 0000000..3e773a0 --- /dev/null +++ b/docs/examples/archive/archive.md @@ -0,0 +1,12 @@ +--- +sidebar_label: Archive +sidebar_position: 1 +--- + +# Archive of Program Examples + +This folder contains examples of programs and use cases that may include outdated or no longer maintained code. These examples were created during the early stages of Gear Protocol's development. + +However, the use cases themselves remain relevant and can be implemented and deployed on the Vara network. + +The source code for these examples is still available on GitHub and can serve as a valuable resource for understanding how to develop using the low-level [`gstd`](/docs/build/gstd/) library. Anyone can try compiling and deploying them to testnet or mainnet to see how they function. \ No newline at end of file diff --git a/docs/examples/DeFi/crowdsale.md b/docs/examples/archive/crowdsale.md similarity index 99% rename from docs/examples/DeFi/crowdsale.md rename to docs/examples/archive/crowdsale.md index 9cf038f..4850508 100644 --- a/docs/examples/DeFi/crowdsale.md +++ b/docs/examples/archive/crowdsale.md @@ -1,6 +1,6 @@ --- sidebar_label: Crowdsale Program Mechanics -sidebar_position: 6 +sidebar_position: 7 --- # Crowdsale Program Mechanics diff --git a/docs/examples/DeFi/dutch-auction.md b/docs/examples/archive/dutch-auction.md similarity index 99% rename from docs/examples/DeFi/dutch-auction.md rename to docs/examples/archive/dutch-auction.md index 754cef2..76d8453 100644 --- a/docs/examples/DeFi/dutch-auction.md +++ b/docs/examples/archive/dutch-auction.md @@ -1,6 +1,6 @@ --- sidebar_label: Dutch Auction -sidebar_position: 3 +sidebar_position: 8 --- # Dutch Auction diff --git a/deprecated_dapps/escrow.md b/docs/examples/archive/escrow.md similarity index 99% rename from deprecated_dapps/escrow.md rename to docs/examples/archive/escrow.md index 7791759..f144592 100644 --- a/deprecated_dapps/escrow.md +++ b/docs/examples/archive/escrow.md @@ -1,5 +1,5 @@ --- -sidebar_position: 2 +sidebar_position: 4 --- # Escrow diff --git a/docs/examples/Gaming/galactic-express.md b/docs/examples/archive/galactic-express.md similarity index 99% rename from docs/examples/Gaming/galactic-express.md rename to docs/examples/archive/galactic-express.md index 8c95fc4..005f343 100644 --- a/docs/examples/Gaming/galactic-express.md +++ b/docs/examples/archive/galactic-express.md @@ -1,6 +1,6 @@ --- sidebar_label: Galactic Express -sidebar_position: 7 +sidebar_position: 9 --- # Galactic Express Game diff --git a/deprecated_dapps/game-of-chance.md b/docs/examples/archive/game-of-chance.md similarity index 99% rename from deprecated_dapps/game-of-chance.md rename to docs/examples/archive/game-of-chance.md index 16609f4..1a8819a 100644 --- a/deprecated_dapps/game-of-chance.md +++ b/docs/examples/archive/game-of-chance.md @@ -1,5 +1,5 @@ --- -sidebar_position: 5 +sidebar_position: 6 --- # Game of Chance diff --git a/docs/examples/Standards/gnft-4907.md b/docs/examples/archive/gnft-4907.md similarity index 99% rename from docs/examples/Standards/gnft-4907.md rename to docs/examples/archive/gnft-4907.md index 105a49b..9e1e0d1 100644 --- a/docs/examples/Standards/gnft-4907.md +++ b/docs/examples/archive/gnft-4907.md @@ -1,6 +1,6 @@ --- sidebar_label: VRNFT (ERC-4907) -sidebar_position: 4 +sidebar_position: 12 --- # Vara Rentable Non-Fungible Token diff --git a/docs/examples/NFTs/nft-pixelboard.md b/docs/examples/archive/nft-pixelboard.md similarity index 99% rename from docs/examples/NFTs/nft-pixelboard.md rename to docs/examples/archive/nft-pixelboard.md index 8924cef..993842e 100644 --- a/docs/examples/NFTs/nft-pixelboard.md +++ b/docs/examples/archive/nft-pixelboard.md @@ -1,5 +1,5 @@ --- -sidebar_position: 4 +sidebar_position: 10 --- # NFT pixelboard diff --git a/docs/examples/NFTs/onchain-nft.md b/docs/examples/archive/onchain-nft.md similarity index 99% rename from docs/examples/NFTs/onchain-nft.md rename to docs/examples/archive/onchain-nft.md index f55b73a..5cfe6a3 100644 --- a/docs/examples/NFTs/onchain-nft.md +++ b/docs/examples/archive/onchain-nft.md @@ -1,6 +1,6 @@ --- sidebar_label: OnChain NFT -sidebar_position: 2 +sidebar_position: 11 --- # On-chain gNFT assets diff --git a/deprecated_dapps/rock-paper-scissors.md b/docs/examples/archive/rock-paper-scissors.md similarity index 99% rename from deprecated_dapps/rock-paper-scissors.md rename to docs/examples/archive/rock-paper-scissors.md index de6889a..85bb729 100644 --- a/deprecated_dapps/rock-paper-scissors.md +++ b/docs/examples/archive/rock-paper-scissors.md @@ -1,6 +1,6 @@ --- sidebar_label: Rock Paper Scissors -sidebar_position: 4 +sidebar_position: 5 --- # Rock Paper Scissors diff --git a/deprecated_dapps/supply-chain.md b/docs/examples/archive/supply-chain.md similarity index 99% rename from deprecated_dapps/supply-chain.md rename to docs/examples/archive/supply-chain.md index 5ee2030..6f63647 100644 --- a/deprecated_dapps/supply-chain.md +++ b/docs/examples/archive/supply-chain.md @@ -1,5 +1,5 @@ --- -sidebar_position: 2 +sidebar_position: 3 --- # Supply Chain diff --git a/docs/examples/Gaming/tequila-train.md b/docs/examples/archive/tequila-train.md similarity index 99% rename from docs/examples/Gaming/tequila-train.md rename to docs/examples/archive/tequila-train.md index be61b51..2afdaa3 100644 --- a/docs/examples/Gaming/tequila-train.md +++ b/docs/examples/archive/tequila-train.md @@ -1,5 +1,5 @@ --- -sidebar_position: 6 +sidebar_position: 13 --- # Tequila Train diff --git a/src/css/custom.scss b/src/css/custom.scss index e39ccce..1b2822d 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -80,8 +80,8 @@ .typo-title-1 { @apply font-semibold lg:font-medium text-[42px] md:text-[46px] lg:text-[52px] xl:text-[62px] 2xl:text-[72px] leading-[50px] md:leading-[55px] lg:leading-[62px] xl:leading-[74px] 2xl:leading-[86px]; } -} +} html { font-size: 16px; @@ -241,3 +241,14 @@ div[class^="announcementBar"][role="banner"] { display: none; } } + +.archive-category { + color: gray; + font-style: italic; + opacity: 0.5; + + &:hover { + color: darkgray; + opacity: 0.7; + } +} \ No newline at end of file