diff --git a/packages/frontend/src/components/Sidebar.tsx b/packages/frontend/src/components/Sidebar.tsx index d8df365b..fa30f936 100644 --- a/packages/frontend/src/components/Sidebar.tsx +++ b/packages/frontend/src/components/Sidebar.tsx @@ -7,7 +7,14 @@ import { useDisconnect } from 'wagmi'; import { useGQLClient } from '../context/GQLClientContext'; import AsyncSelect from './shared/AsyncSelect'; -import { ChevronGrabberHorizontal, GlobeIcon } from './shared/CustomIcon'; +import { + ChevronGrabberHorizontal, + FolderIcon, + GlobeIcon, + LifeBuoyIcon, + QuestionMarkRoundIcon, + SettingsSlidersIcon, +} from './shared/CustomIcon'; import { Tabs } from 'components/shared/Tabs'; const Sidebar = () => { @@ -35,7 +42,7 @@ const Sidebar = () => { }, [disconnect, navigate]); return ( -
+
@@ -90,11 +97,14 @@ const Sidebar = () => { ))} - + - {['Projects', 'Settings'].slice(0, 2).map((title, index) => ( + {[ + { title: 'Projects', icon: }, + { title: 'Settings', icon: }, + ].map(({ title, icon }, index) => ( - } value={title}> + {title} @@ -102,7 +112,7 @@ const Sidebar = () => {
-
+
{/* TODO: use proper link buttons */} @@ -111,10 +121,10 @@ const Sidebar = () => { Log Out - } value=""> + } value=""> Documentation - } value=""> + } value=""> Support diff --git a/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx new file mode 100644 index 00000000..cf82caa5 --- /dev/null +++ b/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx @@ -0,0 +1,22 @@ +import React from 'react'; +import { CustomIcon, CustomIconProps } from './CustomIcon'; + +export const FolderIcon = (props: CustomIconProps) => { + return ( + + + + ); +}; diff --git a/packages/frontend/src/components/shared/CustomIcon/LifeBuoyIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/LifeBuoyIcon.tsx new file mode 100644 index 00000000..1e20afc4 --- /dev/null +++ b/packages/frontend/src/components/shared/CustomIcon/LifeBuoyIcon.tsx @@ -0,0 +1,20 @@ +import React from 'react'; +import { CustomIcon, CustomIconProps } from './CustomIcon'; + +export const LifeBuoyIcon = (props: CustomIconProps) => { + return ( + + + + ); +}; diff --git a/packages/frontend/src/components/shared/CustomIcon/QuestionMarkRoundIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/QuestionMarkRoundIcon.tsx new file mode 100644 index 00000000..868efbc3 --- /dev/null +++ b/packages/frontend/src/components/shared/CustomIcon/QuestionMarkRoundIcon.tsx @@ -0,0 +1,33 @@ +import React from 'react'; +import { CustomIcon, CustomIconProps } from './CustomIcon'; + +export const QuestionMarkRoundIcon = (props: CustomIconProps) => { + return ( + + + + + + + + ); +}; diff --git a/packages/frontend/src/components/shared/CustomIcon/SettingsSlidersIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/SettingsSlidersIcon.tsx new file mode 100644 index 00000000..45a870b4 --- /dev/null +++ b/packages/frontend/src/components/shared/CustomIcon/SettingsSlidersIcon.tsx @@ -0,0 +1,22 @@ +import React from 'react'; +import { CustomIcon, CustomIconProps } from './CustomIcon'; + +export const SettingsSlidersIcon = (props: CustomIconProps) => { + return ( + + + + ); +}; diff --git a/packages/frontend/src/components/shared/CustomIcon/index.ts b/packages/frontend/src/components/shared/CustomIcon/index.ts index 46fd03ad..881656db 100644 --- a/packages/frontend/src/components/shared/CustomIcon/index.ts +++ b/packages/frontend/src/components/shared/CustomIcon/index.ts @@ -13,3 +13,7 @@ export * from './CalendarIcon'; export * from './CheckRoundFilledIcon'; export * from './InfoRoundFilledIcon'; export * from './LoadingIcon'; +export * from './FolderIcon'; +export * from './SettingsSlidersIcon'; +export * from './LifeBuoyIcon'; +export * from './QuestionMarkRoundIcon'; diff --git a/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts b/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts index 808a0b7f..4261fbb1 100644 --- a/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts +++ b/packages/frontend/src/components/shared/Tabs/Tabs.theme.ts @@ -24,6 +24,7 @@ export const tabsTheme = tv({ 'data-[orientation=vertical]:px-3', 'data-[orientation=vertical]:py-3', 'data-[orientation=vertical]:min-w-[240px]', + 'data-[orientation=vertical]:w-full', 'data-[orientation=vertical]:focus-ring', 'data-[orientation=vertical]:rounded-xl', 'data-[orientation=vertical]:border-transparent', @@ -72,6 +73,7 @@ export const tabsTheme = tv({ // Vertical 'data-[orientation=vertical]:flex-col', 'data-[orientation=vertical]:gap-0.5', + 'data-[orientation=vertical]:w-full', ], content: ['text-elements-high-em', 'grow', 'outline-none', 'tab-content'], },