From 8a944fbfbd950d06a422524a732cef3a6fd0dd5e Mon Sep 17 00:00:00 2001 From: Anmol Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:21:36 +0530 Subject: [PATCH 1/2] feat: update irregular name of subcategories --- components/TopBar/CategoryDescriptions.ts | 6 ++-- database/data.ts | 11 ++++---- database/index.ts | 10 +++---- database/languages/csharp.json | 6 ++-- .../ml&ai/{ml.json => machine-learning.json} | 6 ++-- database/youtube/data-structures.json | 28 +++++++++---------- types/index.ts | 4 +-- 7 files changed, 35 insertions(+), 36 deletions(-) rename database/ml&ai/{ml.json => machine-learning.json} (88%) diff --git a/components/TopBar/CategoryDescriptions.ts b/components/TopBar/CategoryDescriptions.ts index 25eaf9c7b..49db0fa2f 100644 --- a/components/TopBar/CategoryDescriptions.ts +++ b/components/TopBar/CategoryDescriptions.ts @@ -37,7 +37,7 @@ const categoryDescriptions: CategoryDescriptions = { // ml & ai 'data science': 'Data Science category description', 'deep learning': 'Deep Learning category description', - ml: 'ML category description', + 'machine-learning': 'ML category description', // Open-source openSourceBlogs: 'Open Source Blogs category description', openSourceProjects: 'Open Source Projects category description', @@ -53,12 +53,12 @@ const categoryDescriptions: CategoryDescriptions = { 'competitive programming': 'Competitive Programming category description', 'computer science': 'Computer Science category description', css: 'CSS category description', - dsa: 'Data Structures category description', + 'data structures': 'Data Structures category description', fintech: 'Fintech category description', 'game development': 'Game Development category description', 'machine learning': 'Machine Learning category description', tensorflow: 'TensorFlow category description', - youtubTesting: 'Youtube Testing category description', + youtubeTesting: 'Youtube Testing category description', 'web development': 'Web Development category description', 'web3 metaverse': 'Web3 Metaverse category description', // other diff --git a/database/data.ts b/database/data.ts index eeb76d8a1..b39088220 100644 --- a/database/data.ts +++ b/database/data.ts @@ -47,15 +47,14 @@ export const sidebarData: ISidebar[] = [ { name: 'TypeScript', url: '/typescript' }, { name: 'Ruby', url: '/ruby' }, { name: 'C Programming', url: '/c-programming' }, - { name: 'Java', url: '/java'}, - { name: 'Kotlin', url: '/kotlin'} - + { name: 'Java', url: '/java' }, + { name: 'Kotlin', url: '/kotlin' }, ], }, { category: 'ml & ai', subcategory: [ - { name: 'machine learning', url: '/ml' }, + { name: 'machine learning', url: '/machine-learning' }, { name: 'data science', url: '/data-science' }, { name: 'deep learning', url: '/deep-learning' }, ], @@ -85,7 +84,7 @@ export const sidebarData: ISidebar[] = [ { name: 'CSS', url: '/css' }, { name: 'machine learning', url: '/machine-learning' }, { name: 'tensorflow', url: '/tensorflow' }, - { name: 'data structures', url: '/dsa' }, + { name: 'data structures', url: '/data-structures' }, { name: 'Android', url: '/android' }, { name: 'Web3 & Metaverse', url: '/web3-metaverse' }, { name: 'Testing', url: '/testing' }, @@ -98,7 +97,7 @@ export const sidebarData: ISidebar[] = [ { category: 'other', subcategory: [ - { name: 'events', url: '/events'}, + { name: 'events', url: '/events' }, { name: 'Github', url: '/github' }, { name: 'Dev Tools', url: '/devtools' }, { name: 'Podcasts', url: '/podcasts' }, diff --git a/database/index.ts b/database/index.ts index 0a47fb094..086b40b69 100644 --- a/database/index.ts +++ b/database/index.ts @@ -29,10 +29,10 @@ export { default as csharp } from './languages/csharp.json' export { default as typescript } from './languages/typescript.json' export { default as ruby } from './languages/ruby.json' export { default as CProgramming } from './languages/c-programming.json' -export { default as kotlin} from './languages/kotlin.json' -export { default as java} from './languages/java.json' +export { default as kotlin } from './languages/kotlin.json' +export { default as java } from './languages/java.json' // ml & ai -export { default as ml } from './ml&ai/ml.json' +export { default as ml } from './ml&ai/machine-learning.json' export { default as dataScience } from './ml&ai/datascience.json' export { default as deepLearning } from './ml&ai/deeplearning.json' // Open-source @@ -45,7 +45,7 @@ export { default as officialdocs } from './resources/official-docs.json' export { default as hosting } from './resources/hosting.json' export { default as ebook } from './resources/e-book.json' export { default as project } from './resources/project-ideas.json' -export {default as events} from './other/events.json' +export { default as events } from './other/events.json' // youtube export { default as android } from './youtube/android.json' export { default as dataStructures } from './youtube/data-structures.json' @@ -54,7 +54,7 @@ export { default as machineLearning } from './youtube/machine-learning.json' export { default as tensorflow } from './youtube/tensorflow.json' export { default as webDevelopment } from './youtube/web-development.json' export { default as web3metaverse } from './youtube/web3-metaverse.json' -export { default as youtubTesting } from './youtube/testing.json' +export { default as youtubeTesting } from './youtube/testing.json' export { default as computerScience } from './youtube/computer-science.json' export { default as competitiveProgramming } from './youtube/competitive-programming.json' export { default as fintech } from './youtube/fintech.json' diff --git a/database/languages/csharp.json b/database/languages/csharp.json index 8e85a397c..12a28bfc1 100644 --- a/database/languages/csharp.json +++ b/database/languages/csharp.json @@ -4,20 +4,20 @@ "description": "This site teaches fundamentals of the Csharp or C# programming language in a simplified way", "url": "https://www.tutorialsteacher.com/csharp/", "category": "languages", - "subcategory": "csharp (C#)" + "subcategory": "csharp" }, { "name": "Introduction to C#", "description": "A beginner friendly interactive tutorial to C# by Microsoft itself.", "url": "https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/", "category": "languages", - "subcategory": "csharp (C#)" + "subcategory": "csharp" }, { "name": "Programiz", "description": "A nice and beginner friendly tutorial for C#.", "url": "https://www.programiz.com/csharp-programming", "category": "languages", - "subcategory": "csharp (C#)" + "subcategory": "csharp" } ] diff --git a/database/ml&ai/ml.json b/database/ml&ai/machine-learning.json similarity index 88% rename from database/ml&ai/ml.json rename to database/ml&ai/machine-learning.json index 4cc1cfc28..36aabc90b 100644 --- a/database/ml&ai/ml.json +++ b/database/ml&ai/machine-learning.json @@ -3,21 +3,21 @@ "name": "CS229: Machine Learning", "description": "Official site of the eponymous Stanford course. Provides a broad introduction to ML.", "url": "https://cs229.stanford.edu/", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "ml" }, { "name": "Towards Data Science", "description": "Learn all things Data and ML. Provides simple explanations for statistical and mathematical parts.", "url": "https://towardsdatascience.com/", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "ml" }, { "name": "Machine Learning Mastery", "description": "Machine Learning Mastery provides practical tutorials and resources for mastering machine learning algorithms and techniques.", "url": "https://machinelearningmastery.com/", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "ml" } ] diff --git a/database/youtube/data-structures.json b/database/youtube/data-structures.json index bba5c4386..3d8721b9c 100644 --- a/database/youtube/data-structures.json +++ b/database/youtube/data-structures.json @@ -4,7 +4,7 @@ "description": "This channel provides free courses for DSA, C, C++, Python, etc.", "url": "https://www.youtube.com/@JennyslecturesCSIT", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -12,7 +12,7 @@ "description": "This channel provides free placement specific DSA course in C++.", "url": "https://www.youtube.com/playlist?list=PLDzeHZWIZsTryvtXdMr6rPh4IDexB5NIA", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "hindi" }, { @@ -20,7 +20,7 @@ "description": "This channel provides free courses for DSA, Java, C++, C etc.", "url": "https://www.youtube.com/watch?v=z9bZufPHFLU&list=PLfqMhTWNBTe0b2nM6JHVCnAkhQRGiZMSJ", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "hindi" }, { @@ -28,7 +28,7 @@ "description": "This channel provides free Java specific DSA course with interview-preparation.", "url": "https://youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -36,7 +36,7 @@ "description": "An all-in-one destination for DSA, Python, C++, JavaScript, Nodejs, Java, PHP & many more.", "url": "https://www.youtube.com/@CodeWithHarry/playlists", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "hindi" }, { @@ -44,7 +44,7 @@ "description": "This channel provides free Competitive Programming content.", "url": "https://www.youtube.com/watch?v=OMcxQ3IY-qc&list=PLauivoElc3ggagradg8MfOZreCMmXMmJ-", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "hindi" }, { @@ -52,7 +52,7 @@ "description": "One of the best channels for DSA. Here, you will find the thought process behind every problem and not just simple algorithms.", "url": "https://www.youtube.com/@takeUforward/featured", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -60,7 +60,7 @@ "description": "One of the best channels for DSA and Java. It is also helpful for both students and working professionals.", "url": "https://www.youtube.com/@Pepcoding/featured", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "hindi" }, { @@ -68,7 +68,7 @@ "description": "This channel is focused on teaching Data Structures and Algorithms. They also provide courses on different computer science subjects.", "url": "https://www.youtube.com/watch?v=0IAPZzGSbME&list=PLAXnLdrLnQpRcveZTtD644gM9uzYqJCwr", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -76,7 +76,7 @@ "description": "This channel is focused on the explanation of Algorithms concepts. The resources for Algorithm are limited but this course is one of the best Algorithm resources available on the Web.", "url": "https://youtube.com/playlist?list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -84,7 +84,7 @@ "description": "One of the best channels to understand DSA and mathematical concepts that will be helpful for Competitive Programming.", "url": "https://www.youtube.com/@WilliamFiset-videos/featured", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -92,7 +92,7 @@ "description": "Explanations of DSA concepts are provided in this resource. It also covers both CPP and Java.", "url": "https://www.youtube.com/playlist?list=PLUcsbZa0qzu3yNzzAxgvSgRobdUUJvz7p", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" }, { @@ -100,7 +100,7 @@ "description": "This channel provides C++ specific DSA content. This course also provides explanations of Algorithms.", "url": "https://www.youtube.com/@HelloWorldbyprince/playlists", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "hindi" }, { @@ -108,7 +108,7 @@ "description": "A well-structured DSA playlist from beginner to advanced level in Java", "url": "https://youtube.com/playlist?list=PLU83Ru7iGtAvP1rqt65MCDSBPFCzUKGXG", "category": "youtube", - "subcategory": "dsa", + "subcategory": "data-structures", "language": "english" } ] diff --git a/types/index.ts b/types/index.ts index f66044834..ffed5135d 100644 --- a/types/index.ts +++ b/types/index.ts @@ -68,7 +68,7 @@ export type SubCategory = | 'validation' // languages | 'c-programming' - | 'csharp (C#)' + | 'csharp' | 'golang' | 'java' | 'javascript' @@ -94,7 +94,7 @@ export type SubCategory = | 'android' | 'competitive-programming' | 'css' - | 'dsa' + | 'data-structures' | 'fintech' | 'game-development' | 'machine-learning' From b385241708de367fd6e064d3589145145ef3c4b6 Mon Sep 17 00:00:00 2001 From: Anmol Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:32:38 +0530 Subject: [PATCH 2/2] chore: update category name in subcategory json --- database/ml&ai/datascience.json | 6 +++--- database/ml&ai/deeplearning.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/database/ml&ai/datascience.json b/database/ml&ai/datascience.json index feef7481e..ee354ae11 100644 --- a/database/ml&ai/datascience.json +++ b/database/ml&ai/datascience.json @@ -3,21 +3,21 @@ "name": "KDnuggets", "description": "KDnuggets is a popular data science website that provides news, tutorials, and resources.", "url": "https://www.kdnuggets.com/", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "data-science" }, { "name": "Datacamp Tutorials", "description": "Provides tutorials for aspirational full stack Data Scientists.", "url": "https://www.datacamp.com/tutorial", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "data-science" }, { "name": "Analytics Vidhya", "description": "Analytics Vidhya is a platform for data science enthusiasts, offering tutorials, competitions, and community support.", "url": "https://www.analyticsvidhya.com/", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "data-science" } ] diff --git a/database/ml&ai/deeplearning.json b/database/ml&ai/deeplearning.json index fe9c0a1f4..8566d2a07 100644 --- a/database/ml&ai/deeplearning.json +++ b/database/ml&ai/deeplearning.json @@ -3,7 +3,7 @@ "name": "Distill", "description": "A platform that focuses on explaining and visualizing complex concepts in deep learning, providing in-depth articles, tutorials, and interactive visualizations to help understand and explore deep learning techniques.", "url": "https://distill.pub/", - "category": "ml ,ai & data", + "category": "ml & ai", "subcategory": "deep-learning" } ]