Skip to content

Commit

Permalink
feat: re-enable create your account and tidy-up
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-daniel-dempsey committed Oct 23, 2024
1 parent cb0d73e commit 35d9d63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const desktopImg = css`
display: none;
height: auto;
margin-left: auto;
margin-top: -${space[4]}px;
margin-bottom: -${space[5]}px;
margin-top: -${space[2]}px; // padding-top over-run
margin-bottom: -${space[5]}px; // padding-bottom over-run
& img {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const bodyContainer = css`
`;
const sizeContainer = css`
z-index: 1;
width: 100%;
${between.tablet.and.desktop} {
width: 330px;
}
Expand Down Expand Up @@ -156,9 +155,9 @@ const appContainer = css`
const imgContainer = css`
grid-area: img;
align-self: flex-end;
margin-top: ${space[2]}px;
`;
const sizeImgContainer = css`
margin-top: ${space[2]}px;
${until.tablet} {
margin-top: ${space[4]}px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,7 @@ export function ThankYouComponent({
): ThankYouModuleType[] => (condition ? [moduleType] : []);

const thankYouModules: ThankYouModuleType[] = [
...maybeThankYouModule(
isNewAccount && !showNewspaperArchiveBenefit,
'signUp',
), // Create your Guardian account
...maybeThankYouModule(isNewAccount, 'signUp'), // Create your Guardian account
...maybeThankYouModule(!isNewAccount && !isSignedIn, 'signIn'), // Sign in to access your benefits
...maybeThankYouModule(isTier3, 'benefits'),
...maybeThankYouModule(isTier3, 'subscriptionStart'),
Expand Down

0 comments on commit 35d9d63

Please sign in to comment.