Skip to content

Commit

Permalink
Remove newsletter subscription forms
Browse files Browse the repository at this point in the history
  • Loading branch information
reuben committed Dec 1, 2023
1 parent f6e3d05 commit 170fd07
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 295 deletions.
61 changes: 1 addition & 60 deletions src/layouts/BrandVoices/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,64 +16,5 @@ import { Grid, Row, Col } from '@zendeskgarden/react-grid';
import { XL, XXXL } from '@zendeskgarden/react-typography';

export const SignUp: React.FC = () => {
return (
<SignUpWidthLayout
css={css`
padding-top: ${p => p.theme.space.base * 50}px;
padding-bottom: ${p => p.theme.space.base * 60}px;
${p => mediaQuery('down', 'md', p.theme)} {
padding-top: ${p => p.theme.space.base * 25}px;
padding-bottom: ${p => p.theme.space.base * 30}px;
}
${p => mediaQuery('down', 'sm', p.theme)} {
padding-top: ${p => p.theme.space.base * 15}px;
padding-bottom: ${p => p.theme.space.base * 18}px;
}
`}
>
<Well isFloating>
<Grid
gutters="lg"
css={css`
margin-top: ${p => p.theme.space.md};
margin-bottom: ${p => p.theme.space.md};
`}
>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XXXL
isBold
css={css`
text-align: center;
${headerStyling}
`}
>
Intrigued?
</XXXL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XL
isBold
css={css`
text-align: center;
${textStyling}
`}
>
Sign Up and Stay in the Loop
</XL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<SignUpForm url="https://coqui.us1.list-manage.com/subscribe/post?u=6faea2f1f19c814566173ffb0&amp;id=29217798a3" />
</Col>
</Row>
</Grid>
</Well>
</SignUpWidthLayout>
);
return null;
};
69 changes: 1 addition & 68 deletions src/layouts/Dubbing/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,74 +6,7 @@
*/

import React from 'react';
import { css } from 'styled-components';
import { SignUpForm } from './SignUpForm';
import SignUpWidthLayout from './SignUpWidth';
import { headerStyling, textStyling } from './Styles';
import { Well } from '@zendeskgarden/react-notifications';
import { mediaQuery } from '@zendeskgarden/react-theming';
import { Grid, Row, Col } from '@zendeskgarden/react-grid';
import { XL, XXXL } from '@zendeskgarden/react-typography';

export const SignUp: React.FC = () => {
return (
<SignUpWidthLayout
css={css`
padding-top: ${p => p.theme.space.base * 50}px;
padding-bottom: ${p => p.theme.space.base * 60}px;
${p => mediaQuery('down', 'md', p.theme)} {
padding-top: ${p => p.theme.space.base * 25}px;
padding-bottom: ${p => p.theme.space.base * 30}px;
}
${p => mediaQuery('down', 'sm', p.theme)} {
padding-top: ${p => p.theme.space.base * 15}px;
padding-bottom: ${p => p.theme.space.base * 18}px;
}
`}
>
<Well isFloating>
<Grid
gutters="lg"
css={css`
margin-top: ${p => p.theme.space.md};
margin-bottom: ${p => p.theme.space.md};
`}
>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XXXL
isBold
css={css`
text-align: center;
${headerStyling}
`}
>
Intrigued?
</XXXL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XL
isBold
css={css`
text-align: center;
${textStyling}
`}
>
Sign Up and Stay in the Loop
</XL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<SignUpForm url="https://coqui.us1.list-manage.com/subscribe/post?u=6faea2f1f19c814566173ffb0&amp;id=29217798a3" />
</Col>
</Row>
</Grid>
</Well>
</SignUpWidthLayout>
);
return null;
};
69 changes: 1 addition & 68 deletions src/layouts/PostProduction/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,74 +6,7 @@
*/

import React from 'react';
import { css } from 'styled-components';
import { SignUpForm } from './SignUpForm';
import SignUpWidthLayout from './SignUpWidth';
import { headerStyling, textStyling } from './Styles';
import { Well } from '@zendeskgarden/react-notifications';
import { mediaQuery } from '@zendeskgarden/react-theming';
import { Grid, Row, Col } from '@zendeskgarden/react-grid';
import { XL, XXXL } from '@zendeskgarden/react-typography';

export const SignUp: React.FC = () => {
return (
<SignUpWidthLayout
css={css`
padding-top: ${p => p.theme.space.base * 50}px;
padding-bottom: ${p => p.theme.space.base * 60}px;
${p => mediaQuery('down', 'md', p.theme)} {
padding-top: ${p => p.theme.space.base * 25}px;
padding-bottom: ${p => p.theme.space.base * 30}px;
}
${p => mediaQuery('down', 'sm', p.theme)} {
padding-top: ${p => p.theme.space.base * 15}px;
padding-bottom: ${p => p.theme.space.base * 18}px;
}
`}
>
<Well isFloating>
<Grid
gutters="lg"
css={css`
margin-top: ${p => p.theme.space.md};
margin-bottom: ${p => p.theme.space.md};
`}
>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XXXL
isBold
css={css`
text-align: center;
${headerStyling}
`}
>
Intrigued?
</XXXL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XL
isBold
css={css`
text-align: center;
${textStyling}
`}
>
Sign Up and Stay in the Loop
</XL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<SignUpForm url="https://coqui.us1.list-manage.com/subscribe/post?u=6faea2f1f19c814566173ffb0&amp;id=29217798a3" />
</Col>
</Row>
</Grid>
</Well>
</SignUpWidthLayout>
);
return null;
};
31 changes: 0 additions & 31 deletions src/layouts/Root/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,37 +99,6 @@ const Footer: React.FC<IFooterLayoutProps> = ({ isSubscribing }) => {
}
`}
>
<div
css={css`
grid-area: col-1;
width: 380px;
${p => mediaQuery('down', 'md', p.theme)} {
width: 320px;
}
${p => mediaQuery('down', 'sm', p.theme)} {
width: 350px;
}
`}
>
<p
css={css`
margin-bottom: 10px;
width: 260px;
line-height: 140%;
font-size: 16px;
font-weight: 400;
${p => mediaQuery('down', 'sm', p.theme)} {
margin-bottom: 20px;
}
`}
>
Sign up with your email address to receive the Coqui newsletter.
</p>
<NewsletterForm url="https://coqui.us1.list-manage.com/subscribe/post?u=6faea2f1f19c814566173ffb0&amp;id=f9b303df7f" />
</div>
<div css="grid-area: col-3">
<p
css={`
Expand Down
69 changes: 1 addition & 68 deletions src/layouts/VideoGames/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,74 +6,7 @@
*/

import React from 'react';
import { css } from 'styled-components';
import { SignUpForm } from './SignUpForm';
import SignUpWidthLayout from './SignUpWidth';
import { headerStyling, textStyling } from './Styles';
import { Well } from '@zendeskgarden/react-notifications';
import { mediaQuery } from '@zendeskgarden/react-theming';
import { Grid, Row, Col } from '@zendeskgarden/react-grid';
import { XL, XXXL } from '@zendeskgarden/react-typography';

export const SignUp: React.FC = () => {
return (
<SignUpWidthLayout
css={css`
padding-top: ${p => p.theme.space.base * 50}px;
padding-bottom: ${p => p.theme.space.base * 60}px;
${p => mediaQuery('down', 'md', p.theme)} {
padding-top: ${p => p.theme.space.base * 25}px;
padding-bottom: ${p => p.theme.space.base * 30}px;
}
${p => mediaQuery('down', 'sm', p.theme)} {
padding-top: ${p => p.theme.space.base * 15}px;
padding-bottom: ${p => p.theme.space.base * 18}px;
}
`}
>
<Well isFloating>
<Grid
gutters="lg"
css={css`
margin-top: ${p => p.theme.space.md};
margin-bottom: ${p => p.theme.space.md};
`}
>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XXXL
isBold
css={css`
text-align: center;
${headerStyling}
`}
>
Intrigued?
</XXXL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<XL
isBold
css={css`
text-align: center;
${textStyling}
`}
>
Sign Up and Stay in the Loop
</XL>
</Col>
</Row>
<Row alignItems="center" justifyContent="center">
<Col size={12} order={0}>
<SignUpForm url="https://coqui.us1.list-manage.com/subscribe/post?u=6faea2f1f19c814566173ffb0&amp;id=29217798a3" />
</Col>
</Row>
</Grid>
</Well>
</SignUpWidthLayout>
);
return null;
};

0 comments on commit 170fd07

Please sign in to comment.