-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate Jumbotron styles * Export Jumbotron styles * Regroup imports * Reuse colors from the theme * Migrate styles for HowWeWorkSection * Fix headings of the sections on Homepage * Update info texts on Homepage * Migrate styles for TeamMemberSection * Fix OutlinedButton styles * Migrate styles for JoinPodkrepiBgSection * Migrate styles for FaqSection * Fix FaqSection styles * Migrate styles for CampaignsSection * Fix headings * Add minor FE fixes * Remove unused icons * Remove unused code * extending playwright tests to see why tests fail in github actions * add: workflow dispatch to enable triggering github action from CLI * run backend from folder instead of docker * node version set to 16 * start backend in block mode to see log * now wait for ports to open * add forgotten yarn prisma generate * block on api to see logs * wait on campaign/list * check force db seed * user docker to migrate and seed the db * test backend with curl * try db migrate directly again * backend server started well, now fix the wait on ports * debugging showed db seed was not stable. final adjustments here. * testing for backend ready readjusted * test now assert text visibility instead of ability to click * trying another selector for FAQ section * try to skip the FAQ section buggy behavior Co-authored-by: quantum-grit <[email protected]>
- Loading branch information
1 parent
ca0295b
commit 8c778cd
Showing
28 changed files
with
477 additions
and
771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,11 @@ | ||
import { styled } from '@mui/material/styles' | ||
import LinkIcon from '@mui/icons-material/Link' | ||
import { PropsWithChildren, useState } from 'react' | ||
import { Typography, TypographyProps } from '@mui/material' | ||
|
||
import LinkIconButton from 'components/common/LinkIconButton' | ||
import { PropsWithChildren } from 'react' | ||
|
||
const PREFIX = 'Heading' | ||
|
||
const classes = { | ||
linkIcon: `${PREFIX}-linkIcon`, | ||
hideLinkIcon: `${PREFIX}-hideLinkIcon`, | ||
} | ||
|
||
const Root = styled('div')(({ theme }) => ({ | ||
[`& .${classes.linkIcon}`]: { | ||
transform: 'rotate(-45deg)', | ||
color: theme.palette.primary.main, | ||
'&:hover': { | ||
color: theme.palette.primary.dark, | ||
}, | ||
}, | ||
|
||
[`& .${classes.hideLinkIcon}`]: { | ||
visibility: 'hidden', | ||
}, | ||
})) | ||
import { Typography, TypographyProps } from '@mui/material' | ||
|
||
type HeadingParams = PropsWithChildren<TypographyProps> & { | ||
component?: React.ElementType | ||
} | ||
|
||
export default function Heading({ children, id, ...props }: HeadingParams) { | ||
return ( | ||
<Root id={id}> | ||
<Typography {...props}>{children}</Typography> | ||
</Root> | ||
) | ||
export default function Heading({ children, ...props }: HeadingParams) { | ||
return <Typography {...props}>{children}</Typography> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Typography } from '@mui/material' | ||
import { styled } from '@mui/system' | ||
|
||
import theme from 'common/theme' | ||
import LinkButton from 'components/common/LinkButton' | ||
|
||
export const Heading = styled(Typography)(() => ({ | ||
color: theme.palette.primary.dark, | ||
textAlign: 'center', | ||
fontWeight: 500, | ||
marginBottom: theme.spacing(6), | ||
})) | ||
|
||
export const InfoText = styled(Typography)(() => ({ | ||
display: 'inline-block', | ||
textAlign: 'center', | ||
fontFamily: 'Montserrat', | ||
fontSize: theme.typography.pxToRem(16), | ||
lineHeight: theme.spacing(3), | ||
paddingBottom: theme.spacing(6), | ||
})) | ||
|
||
export const OutlinedButton = styled(LinkButton)(() => ({ | ||
marginTop: theme.spacing(6), | ||
fontWeight: 'bold', | ||
color: theme.palette.common.black, | ||
|
||
[theme.breakpoints.up('sm')]: { | ||
minWidth: theme.spacing(35), | ||
}, | ||
})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
src/components/index/helpers/whatUnitesUs/WhatUnitesUsCard.tsx
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
src/components/index/helpers/whatUnitesUs/whatUnitesUsData.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.