From 187f75d561038a00b79cfa27d61f6e9fb70b727a Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Wed, 1 May 2024 21:31:22 -0400 Subject: [PATCH] gear icon on settings page --- .../components/shared/CustomIcon/GearIcon.tsx | 16 ++++++++++++++++ .../src/components/shared/CustomIcon/index.ts | 1 + .../src/pages/org-slug/projects/id/Settings.tsx | 11 ++++++----- 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 packages/frontend/src/components/shared/CustomIcon/GearIcon.tsx diff --git a/packages/frontend/src/components/shared/CustomIcon/GearIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/GearIcon.tsx new file mode 100644 index 00000000..c1ee9e6b --- /dev/null +++ b/packages/frontend/src/components/shared/CustomIcon/GearIcon.tsx @@ -0,0 +1,16 @@ +import { CustomIcon, CustomIconProps } from './CustomIcon'; + +export const GearIcon = (props: CustomIconProps) => { + return ( + + + + + ); +}; diff --git a/packages/frontend/src/components/shared/CustomIcon/index.ts b/packages/frontend/src/components/shared/CustomIcon/index.ts index 4d77a8b9..805e70aa 100644 --- a/packages/frontend/src/components/shared/CustomIcon/index.ts +++ b/packages/frontend/src/components/shared/CustomIcon/index.ts @@ -62,6 +62,7 @@ export * from './WarningTriangleIcon'; export * from './CheckRadioOutlineIcon'; export * from './TrendingIcon'; export * from './ChevronDoubleDownIcon'; +export * from './GearIcon'; // Templates export * from './templates'; diff --git a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx index 2b334c36..8b2f1f31 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx @@ -9,31 +9,32 @@ import { } from '@snowballtools/material-tailwind-react-fork'; import { OutletContextType } from '../../../../types/types'; +import { GearIcon } from '../../../../components/shared/CustomIcon/GearIcon'; const tabsData = [ { label: 'General', - icon: '^', + icon: , value: 'general', }, { label: 'Domains', - icon: '^', + icon: '', value: 'domains', }, { label: 'Git', - icon: '^', + icon: '', value: 'git', }, { label: 'Environment variables', - icon: '^', + icon: '', value: 'environment-variables', }, { label: 'Members', - icon: '^', + icon: '', value: 'members', }, ];