feat: move add cards into container

This commit is contained in:
RadoslavDimchev 2023-09-13 11:12:13 +03:00
parent 3cd4f73de8
commit 6835236ee5
2 changed files with 22 additions and 12 deletions

View 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

View File

@ -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>
)