Skip to content

Commit

Permalink
feat: config confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhiter committed Jan 9, 2025
1 parent a877df5 commit fa8f40f
Showing 1 changed file with 33 additions and 5 deletions.
38 changes: 33 additions & 5 deletions frontend/providers/devbox/components/modals/SshConnectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,22 @@ const SshConnectModal = ({
<Circle size="10px" bg="grayModern.100" top={-3} left={2.5} position={'absolute'} />
</Step>
</Stepper>
<Box position={'relative'} w={'100%'} h={'30px'} mt={4}>
<Box position={'relative'} w={'100%'} h={'30px'} my={4}>
<Button
onClick={() => onSuccess()}
position={'absolute'}
right={0}
w={'100%'}
bg={'white'}
borderWidth={1}
borderRadius={'6px'}
color={'grayModern.600'}
size={'sm'}
p={'12px'}>
px={1}
borderColor={'grayModern.200'}
_hover={{
color: 'brightBlue.600',
borderColor: 'brightBlue.500'
}}
onClick={() => onClose()}
h={'36px'}>
{t('jetbrains_guide_confirm')}
</Button>
</Box>
Expand Down Expand Up @@ -403,6 +412,25 @@ const SshConnectModal = ({
<Circle size="10px" bg="grayModern.100" top={-3} left={2.5} position={'absolute'} />
</Step>
</Stepper>
<Box position={'relative'} w={'100%'} h={'30px'} my={4}>
<Button
w={'100%'}
bg={'white'}
borderWidth={1}
borderRadius={'6px'}
color={'grayModern.600'}
size={'sm'}
px={1}
borderColor={'grayModern.200'}
_hover={{
color: 'brightBlue.600',
borderColor: 'brightBlue.500'
}}
onClick={() => onClose()}
h={'36px'}>
{t('jetbrains_guide_confirm')}
</Button>
</Box>
</ModalBody>
</ModalContent>
</Modal>
Expand Down

0 comments on commit fa8f40f

Please sign in to comment.