1- import { CopyOutlined , CheckOutlined , ArrowRightOutlined , SettingTwoTone , BookTwoTone , DeploymentUnitOutlined , EyeTwoTone } from '@ant-design/icons' ;
2- import { Typography , Space , Button , List } from 'antd' ;
1+ import { CopyOutlined , CheckOutlined , ArrowRightOutlined , SettingTwoTone , BookTwoTone , DeploymentUnitOutlined , EyeTwoTone , QuestionCircleFilled } from '@ant-design/icons' ;
2+ import { Button , Popover , Space , Typography , List } from 'antd' ;
33import { createStyles } from 'antd-style' ;
4- import useCopy from '../../hooks/useCopy' ;
4+ import { ReactNode } from 'react' ;
5+ import useCopy from '~/hooks/useCopy' ;
6+ import MyPageArgoCDForm from './MyPageArgoCDForm' ;
57
68export default function MyPagePKSSection ( { jwtToken } : { jwtToken : string } ) {
79 const { styles } = useStyles ( ) ;
810 const { isCopied, copy } = useCopy ( ) ;
911
1012 const linkList : {
11- title : string ;
13+ title : ReactNode ;
1214 icon : JSX . Element ;
1315 link : string ;
1416 } [ ] = [
@@ -23,7 +25,14 @@ export default function MyPagePKSSection({ jwtToken }: { jwtToken: string }) {
2325 link : 'https://github.com/PoolC/PKS-docs/tree/main' ,
2426 } ,
2527 {
26- title : 'Argo CD' ,
28+ title : (
29+ < Space size = { 4 } >
30+ Argo CD
31+ < Popover title = "계정정보" content = { < MyPageArgoCDForm /> } >
32+ < QuestionCircleFilled />
33+ </ Popover >
34+ </ Space >
35+ ) ,
2736 icon : < DeploymentUnitOutlined size = { 24 } /> ,
2837 link : 'http://argocd.dev.poolc.org' ,
2938 } ,
0 commit comments