mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-08 09:34:40 +00:00
feat: move add cards into container
This commit is contained in:
parent
3cd4f73de8
commit
6835236ee5
19
src/pages/Dashboard/AddCardsContainer.tsx
Normal file
19
src/pages/Dashboard/AddCardsContainer.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import { YStack } from 'tamagui'
|
||||
import AddCard from '../../components/General/AddCard'
|
||||
|
||||
const AddCardsContainer = () => {
|
||||
return (
|
||||
<YStack
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
boxShadow: '0 0 8px rgba(0, 0, 0, 0.1)',
|
||||
width: 'fit-content',
|
||||
}}
|
||||
>
|
||||
<AddCard />
|
||||
<AddCard />
|
||||
</YStack>
|
||||
)
|
||||
}
|
||||
|
||||
export default AddCardsContainer
|
@ -1,21 +1,12 @@
|
||||
import { YStack } from 'tamagui'
|
||||
|
||||
import AddCard from '../../components/General/AddCard'
|
||||
import BasicInfoCards from './BasicInfoCards/BasicInfoCards'
|
||||
import AddCardsContainer from './AddCardsContainer'
|
||||
|
||||
const Dashboard = () => {
|
||||
return (
|
||||
<YStack>
|
||||
<YStack
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
boxShadow: '0 0 8px rgba(0, 0, 0, 0.1)',
|
||||
width: 'fit-content',
|
||||
}}
|
||||
>
|
||||
<AddCard />
|
||||
<AddCard />
|
||||
</YStack>
|
||||
<YStack space={'$2'}>
|
||||
<AddCardsContainer />
|
||||
<BasicInfoCards />
|
||||
</YStack>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user