Skip to content

Commit

Permalink
Merge pull request #50 from commons-stack/review-changes
Browse files Browse the repository at this point in the history
Changed styles
  • Loading branch information
sembrestels authored Oct 19, 2023
2 parents 7c2e291 + 715ca09 commit 5a956f6
Show file tree
Hide file tree
Showing 16 changed files with 433 additions and 442 deletions.
168 changes: 168 additions & 0 deletions apps/abclaunch/public/terms-of-service.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions apps/abclaunch/src/components/dao-steps/ConfigureAbc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export default function ConfigureToken() {
}

return (
<VStack spacing={4} pt="130px">
<VStack spacing={4} pt="75px">
<Text fontFamily="VictorSerifTrial" fontSize="72px" color="brand.900">Augmented Bonding Curve</Text>
<Text fontSize="24px" color="brand.900" pt="32px">Configure the DAO's ABC parameters</Text>
<Text fontSize="24px" color="brand.900" pt="16px">Configure the DAO's ABC parameters</Text>
<HStack w="100%">
<VStack spacing={3} minW="340px" maxW="400px" w="100%" justifyContent="center">
<HStack alignSelf="start" w="100%">
Expand Down Expand Up @@ -80,7 +80,7 @@ export default function ConfigureToken() {
<FormControl>
<FormLabel>
<HStack>
<Text fontSize="16px" color="brand.900">RESERVE INITIAL BALANCE</Text>
<Text fontSize="16px" color="brand.900">INITIAL RESERVE BALANCE</Text>
<Tooltip label="The Initial Reserve Balance refers to the amount of tokens deposited into the Reserve Pool when the ABC is initialized.">
<InfoOutlineIcon />
</Tooltip>
Expand Down
18 changes: 9 additions & 9 deletions apps/abclaunch/src/components/dao-steps/ConfigureToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export default function ConfigureToken() {
}

return (
<VStack spacing={4} pt="130px" className="abcs-newdao-step-content">
<Text fontFamily="VictorSerifTrial" fontSize="72px" color="brand.900">Tokens</Text>
<Text fontSize="24px" color="brand.900" pt="32px">Choose your Tokens settings below</Text>
<VStack spacing={4} pt="75px" className="abcs-newdao-step-content" mx="100px">
<Text fontFamily="VictorSerifTrial" fontSize="72px" color="brand.900">Token</Text>
<Text fontSize="24px" color="brand.900" pt="16px">Configure the DAO's token parameters.</Text>
<Divider paddingTop="24px"
borderColor="brand.900"
borderBottomWidth="1px"
Expand All @@ -66,7 +66,7 @@ export default function ConfigureToken() {
</FormLabel>
<InputGroup>
<Input
placeholder="My Organization Token"
placeholder="Enter token name"
value={tokenSettings.tokenName}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
handleChangeTokenName(e.target.value);
Expand All @@ -85,7 +85,7 @@ export default function ConfigureToken() {
</FormLabel>
<InputGroup>
<Input
placeholder="MOT"
placeholder="Enter symbol"
value={tokenSettings.tokenSymbol}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
handleChangeTokenSymbol(e.target.value)
Expand All @@ -108,7 +108,7 @@ export default function ConfigureToken() {
<InputGroup key={i} mb="17px">
<Input
name="address"
placeholder="Account address"
placeholder="Enter address"
value={holder[0]}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
handleHolderChange(i, e, true)
Expand All @@ -128,6 +128,7 @@ export default function ConfigureToken() {
<InputGroup mb="17px" key={i}>
<Input
name="balance"
placeholder="Enter balance"
value={holder[1]}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
handleHolderChange(i, e, false)
Expand Down Expand Up @@ -168,9 +169,8 @@ export default function ConfigureToken() {
margin="0 auto"
/>
<VStack pt="32px" spacing={-1}>
<Text fontSize="16px" color="black">Attention! The token name and symbol cannot easily be changed later.</Text>
<Text fontSize="16px" color="black">Also, the above addresses will receive the initial token distribution, </Text>
<Text fontSize="16px" color="black">the sum of which determines the initial supply for the token.</Text>
<Text fontSize="16px" color="black">These settings will determine the name and symbol of the token that will be created for your organization.</Text>
<Text fontSize="16px" color="black">Add members to define the initial distribution of this token.</Text>
</VStack>
</VStack >
);
Expand Down
6 changes: 3 additions & 3 deletions apps/abclaunch/src/components/dao-steps/ConfigureVoting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function ConfigureVoting() {
return (
<VStack spacing={4} mt="75" className="abcs-newdao-step-content">
<Text fontFamily="VictorSerifTrial" fontSize="72px" color="brand.900">Voting</Text>
<Text fontSize="24px" color="brand.900" mt="16px">Choose your voting settings below</Text>
<Text fontSize="24px" color="brand.900" mt="16px">Configure the DAO's voting parameters</Text>
<Divider paddingTop="24px"
borderColor="brand.900"
borderBottomWidth="1px"
Expand Down Expand Up @@ -84,8 +84,8 @@ export default function ConfigureVoting() {
margin="0 auto"
/>
<VStack mt="16px" spacing={-1}>
<Text fontSize="16px" color="black">All votes must reach the support and minimum approval threshold in order to pass. </Text>
<Text fontSize="16px" color="black">If one of both are not met, the vote will not be considered valid and will not be executed.</Text>
<Text fontSize="16px" color="black">These settings will determine required levels of support and approval for a proposal to pass in your DAO,</Text>
<Text fontSize="16px" color="black">and the duration a proposal will be open for voting.</Text>
</VStack>
</VStack>
);
Expand Down
8 changes: 4 additions & 4 deletions apps/abclaunch/src/components/dao-steps/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export default function Summary() {
const abcConfig = useRecoilValue(newDaoAbcState);
const setChecked = useSetRecoilState(newDaoCheckedState);
return (
<Box pt="100px">
<Box pt="75px">
<VStack spacing={4}>
<Text fontFamily="VictorSerifTrial" fontSize="72px" color="brand.900">Launch your DAO</Text>
<Text fontSize="24px" color="brand.900" >Make sure your settings are correct</Text>
<Accordion width="80%">
<AccordionItem>
<AccordionButton borderBottom="1px solid" borderBottomColor="brand.900">
<Box flex='1' textAlign='left'>
<Text color="brand.900">Organization settings</Text>
<Text color="brand.900">DAO name</Text>
</Box>
<AccordionIcon />
</AccordionButton>
Expand All @@ -33,7 +33,7 @@ export default function Summary() {
<AccordionItem>
<AccordionButton borderBottom="1px solid" borderBottomColor="brand.900">
<Box flex='1' textAlign='left'>
<Text color="brand.900">Governance settings</Text>
<Text color="brand.900">Voting settings</Text>
</Box>
<AccordionIcon />
</AccordionButton>
Expand Down Expand Up @@ -87,7 +87,7 @@ export default function Summary() {
<AccordionItem>
<AccordionButton borderBottom="1px solid" borderBottomColor="brand.900">
<Box flex='1' textAlign='left'>
<Text color="brand.900">Augmented bonding curve settings</Text>
<Text color="brand.900">ABC settings</Text>
</Box>
<AccordionIcon />
</AccordionButton>
Expand Down
1 change: 1 addition & 0 deletions apps/abclaunch/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export default defineConfig({
port: 3001,
},
plugins: [react()],
assetsInclude: ['**/*.md'],
});
Loading

0 comments on commit 5a956f6

Please sign in to comment.