Skip to content

Commit

Permalink
Add a bit of space between bar and label, give individual titles for …
Browse files Browse the repository at this point in the history
…governance options
  • Loading branch information
adamgall committed Dec 5, 2024
1 parent 4262b63 commit 6822f98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 7 additions & 4 deletions src/components/DaoCreator/StepWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ function Step({ index, stepNumber, label }: { index: number; stepNumber: number;
bg={stepNumber === index ? 'lilac-0' : 'neutral-6'}
borderRadius="full"
></Box>
<Text mx="0.25rem">
<Text
mx="0.25rem"
mt="0.5rem"
>
{index}. {label}
</Text>
</Box>
Expand Down Expand Up @@ -119,13 +122,13 @@ export function StepWrapper({
label = t('titleGetStarted', { ns: 'daoCreate' });
break;
case CreatorSteps.ERC20_DETAILS:
label = t('titleConfigureGovernance', { ns: 'daoCreate' });
label = t('titleConfigureERC20', { ns: 'daoCreate' });
break;
case CreatorSteps.ERC721_DETAILS:
label = t('titleConfigureGovernance', { ns: 'daoCreate' });
label = t('titleConfigureERC721', { ns: 'daoCreate' });
break;
case CreatorSteps.MULTISIG_DETAILS:
label = t('titleConfigureGovernance', { ns: 'daoCreate' });
label = t('titleConfigureMultisig', { ns: 'daoCreate' });
break;
case CreatorSteps.AZORIUS_DETAILS:
label = t('titleGovConfig', { ns: 'daoCreate' });
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/locales/en/daoCreate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"titleSignerAddresses": "Owners",
"subTitleSignerAddresses": "These users will be able to submit and approve proposals.",
"titleGetStarted": "Get Started",
"titleConfigureGovernance": "Configure Governance",
"titleConfigureERC20": "Configure ERC-20 Token",
"titleConfigureERC721": "Configure ERC-721 NFTs",
"titleConfigureMultisig": "Configure Multisig",
"titleSignerConfig": "Signer Parameters",
"titleGovConfig": "Governance Parameters",
"titleFunding": "Add Funding",
Expand Down

0 comments on commit 6822f98

Please sign in to comment.