Skip to content

Commit

Permalink
fix requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChqrles committed Dec 13, 2023
1 parent 9950cd6 commit 7c69279
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 23 deletions.
11 changes: 7 additions & 4 deletions frontend/src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
import clsx from 'clsx'
import { Link } from 'react-router-dom'
import onlyonstarknet from 'src/assets/onlyonstarknet.png'
import { PrimaryButton, SecondaryButton } from 'src/components/Button'
import Box from 'src/theme/components/Box'
import { Column, Row } from 'src/theme/components/Flex'
import * as Text from 'src/theme/components/Text'

import * as styles from './style.css'

export default function HomePage() {
return (
<Box className={styles.container}>
<Box as="span" className={styles.backgroundContainer}>
<Box as="span" className={styles.background} />
</Box>
<Box as="span" className={clsx(styles.backgroundContainer, styles.background)} />

<Column className={styles.titleContainer}>
<h1 className={styles.title}>Unruggable Meme</h1>
<Text.Custom as="h1" className={styles.title}>
Unruggable Meme
</Text.Custom>
<Box as="img" src={onlyonstarknet} className={styles.subtitle} />
</Column>

Expand Down
15 changes: 0 additions & 15 deletions frontend/src/pages/Home/style.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,3 @@ export const buttonContainer = style([
flexWrap: 'wrap',
},
])

export const secondArticle = style([
sprinkles({
position: 'absolute',
left: '64',
bottom: '64',
right: '64',
borderColor: 'border1',
borderStyle: 'solid',
borderWidth: '0px',
borderTopWidth: '1px',
paddingTop: '24',
paddingX: '32',
}),
])
8 changes: 5 additions & 3 deletions frontend/src/pages/Launch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export default function LaunchPage() {

<Column gap="4">
<Text.Body className={styles.inputLabel}>Initial Recipient Address</Text.Body>
<Input placeholder="0x000000000000000000"
<Input
placeholder="0x000000000000000000"
addon={
<IconButton
disabled={!address}
Expand All @@ -104,7 +105,8 @@ export default function LaunchPage() {

<Column gap="4">
<Text.Body className={styles.inputLabel}>Owner Address</Text.Body>
<Input placeholder="0x000000000000000000"
<Input
placeholder="0x000000000000000000"
addon={
<IconButton disabled={!address} onClick={() => (address ? setValue('ownerAddress', address) : null)}>
<Wallet />
Expand Down Expand Up @@ -152,4 +154,4 @@ export default function LaunchPage() {
</Box>
</Row>
)
}
}
2 changes: 1 addition & 1 deletion frontend/src/pages/Launch/style.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ export const errorContainer = sprinkles({
paddingX: '8',
paddingTop: '4',
color: 'error',
})
})

0 comments on commit 7c69279

Please sign in to comment.