Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-gupta7 committed Oct 10, 2024
1 parent abac5ba commit 6fd71f2
Showing 1 changed file with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function TokensStudioForm({
...validationResult.data,
internalId: validationResult.data.internalId || generateId(24),
} as ValidatedFormValues;
setIsLoading(true);
setIsLoading(true);

onSubmit(formFields);

Expand All @@ -80,21 +80,22 @@ export default function TokensStudioForm({
setShowTeaser(false);
}, []);

return showTeaser ? (
<Stack direction="column" align="start" gap={5}>
<StyledTokensStudioWord />
<Stack direction="column" gap={3}>
<Heading size="large">A dedicated design tokens management platform</Heading>
<Box>We are working a dedicated design tokens management platform built on our powerful node-based graph engine including plug and play token transformation - suitable for enterprises! Still in early access, sign up for the waitlist!</Box>
<Link href="https://tokens.studio/studio" target="_blank" rel="noreferrer">Learn more</Link>
</Stack>
<Button onClick={handleDismissTeaser}>Already got access?</Button>
return showTeaser ? (
<Stack direction="column" align="start" gap={5}>
<StyledTokensStudioWord />
<Stack direction="column" gap={3}>
<Heading size="large">A dedicated design tokens management platform</Heading>
<Box>We are working a dedicated design tokens management platform built on our powerful node-based graph engine including plug and play token transformation - suitable for enterprises! Still in early access, sign up for the waitlist!</Box>
<Link href="https://tokens.studio/studio" target="_blank" rel="noreferrer">Learn more</Link>
</Stack>
):(
<Button onClick={handleDismissTeaser}>Already got access?</Button>
</Stack>
) : (
<form onSubmit={handleSubmit}>
<Stack direction="column" gap={5}>
<Text muted>
{t('providers.tokensstudio.descriptionFirstPart')}{' '}
<Text muted>
{t('providers.tokensstudio.descriptionFirstPart')}
{' '}
<Link
href="https://q2gsw2tok1e.typeform.com/to/pJCwLVh2?typeform-source=tokens.studio"
target="_blank"
Expand Down

0 comments on commit 6fd71f2

Please sign in to comment.