From a744fb422b7908e3193cae08ac742f5112460d49 Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Tue, 5 Jan 2021 15:10:29 +0000 Subject: [PATCH] make site valid in accordance to W3C validator.. Fixes gitpod-io/website#842 --- src/components/FeatureCard.tsx | 2 +- src/components/TrustedBy.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/FeatureCard.tsx b/src/components/FeatureCard.tsx index ecef5a927..4ffd5c73d 100644 --- a/src/components/FeatureCard.tsx +++ b/src/components/FeatureCard.tsx @@ -43,7 +43,7 @@ const Styled = styled.div<{ &:nth-of-type(2n) { @media (min-width: 1141px) { - flex-direction: ${({ opposite }) => (opposite ? 'reverse' : 'row-reverse')}; + flex-direction: ${({ opposite }) => (opposite ? 'row' : 'row-reverse')}; } @media (min-width: 1141px) { diff --git a/src/components/TrustedBy.tsx b/src/components/TrustedBy.tsx index a1f8ad753..d3820c4da 100644 --- a/src/components/TrustedBy.tsx +++ b/src/components/TrustedBy.tsx @@ -78,7 +78,7 @@ const StyledTrustedBy = styled.section` } ` -const StyledBrandImage = styled.img<{ transform?: string }>` +const StyledBrandImage = styled.img<{ transformValue?: string }>` width: 9.5rem; @media(max-width: ${sizes.breakpoints.lg}) { @@ -90,7 +90,7 @@ const StyledBrandImage = styled.img<{ transform?: string }>` } @media(min-width: calc(${sizes.breakpoints.lg} + 1px)) { - transform: ${({ transform }) => (transform ? transform : 'none')}; + transform: ${({ transformValue }) => (transformValue ? transformValue : 'none')}; } ` @@ -117,7 +117,7 @@ const TrustedBy = ({ brands, title, styles }: TrustedByProps) => (
{brands.map((b: Brand) => ( - + ))}