mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Fix styles
This commit is contained in:
@@ -34,7 +34,7 @@ const FeatureCard = ({
|
|||||||
alignItems='center'
|
alignItems='center'
|
||||||
rowGap='10px'
|
rowGap='10px'
|
||||||
borderRadius='10px'
|
borderRadius='10px'
|
||||||
cursor='pointer'
|
cursor={selectable ? 'pointer' : undefined}
|
||||||
>
|
>
|
||||||
<Box display='flex' flexDirection='row' alignItems='center'>
|
<Box display='flex' flexDirection='row' alignItems='center'>
|
||||||
<Box flexGrow='1'>
|
<Box flexGrow='1'>
|
||||||
|
|||||||
@@ -942,7 +942,8 @@ const AddProject = () => {
|
|||||||
feature
|
feature
|
||||||
)}
|
)}
|
||||||
toggleSelect={() => {
|
toggleSelect={() => {
|
||||||
setSelectedFeature(feature);
|
if (feature.featureType !== 'backend')
|
||||||
|
setSelectedFeature(feature);
|
||||||
if (
|
if (
|
||||||
featuresForm.values.selectedFeatures &&
|
featuresForm.values.selectedFeatures &&
|
||||||
!featuresForm.values.selectedFeatures.includes(
|
!featuresForm.values.selectedFeatures.includes(
|
||||||
@@ -994,10 +995,15 @@ const AddProject = () => {
|
|||||||
<Carousel {...carouselSettings}>
|
<Carousel {...carouselSettings}>
|
||||||
{selectedFeature?.wireframes?.map((wireframe) => (
|
{selectedFeature?.wireframes?.map((wireframe) => (
|
||||||
<Box
|
<Box
|
||||||
|
height='0'
|
||||||
width='150px'
|
width='150px'
|
||||||
height='300px'
|
overflow='hidden'
|
||||||
background={`url(${wireframe.src})`}
|
paddingTop='calc(591.44 / 1127.34 * 100%)'
|
||||||
></Box>
|
position='relative'
|
||||||
|
className='wireframe'
|
||||||
|
>
|
||||||
|
<img src={wireframe.src} alt='Wireframe' />
|
||||||
|
</Box>
|
||||||
))}
|
))}
|
||||||
</Carousel>
|
</Carousel>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -15,4 +15,14 @@ export const Wrapper = styled.div<WrapperProps>`
|
|||||||
stroke: ${({ theme, color }) => theme.colors[color || 'client'].main};
|
stroke: ${({ theme, color }) => theme.colors[color || 'client'].main};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wireframe {
|
||||||
|
img {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -135,13 +135,6 @@ const Login = () => {
|
|||||||
loading={loading}
|
loading={loading}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
/>
|
/>
|
||||||
{/* <Button
|
|
||||||
variant='secondary-action'
|
|
||||||
fullWidth
|
|
||||||
color='client'
|
|
||||||
text='Login with Google'
|
|
||||||
iconLeft={<Google />}
|
|
||||||
/> */}
|
|
||||||
</Box>
|
</Box>
|
||||||
<Box display='flex' flexDirection='row'>
|
<Box display='flex' flexDirection='row'>
|
||||||
<Box flexGrow='1'>
|
<Box flexGrow='1'>
|
||||||
@@ -150,9 +143,6 @@ const Login = () => {
|
|||||||
</Text>
|
</Text>
|
||||||
<Link href='/signup'>Signup</Link>
|
<Link href='/signup'>Signup</Link>
|
||||||
</Box>
|
</Box>
|
||||||
<Link href='/' color='gray'>
|
|
||||||
Build a Project
|
|
||||||
</Link>
|
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -125,13 +125,6 @@ const Signup = () => {
|
|||||||
loading={loading}
|
loading={loading}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
/>
|
/>
|
||||||
{/* <Button
|
|
||||||
variant='secondary-action'
|
|
||||||
fullWidth
|
|
||||||
color='client'
|
|
||||||
text='Signup with Google'
|
|
||||||
iconLeft={<Google />}
|
|
||||||
/> */}
|
|
||||||
</Box>
|
</Box>
|
||||||
<Box display='flex' flexDirection='row'>
|
<Box display='flex' flexDirection='row'>
|
||||||
<Box flexGrow='1'>
|
<Box flexGrow='1'>
|
||||||
@@ -140,9 +133,6 @@ const Signup = () => {
|
|||||||
</Text>
|
</Text>
|
||||||
<Link href='/login'>Login</Link>
|
<Link href='/login'>Login</Link>
|
||||||
</Box>
|
</Box>
|
||||||
<Link href='/' color='gray'>
|
|
||||||
Build a Project
|
|
||||||
</Link>
|
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user