Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add tech articles #2483

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions components/TopBar/CategoryDescriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ const categoryDescriptions: CategoryDescriptions = {
'Coursera is an online learning platform that offers a wide range of courses, specializations, and degrees from top universities and organizations globally. It provides accessible and flexible education to individuals seeking to enhance their skills and knowledge.',
raspberrypi:
'Raspberry Pi is a series of low-cost, credit card-sized single-board computers developed to promote computer science education and DIY projects. With a vibrant community, Raspberry Pi empowers enthusiasts and learners to explore programming, electronics, and creative computing.',
// tech articles
react_articles:
'Get the best articles for react to improve your skills and knowledge.',
// newsletters
jsLetters:
'It covers the latest updates, trends, and resources in the JavaScript ecosystem, keeping developers informed and engaged.',
Expand Down
10 changes: 10 additions & 0 deletions database/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,16 @@ export const sidebarData: ISidebar[] = [
{ name: 'Static Site Generators', url: '/ssg', resources: DB.ssg },
],
},
{
category: 'tech-articles',
subcategory: [
{
name: 'react',
url: '/react_articles',
resources: DB.reactArticles,
}
]
},
{
category: 'newsletters',
subcategory: [
Expand Down
4 changes: 3 additions & 1 deletion database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ 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'
// Tech Articles
export { default as reactArticles } from './tech_articles/react.json'
// Newsletters
export { default as jsLetters } from './newsletters/js_Letters.json'
export { default as pythonLetters } from './newsletters/py_Letters.json'
export { default as pythonLetters } from './newsletters/py_Letters.json'
37 changes: 37 additions & 0 deletions database/tech_articles/react.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"name": "Design Patterns",
"url": "https://baguilar6174.medium.com/react-design-patterns-6ab55c5ebafb",
"description": "Learn how to apply design patterns in your React applications.",
"category": "tech-articles",
"subcategory": "react_articles"
},
{
"name": "Hooks Guide",
"url": "https://www.freecodecamp.org/news/full-guide-to-react-hooks/",
"description": "Learn how to use React hooks in your applications.",
"category": "tech-articles",
"subcategory": "react_articles"
},
{
"name": "Testing Guide",
"url": "https://www.freecodecamp.org/news/testing-react-hooks/",
"description": "Learn how to test your React applications.",
"category": "tech-articles",
"subcategory": "react_articles"
},
{
"name": "Best Practices",
"url": "https://dev.to/sathishskdev/series/22988",
"description": "Learn how to write clean code and organize files in your react applications.",
"category": "tech-articles",
"subcategory": "react_articles"
},
{
"name": "React Router",
"url": "https://luqmanshaban.medium.com/react-router-a-step-by-step-guide-4c5ec964d2e9",
"description": "Learn how to use React Router in your applications.",
"category": "tech-articles",
"subcategory": "react_articles"
}
]
1 change: 1 addition & 0 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export type Category =
| 'BlockChain'
| 'newsletters'
| 'design'
| 'tech-articles'

export type SubCategories = {
name: string
Expand Down
Loading