diff --git a/src/components/Dataform/index.tsx b/src/components/Dataform/index.tsx index 3c14ee6..c3cc012 100644 --- a/src/components/Dataform/index.tsx +++ b/src/components/Dataform/index.tsx @@ -59,7 +59,7 @@ const DataForm = memo(() => { return (
{ {!listView ? (
{
{ const [isDropdownOpen, setIsDropdownOpen] = useState(false); @@ -55,7 +53,6 @@ const LeftSection = () => { const closeDrawerEvent = useCallback( (e: any) => { - console.log("close", e?.target.id); if ( !e || !leftSectionOpen || @@ -77,7 +74,7 @@ const LeftSection = () => {
{ >
-
+
-

+

ADD NEW

- - dropselect - +
- {/* TODO: Remove this props */} {isDropdownOpen && }
-
- -
-
- + +
+ +

Home

-
- + +
+ +

Media

-
- + +
+ +

Settings

+
+ +
+ +

Trash

diff --git a/src/components/QuickAccess/index.tsx b/src/components/QuickAccess/index.tsx index 78f9a10..e2de80f 100644 --- a/src/components/QuickAccess/index.tsx +++ b/src/components/QuickAccess/index.tsx @@ -5,6 +5,7 @@ import { useQuickFiles } from "../../hooks/files"; import classNames from "classnames"; import { useParams } from "react-router-dom"; import { useUtils } from "../../hooks/utils"; +import ChevronOutline from "../../icons/ChevronOutline"; const QuickAccess = memo(() => { const { data: quickfilesList } = useQuickFiles(false); @@ -20,26 +21,20 @@ const QuickAccess = memo(() => {

Quick Access

- setQuickAccessExpanded(!quickAccessExpanded)} - className={classNames("cursor-pointer animate-movement", { - "rotate-180": quickAccessExpanded, - })} - > - - + className={classNames( + "cursor-pointer animate-movement text-primary", + { + "rotate-180": quickAccessExpanded, + } + )} + />
{ return (
diff --git a/src/hooks/contextMenu.ts b/src/hooks/contextMenu.ts index 9854a1c..053c64c 100644 --- a/src/hooks/contextMenu.ts +++ b/src/hooks/contextMenu.ts @@ -1,7 +1,6 @@ import { MouseEventHandler, useRef, useState } from "react"; export const useContextMenu = () => { - // 215 X 240 const [contextData, setContextData] = useState({ selected: false, X: 0, diff --git a/src/icons/ChevronOutline.tsx b/src/icons/ChevronOutline.tsx new file mode 100644 index 0000000..b99b665 --- /dev/null +++ b/src/icons/ChevronOutline.tsx @@ -0,0 +1,20 @@ +type ChevronOutlineType = React.SVGAttributes; + +const ChevronOutline: React.FC = (props) => { + return ( + + + + ); +}; + +export default ChevronOutline; diff --git a/src/icons/ChevronSolid.tsx b/src/icons/ChevronSolid.tsx new file mode 100644 index 0000000..501de86 --- /dev/null +++ b/src/icons/ChevronSolid.tsx @@ -0,0 +1,22 @@ +type ChevronSolidType = React.SVGAttributes; + +const ChevronSolid: React.FC = (props) => { + return ( + + + + ); +}; + +export default ChevronSolid; diff --git a/src/icons/HomeIconOutline.tsx b/src/icons/HomeIconOutline.tsx new file mode 100644 index 0000000..68f10b3 --- /dev/null +++ b/src/icons/HomeIconOutline.tsx @@ -0,0 +1,15 @@ +type HomeIconOutlineType = React.SVGAttributes; + +const HomeIconOutline: React.FC = (props) => { + return ( + + home-variant-outline + + + ); +}; + +export default HomeIconOutline; diff --git a/src/icons/TrashIcon.tsx b/src/icons/TrashIcon.tsx index 78e9566..4cca469 100644 --- a/src/icons/TrashIcon.tsx +++ b/src/icons/TrashIcon.tsx @@ -4,38 +4,12 @@ type TrashIconType = React.SVGAttributes; const TrashIcon: React.FC = (props) => { return ( - - - - - - - + + trash-can-outline + ); }; diff --git a/tailwind.config.js b/tailwind.config.js index c16950d..61e4ea6 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,6 +9,7 @@ module.exports = { extend: { colors: { primary: "#3c85ee", + "primary-hover": "#326bcc", "white-hover": "#f6f5fd", "gray-primary": "#637381", },