Skip to content

Commit

Permalink
[ADDED]: BlockChain Category (#2044)
Browse files Browse the repository at this point in the history
* [ADDED]: BlockChain Category

* Changes done

* Update index.ts

* Update index.ts

* Changes made

* Update CategoryDescriptions.ts
  • Loading branch information
Killer2OP authored Nov 3, 2023
1 parent 6a200b2 commit c6e97bf
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/TopBar/CategoryDescriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ const categoryDescriptions: CategoryDescriptions = {
'This section provides various online courses that can help you start with the fundamentals of data structures and algorithms and also ace your coding interviews.',
'dsa tutorials':
'This section provides you with YouTube tutorials that help you grasp concepts better by hands-on experience and learn better, practically!',

//BlockChain
smartcontracts : 'Smart contracts are self-executing contracts with the terms of the agreement directly written into code. They run on a blockchain network, which is a decentralized and distributed ledger technology. Smart contracts automatically execute and enforce the terms of a contract when predefined conditions are met',
truffle : 'Truffle is a popular development framework for Ethereum blockchain. It provides a development environment, testing framework, and asset pipeline for building decentralized applications (DApps) on the Ethereum platform.',
hardhat : 'Hardhat is another popular development framework for Ethereum smart contracts and decentralized applications (DApps). It provides a wide range of features and tools for Ethereum developers, making the development and testing of smart contracts easier and more efficient.',
ethers : '"Ethers" generally refers to both the native cryptocurrency of the Ethereum network and a popular JavaScript library used for interacting with the Ethereum blockchain.'

}

export default categoryDescriptions
9 changes: 9 additions & 0 deletions database/BlockChain/ethers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"name": "Ethers Docs",
"description": "It is the official website of Ethers.",
"url": "https://docs.ethers.org/v5/",
"category": "BlockChain",
"subcategory": "ethers"
}
]
9 changes: 9 additions & 0 deletions database/BlockChain/hardhat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"name": "Hardhat Docs",
"description": "It is the official website of hardhat.",
"url": "https://hardhat.org/",
"category": "BlockChain",
"subcategory": "hardhat"
}
]
9 changes: 9 additions & 0 deletions database/BlockChain/smart-contracts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"name": "Solidity Documentation",
"description": " Solidity is the programming language used for developing smart contracts on the Ethereum platform. The Solidity documentation provides comprehensive guidance on writing secure and efficient smart contracts.",
"url": "https://docs.soliditylang.org/en/v0.8.21/",
"category": "BlockChain",
"subcategory": "smartcontracts"
}
]
9 changes: 9 additions & 0 deletions database/BlockChain/truffle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"name": "Truffle Docs",
"description": "It is the official website of truffle.",
"url": "https://trufflesuite.com",
"category": "BlockChain",
"subcategory": "truffle"
}
]
25 changes: 25 additions & 0 deletions database/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,31 @@ export const sidebarData: ISidebar[] = [
},
],
},
{
category: 'BlockChain',
subcategory: [
{
name: 'Smart Contracts',
url: '/smartcontracts',
resources: DB.smartContracts,
},
{
name: 'Truffle',
url: '/truffle',
resources: DB.truffle,
},
{
name: 'Hardhat',
url: '/hardhat',
resources: DB.hardhat,
},
{
name: 'Ethers',
url: '/ethers',
resources: DB.ethers,
},
],
},
{
category: 'other',
subcategory: [
Expand Down
5 changes: 5 additions & 0 deletions database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,10 @@ export { default as certifications } from './placement_prep/certifications.json'
export { default as dsaArticles } from './data_structures/dsa-articles.json'
export { default as dsaTutorials } from './data_structures/dsa-tutorials.json'
export { default as dsaCourses } from './data_structures/dsa-courses.json'
// Block Chain
export {default as smartContracts} from './BlockChain/smart-contracts.json'
export {default as truffle} from './BlockChain/truffle.json'
export {default as hardhat} from './BlockChain/hardhat.json'
export {default as ethers} from './BlockChain/ethers.json'


1 change: 1 addition & 0 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export type Category =
| 'technical-writing'
| 'Placement-Prep'
| 'data-structures'
| 'BlockChain'

export type SubCategories = {
name: string
Expand Down

1 comment on commit c6e97bf

@vercel
Copy link

@vercel vercel bot commented on c6e97bf Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.