Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
right: 0;
width: 50%;
height: auto;
transform: translate(20%, 30%);
animation: ${rotation} 5s ease-in-out infinite;
animation-direction: alternate-reverse;
${up(
'md',
css`
animation-name: ${rotationMd};
`,
)}
`
const WorkshopTitle = styled.h2`
margin: 0;
font-size: 50;
color: lighter;
`
const ClientLogoImg = styled(Img)`
&.mode-dark {
filter: brightness(0) invert(1);
}
&.mode-light {
filter: brightness(0);
}
`
function Clients({ clientLogos }) {
import styled, { css } from '@xstyled/styled-components'
import { up } from '@xstyled/system'
import { Container } from './Container'
import { FadeLink } from './Link'
export const Header = styled.header`
background-color: light200;
color: darker;
border-top: 1;
border-bottom: 1;
border-color: light300;
`
export const HeaderTitle = styled.h2`
margin: 0;
font-weight: 300;
display: flex;
align-items: center;
flex: 1;
font-size: 18;
margin-bottom: 2;
${up(
'md',
css`
font-size: 24;
margin-bottom: 0;
`,
)}
`
right: 0;
width: 50%;
height: auto;
transform: translate(20%, 30%);
animation: ${rotation} 5s ease-in-out infinite;
animation-direction: alternate-reverse;
${up(
'md',
css`
animation-name: ${rotationMd};
`,
)}
`
const WorkshopTitle = styled.h2`
margin: 0;
font-size: 50;
color: lighter;
`
const ClientLogoImg = styled(Img)`
&.mode-dark {
filter: brightness(0) invert(1);
}
&.mode-light {
filter: brightness(0);
}
`
function Clients({ clientLogos }) {
import styled, { css } from '@xstyled/styled-components'
import { up } from '@xstyled/system'
import { Container } from './Container'
import { FadeLink } from './Link'
export const Header = styled.header`
background-color: gray800;
color: white;
border-top: 1;
border-bottom: 1;
border-color: gray700;
`
export const HeaderTitle = styled.h2`
margin: 0;
font-weight: 300;
display: flex;
align-items: center;
flex: 1;
font-size: 18;
margin-bottom: 2;
${up(
'md',
css`
font-size: 24;
margin-bottom: 0;
`,
)}
`
import { useMustBeEmail, InputField, Button } from '../components/Form'
export const FormLayout = styled.div`
display: flex;
flex-direction: column;
margin: -2 -3;
${up(
'md',
css`
flex-direction: row;
`,
)}
`
const Teaser = styled.h2`
font-size: 26;
font-weight: 500;
color: lighter;
margin: 4 0;
`
const Success = styled.div`
text-align: center;
p:first-child {
font-size: 26;
color: lighter;
margin: 2 0;
}
p:last-child {