Skip to content

Commit

Permalink
chore: YouTube category, some new subcategories for YouTube category …
Browse files Browse the repository at this point in the history
…and new datas (rupali-codes#141)

* chore: added youtube subcategory to Sidebar and new datas

* chore: added youtube category and some subcategories

* docs: updated README with new category and subcategories
  • Loading branch information
vboechat authored Feb 6, 2023
1 parent 6bf0134 commit a65c5c3
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Follow these steps
* `name`: name of the site
* `description`: a short description of the link/site
* `url`: URL of the site
* `category`: either could be `frontend` or `backend`
* `category`: either could be `frontend`, `backend` or `youtube`
* `subcategory`: it could be one of the followings -
* For `frontend`
* animations
Expand All @@ -88,6 +88,10 @@ Follow these steps
* validation
* security
* testing
* For `youtube`
* web-development
* machine-learning
* csharp


3. Run this command to add your changes
Expand Down
34 changes: 33 additions & 1 deletion database/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,35 @@ export const data: IData[] = [
{
id: "45",
name: "CodeChef",
description: "An online IDE to practice you competitive programming skills. It allows you to code in multiple lanaguges.",
description: "An online IDE to practice you competitive programming skills. It allows you to code in multiple languages.",
url: "https://www.codechef.com/ide",
category: "frontend",
subcategory: "online-code-editors",
},
{
id: "46",
name: "I Am Tim Corey",
description: "A Proven Teacher. Tim is a proven developer with 25 years in the industry. Tim is dedicated to helping you avoid pain and pitfalls on your path to developer.",
url: "https://www.youtube.com/@IAmTimCorey",
category: "youtube",
subcategory: "csharp",
},
{
id: "47",
name: "The Net Ninja",
description: "The Net Ninja is a YouTube channel that teaches web development, including HTML, CSS, JavaScript, PHP, Python, C#, and more.",
url: "https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg",
category: "youtube",
subcategory: "web-development",
},
{
id: "48",
name: "3Blue1Brown",
description: "3Blue1Brown, by Grant Sanderson, is some combination of math and entertainment, depending on your disposition. The goal is for explanations to be driven by animations and for difficult problems to be made simple with changes in perspective.",
url: "https://www.youtube.com/@3blue1brown",
category: "youtube",
subcategory: "machine-learning"
},
];

export const sidebarData: ISidebar[] = [
Expand Down Expand Up @@ -419,4 +443,12 @@ export const sidebarData: ISidebar[] = [
{ name: 'testing', url: 'testing' },
],
},
{
category: 'youtube',
subcategory: [
{ name: 'web development', url: '/web-development' },
{ name: 'machine learning', url: '/machine-learning' },
{ name: 'csharp', url: '/csharp' },
],
},
];
4 changes: 2 additions & 2 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export interface IData {
subcategory: SubCategory;
}

export type Category = "frontend" | "backend";
export type Category = "frontend" | "backend" | "youtube";

export type SubCategory = "images" | "icons" | "illustrations" | "colors" | "fonts" | "animations" | "testing" | "themes-templates" | "design-inspiration" | "validation" | "security" | "authentication" | "caching" | "ui-generators" | "validation" | "security" | "authentication" | "caching"| "online-code-editors";
export type SubCategory = "images" | "icons" | "illustrations" | "colors" | "fonts" | "animations" | "testing" | "themes-templates" | "design-inspiration" | "validation" | "security" | "authentication" | "caching" | "ui-generators" | "validation" | "security" | "authentication" | "caching" | "online-code-editors" | "web-development" | "machine-learning" | "csharp";
export type SubCategories = {
name: string;
url: string;
Expand Down

0 comments on commit a65c5c3

Please sign in to comment.