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'
|
||||
rowGap='10px'
|
||||
borderRadius='10px'
|
||||
cursor='pointer'
|
||||
cursor={selectable ? 'pointer' : undefined}
|
||||
>
|
||||
<Box display='flex' flexDirection='row' alignItems='center'>
|
||||
<Box flexGrow='1'>
|
||||
|
||||
@@ -942,7 +942,8 @@ const AddProject = () => {
|
||||
feature
|
||||
)}
|
||||
toggleSelect={() => {
|
||||
setSelectedFeature(feature);
|
||||
if (feature.featureType !== 'backend')
|
||||
setSelectedFeature(feature);
|
||||
if (
|
||||
featuresForm.values.selectedFeatures &&
|
||||
!featuresForm.values.selectedFeatures.includes(
|
||||
@@ -994,10 +995,15 @@ const AddProject = () => {
|
||||
<Carousel {...carouselSettings}>
|
||||
{selectedFeature?.wireframes?.map((wireframe) => (
|
||||
<Box
|
||||
height='0'
|
||||
width='150px'
|
||||
height='300px'
|
||||
background={`url(${wireframe.src})`}
|
||||
></Box>
|
||||
overflow='hidden'
|
||||
paddingTop='calc(591.44 / 1127.34 * 100%)'
|
||||
position='relative'
|
||||
className='wireframe'
|
||||
>
|
||||
<img src={wireframe.src} alt='Wireframe' />
|
||||
</Box>
|
||||
))}
|
||||
</Carousel>
|
||||
</>
|
||||
|
||||
@@ -15,4 +15,14 @@ export const Wrapper = styled.div<WrapperProps>`
|
||||
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}
|
||||
disabled={loading}
|
||||
/>
|
||||
{/* <Button
|
||||
variant='secondary-action'
|
||||
fullWidth
|
||||
color='client'
|
||||
text='Login with Google'
|
||||
iconLeft={<Google />}
|
||||
/> */}
|
||||
</Box>
|
||||
<Box display='flex' flexDirection='row'>
|
||||
<Box flexGrow='1'>
|
||||
@@ -150,9 +143,6 @@ const Login = () => {
|
||||
</Text>
|
||||
<Link href='/signup'>Signup</Link>
|
||||
</Box>
|
||||
<Link href='/' color='gray'>
|
||||
Build a Project
|
||||
</Link>
|
||||
</Box>
|
||||
</Box>
|
||||
</form>
|
||||
|
||||
@@ -125,13 +125,6 @@ const Signup = () => {
|
||||
loading={loading}
|
||||
disabled={loading}
|
||||
/>
|
||||
{/* <Button
|
||||
variant='secondary-action'
|
||||
fullWidth
|
||||
color='client'
|
||||
text='Signup with Google'
|
||||
iconLeft={<Google />}
|
||||
/> */}
|
||||
</Box>
|
||||
<Box display='flex' flexDirection='row'>
|
||||
<Box flexGrow='1'>
|
||||
@@ -140,9 +133,6 @@ const Signup = () => {
|
||||
</Text>
|
||||
<Link href='/login'>Login</Link>
|
||||
</Box>
|
||||
<Link href='/' color='gray'>
|
||||
Build a Project
|
||||
</Link>
|
||||
</Box>
|
||||
</Box>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user