-
-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
487 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
import { FC } from 'react' | ||
import { Searchbar } from '../Searchbar' | ||
import { Searchbar } from 'components/Searchbar/Searchbar' | ||
import useSidebarSearch from 'hooks/useSidebarSearch' | ||
import classNames from 'classnames' | ||
import { useTheme } from 'next-themes' | ||
import { SideNavbarCategoryList } from './SideNavbarCategoryList' | ||
|
||
export const SideNavbarBody: FC = () => { | ||
const { theme } = useTheme() | ||
|
||
const { setSearch, searchResults, debouncedSearch } = useSidebarSearch() | ||
|
||
return ( | ||
<div | ||
className={classNames( | ||
`bg-[rgba(255,255,255,0.3)] h-full w-full overflow-x-hidden whitespace-nowrap transition-all ease-in dark:bg-dark dark:text-text-primary`, | ||
theme === 'light' ? 'scrollColorLight' : 'scrollColorDark' | ||
)} | ||
> | ||
<div className="bg-primary-light transiton-all w-full p-4 transition-none ease-in dark:bg-dark"> | ||
<div className="bg-[rgba(255,255,255,0.3)] w-full overflow-x-hidden whitespace-nowrap transition-all ease-in dark:bg-dark dark:text-text-primary"> | ||
<div className="bg-light-primary p-4 pt-0 transition-all ease-in dark:bg-dark"> | ||
<Searchbar setSearch={setSearch} /> | ||
</div> | ||
<SideNavbarCategoryList | ||
items={searchResults} | ||
isSearching={debouncedSearch.length > 0} | ||
openByDefault={''} | ||
/> | ||
|
||
<div | ||
className={classNames( | ||
theme === 'light' ? 'scrollColorLight' : 'scrollColorDark' | ||
)} | ||
style={{ maxHeight: 'calc(100vh - 4rem)' }} | ||
> | ||
<SideNavbarCategoryList | ||
items={searchResults} | ||
isSearching={debouncedSearch.length > 0} | ||
openByDefault={''} | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export const maintainersData = [ | ||
{ login: 'rupali-codes', name: 'Rupali Codes' }, | ||
{ login: 'CBID2', name: 'CBID2' }, | ||
{ login: 'rupali-codes', name: 'Rupali Haldiya' }, | ||
{ login: 'CBID2', name: 'Christine Belzie' }, | ||
{ login: 'ujjawaltyagii', name: 'Ujjawal Tyagi' }, | ||
{ login: 'k-deepak04', name: 'Deepak Singh' }, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"name": "Learn CI/CD by building projects", | ||
"description": "This is an amazing blog provides projects to help you understand CI/CD.", | ||
"url": "https://www.freecodecamp.org/news/what-is-ci-cd/", | ||
"category": "DevOps", | ||
"subcategory": "cicd" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"name": "DevOps Lifecycle", | ||
"description": "Learn everything about 7 different phases of the DevOps lifecycle", | ||
"url": "https://www.simform.com/blog/devops-lifecycle/", | ||
"category": "DevOps", | ||
"subcategory": "devopsLifecycle" | ||
} | ||
] |
Oops, something went wrong.