diff --git a/components/content-section/content-section.js b/components/content-section/content-section.js index 023cbcd7..ad730bee 100644 --- a/components/content-section/content-section.js +++ b/components/content-section/content-section.js @@ -3,58 +3,58 @@ import styles from "./content-section.scss"; import inView from "in-view"; export class ContentSectionPane extends React.Component { - - - render() { - - let classes = ''; - if('full' in this.props){ - classes += ' content-section-pane-full'; - } - if(this.props.className){ - classes += ' ' + this.props.className; - } - return (
- {this.props.children} -
); + render() { + let classes = ""; + if ("full" in this.props) { + classes += " content-section-pane-full"; } + if (this.props.className) { + classes += " " + this.props.className; + } + return ( +
+ {this.props.children} +
+ ); + } } export class ContentSection extends React.Component { - constructor(props) { - super(props); - } - - componentDidMount() { - inView.offset(50); - inView(".inview").on("enter", el => { - if (!el.classList.contains("showing")) { - el.classList.add("showing"); - } - }); - - inView('.inview').check(); + constructor(props) { + super(props); + } + + componentDidMount() { + inView.offset(50); + inView(".inview").on("enter", el => { + if (!el.classList.contains("showing")) { + el.classList.add("showing"); + } + }); + + inView(".inview").check(); + } + + render() { + let classes = ""; + + if ("full" in this.props) { + classes += " content-section-full"; } - - render() { - - let classes = ''; - - if('full' in this.props){ - classes += ' content-section-full'; - } - if(this.props.className){ - classes += ' ' + this.props.className; - } - return ( -
-
@@ -68,42 +66,37 @@ export const DownloadFeaturette = ({ platform }: DownloadFeaturetteProps) => {
-
- Download for other platforms - -
+
Download for other platforms
- {platform !== "Windows" - ? - - - : null} - {platform !== "macOS" - ? - {" "} - - : null} - {platform !== "Linux" - ? - {" "} - - : null} - + {platform !== "Windows" ? ( + + + + ) : null} + {platform !== "macOS" ? ( + + {" "} + + + ) : null} + {platform !== "Linux" ? ( + + {" "} + + + ) : null}
); diff --git a/components/footer/footer.js b/components/footer/footer.js index e9b92a8e..e2c9d11e 100644 --- a/components/footer/footer.js +++ b/components/footer/footer.js @@ -1,55 +1,53 @@ -import React from 'react' -import styles from './footer.scss' -import NavigationLeft from '../navigation/navigation-left' -import NavigationRight from '../navigation/navigation-right' -import SocialButtons from '../navigation/social-buttons' - +import React from "react"; +import styles from "./footer.scss"; +import NavigationLeft from "../navigation/navigation-left"; +import NavigationRight from "../navigation/navigation-right"; +import SocialButtons from "../navigation/social-buttons"; class Footer extends React.Component { + constructor(props) { + super(props); + } - - constructor(props) { - super(props); - } - - render() { - return ( -
-