Skip to content

Commit

Permalink
Feat: Replacing Axios to fs fetching in resources page (#657)
Browse files Browse the repository at this point in the history
* cleaning

* changing axios to fs

* Remove articles from sidebar

---------

Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>
  • Loading branch information
DhairyaMajmudar and benjagm committed Apr 23, 2024
1 parent 7995844 commit c04d577
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 496 deletions.
4 changes: 1 addition & 3 deletions components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,14 @@ const getSpecificationPath = [
'/specification',
];
const getResourcePath = [
'/resources/articles',
'/resources/books',
'/resources/articles',
'/resources/podcasts',
'/resources/papers',
'/resources/audios',
'/resources/courses',
];
const resourceRoutes = [
{ uri: '/resources/books', label: 'Books' },
{ uri: '/resources/articles', label: 'Articles' },
{ uri: '/resources/courses', label: 'Courses' },
{ uri: '/resources/videos', label: 'Videos' },
{ uri: '/resources/podcasts', label: 'Podcasts' },
Expand Down
Loading

0 comments on commit c04d577

Please sign in to comment.