fix: remove old page wrapper

This commit is contained in:
RadoslavDimchev 2023-08-10 13:10:26 +03:00
parent 482b6b6954
commit c8ba74c277
1 changed files with 0 additions and 43 deletions

View File

@ -1,43 +0,0 @@
import { Stack, XStack, styled } from 'tamagui'
import { ReactNode } from 'react'
const Background = styled(Stack, {
display: 'flex',
justifyContent: 'center',
backgroundColor: 'white',
width: '100vw',
})
type PageWrapperProps = {
children: ReactNode
}
const PageWrapper = ({ children }: PageWrapperProps) => {
return (
<Background>
<div
style={{
border: '4px solid #09101C',
borderRadius: '30px',
padding: 0,
margin: 0,
}}
>
<XStack
space={'$8'}
style={{
background: 'linear-gradient(180deg, rgba(245,242,254,1) 0%, rgba(255,255,255,1) 100%)',
width: '100%',
display: 'flex',
justifyContent: 'end',
alignItems: 'center',
}}
>
{children}
</XStack>
</div>
</Background>
)
}
export default PageWrapper