Skip to content

Commit

Permalink
chore: added cpp subcategory under languages (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
hereisSwapnil authored Jul 20, 2023
1 parent 4311806 commit a441e04
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
15 changes: 8 additions & 7 deletions database/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const sidebarData: ISidebar[] = [
url: '/c-programming',
resources: DB.CProgramming,
},
{ name: 'C++ Programming', url: '/cpp', resources: DB.cpp },
{ name: 'Java', url: '/java', resources: DB.java },
{ name: 'Kotlin', url: '/kotlin', resources: DB.kotlin },
{ name: 'Rust', url: '/rust', resources: DB.Rust },
Expand Down Expand Up @@ -116,7 +117,11 @@ export const sidebarData: ISidebar[] = [
{
category: 'machine learning',
subcategory: [
{ name: 'machine learning', url: '/machine-learning', resources: DB.machineLearning },
{
name: 'machine learning',
url: '/machine-learning',
resources: DB.machineLearning,
},
{ name: 'data science', url: '/data-science', resources: DB.dataScience },
{
name: 'deep learning',
Expand All @@ -129,7 +134,7 @@ export const sidebarData: ISidebar[] = [
category: 'artificial intelligence',
subcategory: [
{ name: 'Artificial Int.', url: '/artificial-intelligence', resources: DB.artificialIntelligence },
]
],
},
{
category: 'resources',
Expand All @@ -154,11 +159,7 @@ export const sidebarData: ISidebar[] = [
resources: DB.webDevelopment,
},
{ name: 'CSS', url: '/css', resources: DB.css },
{
name: 'machine learning',
url: '/machine-learning',
resources: DB.machineLearning,
},
{ name: 'machine learning', url: '/machine-learning', resources: DB.machineLearning },
{ name: 'tensorflow', url: '/tensorflow', resources: DB.tensorflow },
{ name: 'data structures', url: '/dsa', resources: DB.dataStructures },
{ name: 'Android', url: '/android', resources: DB.android },
Expand Down
2 changes: 1 addition & 1 deletion database/frontend/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@
"category": "frontend",
"subcategory": "colors"
}
]
]
3 changes: 1 addition & 2 deletions database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export { default as CProgramming } from './languages/c-programming.json'
export { default as kotlin } from './languages/kotlin.json'
export { default as Rust } from './languages/rust.json'
export { default as java } from './languages/java.json'
export { default as cpp } from './languages/c++.json'
export { default as cpp } from './languages/cpp.json'
//artificial intelligence
export { default as artificialIntelligence } from './artificial_intelligence/artificial-intelligence.json'
//machine learning
Expand Down Expand Up @@ -69,4 +69,3 @@ export { default as devtools } from './other/devtools.json'
export { default as podcasts } from './other/podcasts.json'
export { default as otherResources } from './other/other-resources.json'
export { default as communities } from './other/communities.json'

7 changes: 7 additions & 0 deletions database/languages/c++.json → database/languages/cpp.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@
"url": "https://www.youtube.com/watch?v=9Myk2vcK8s8&list=PL_c9BZzLwBRIwEnaRU2LC4GkqxUbD0Auc&index=2&ab_channel=CalebCurry",
"category": "languages",
"subcategory": "cpp-programming"
},
{
"name": "C++ Programming Course - Beginner to Advanced",
"description": "This is a full C++ programming course from Beginner to Advanced.",
"url": "https://www.youtube.com/watch?v=8jLOx1hD3_o",
"category": "languages",
"subcategory": "cpp-programming"
}
]

1 comment on commit a441e04

@vercel
Copy link

@vercel vercel bot commented on a441e04 Jul 20, 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.