Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
make site valid in accordance to W3C validator..
Browse files Browse the repository at this point in the history
Fixes gitpod-io/website#842
  • Loading branch information
nisarhassan12 committed Jan 5, 2021
1 parent 49c7da9 commit 786452f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/components/FeatureCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions src/components/TrustedBy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand All @@ -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')};
}
`

Expand All @@ -117,7 +117,7 @@ const TrustedBy = ({ brands, title, styles }: TrustedByProps) => (
<div className="logos">
{brands.map((b: Brand) => (
<a href={b.url} target="_blank" className="trustedBy">
<StyledBrandImage src={b.svg} alt={b.alt} transform={b.transform} className={b.className} />
<StyledBrandImage src={b.svg} alt={b.alt} transformValue={b.transform} className={b.className} />
</a>
))}
</div>
Expand Down
50 changes: 25 additions & 25 deletions src/components/index/PrefixInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,41 +272,41 @@ const PrefixInput = () => {

return (
<Styled>
<div className="header" aria-hidden="true">
<div className="dots">
<span className="header" aria-hidden="true">
<span className="dots">
<span>&nbsp;</span>
<span>&nbsp;</span>
<span>&nbsp;</span>
</div>
<div className="tab">
<div className="bar">
</span>
<span className="tab">
<span className="bar">
&nbsp;
</div>
</span>
<img src={Close} />
</div>
<div className="new-tab">
</span>
<span className="new-tab">
<img src={Plus} />
</div>
</div>
<div className="main">
<div className="bar-container" aria-hidden="true">
<div className="bar">&nbsp;</div>
<div className="bar">&nbsp;</div>
<div className="bar">&nbsp;</div>
</div>
<div className="input-container">
<div className="label">
</span>
</span>
<span className="main">
<span className="bar-container" aria-hidden="true">
<span className="bar">&nbsp;</span>
<span className="bar">&nbsp;</span>
<span className="bar">&nbsp;</span>
</span>
<span className="input-container">
<span className="label">
<img src={World} aria-hidden="true" />
<span>https://gitpod.io/#</span>
</div>
</span>
<span className="wrapper">
<input
defaultValue={url}
onKeyPress={handleReturn}
onChange={handleChange}
type="text"
/>
<div className="message" style={ error ? {color: '#bf4338'} : {}}>
<span className="message" style={ error ? {color: '#bf4338'} : {}}>
<>
<p>
{ error ? error : 'Enter your GitLab, GitHub, or Bitbucket URL' }
Expand All @@ -320,13 +320,13 @@ const PrefixInput = () => {
Start Workspace
</a>
</>
</div>
</span>
</span>
</div>
</div>
<div className="info">
</span>
</span>
<span className="info">
&nbsp;
</div>
</span>
</Styled>
)
}
Expand Down

0 comments on commit 786452f

Please sign in to comment.