Skip to content

Commit

Permalink
refactor: click command on whole div
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed May 10, 2024
1 parent dc0a8a4 commit 04379a7
Showing 1 changed file with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,25 +78,30 @@ export const EchoTab = ({ className }: { className?: string }) => {
<Text variant="secondary" className={mainText}>
Open your terminal and launch the development studio
</Text>
<CodeSnippet
command={COMMAND}
className={cx(
css({
maxW: '400px',
marginTop: '50',
marginBottom: '250',
}),
css({
'& input': {
color: theme.colorScheme === 'dark' ? 'white !important' : 'black !important',
background: theme.colorScheme === 'dark' ? '#161618 !important' : '#f4f4f4 !important',
},
})
)}
<div
onClick={() => {
segment.track(`Copy Echo command - [Get Started]`);
}}
/>
>
<CodeSnippet
command={COMMAND}
className={cx(
css({
maxW: '400px',
marginTop: '50',
marginBottom: '250',
}),
css({
'& input': {
color: theme.colorScheme === 'dark' ? 'white !important' : 'black !important',
background: theme.colorScheme === 'dark' ? '#161618 !important' : '#f4f4f4 !important',
},
})
)}
onClick={() => {}}
/>
</div>

<div className={css({ marginBottom: '300' })}>
<AdditionInformationLink
channel={OnboardingUseCasesTabsEnum.ECHO}
Expand Down

0 comments on commit 04379a7

Please sign in to comment.