<commit_before>// @flow
import Layout from "../components/layout/layout";
import ContentSection from "../components/content-section/content-section";
import React from "react";

import {
  PageHeader,
  PageHeaderLeft,
  PageHeaderRight
} from "../components/page-header/page-header";

const InteractiveCoding = () => (
  <ContentSection>
    <div className="panes center-vertically">
      <div className="pane-70 pane">
        <div className="section-graphic">
          <video
            style={{ boxShadow: "0 4px 14px 0 rgba(0,0,0,.1)" }}
            autoPlay
            loop
          >
            <source src="static/atom/interactive.mp4" type="video/mp4" />
            <image src="static/atom/interactive.png" alt="Interactive coding" />
          </video>
        </div>
      </div>
      <div className="pane-30 pane">
        <h3>Interactive computing in Atom</h3>
        <p>Choose which code to execute based on your needs.</p>
        <p>
          Run the whole file, a single line, a selection, or let Hydrogen decide which code to run based on the current cursor position.
        </p>
      </div>
    </div>
  </ContentSection>
);

const WatchExpressions = () => (
  <ContentSection>
    <div className="panes center-vertically">
      <div className="pane-30 pane">
        <h3>Watch Expressions</h3>
        <p>
          Get instant feedback on your written code every time you hit execute.
        </p>
      </div>
      <div className="pane-70 pane">
        <div className="section-graphic">
          <video
            style={{ boxShadow: "0 4px 14px 0 rgba(0,0,0,.1)" }}
            autoPlay
            loop
          >
            <source src="static/atom/watch-expressions.mp4" type="video/mp4" />
            <image
              src="static/atom/watch-expressions.png"
              alt="Watch Expressions"
            />
          </video>

        </div>
      </div>
    </div>
  </ContentSection>
);

const InspectCode = () => (
  <ContentSection>
    <div className="panes center-vertically">
      <div className="pane-70 pane">
        <div className="section-graphic">
          <image src="static/atom/inspect.png" alt="Code Completion" />
        </div>
      </div>
      <div className="pane-30 pane">
        <h3>Code Completion and Documentation</h3>
        <p>Code completion and a inspector for displaying metadata, like documentation, are there to make your coding experience seamless.</p>
        <p>
          There’s no need to leave your favorite text editor to get the information you need to fuel your development process.
        </p>
      </div>
    </div>
  </ContentSection>
);

export default class AtomPage extends React.Component {
  render() {
    return (
      <Layout pageTitle=": Hydrogen for Atom">
        <PageHeader color="#333">
          <PageHeaderLeft>
            <h1>
              Hydrogen
            </h1>

            <p>
              Run your code with an interactive REPL session with your language of choice inside GitHub’s
              {" "}
              <a href="https://atom.io/">Atom</a>
              {" "}
              text editor.
            </p>
            <p>
              All the power of Jupyter kernels, inside your favorite text editor.
            </p>
            <p>Install Hydrogen now with:</p>
            <code>apm install hydrogen</code>

            <div className="mobile-only hero-mobile-message">
              <h4>Connect with us</h4>
            </div>

          </PageHeaderLeft>
          <PageHeaderRight>
            <img
              src="static/atom/featured.png"
              alt="Hydrogen"
              className="cutoff-image"
            />
          </PageHeaderRight>
        </PageHeader>
        <InteractiveCoding />
        <WatchExpressions />
        <InspectCode />
      </Layout>
    );
  }
}
<commit_msg>Atom: Use <img/> instead of <image/><commit_after>// @flow
import Layout from "../components/layout/layout";
import ContentSection from "../components/content-section/content-section";
import React from "react";

import {
  PageHeader,
  PageHeaderLeft,
  PageHeaderRight
} from "../components/page-header/page-header";

const InteractiveCoding = () => (
  <ContentSection>
    <div className="panes center-vertically">
      <div className="pane-70 pane">
        <div className="section-graphic">
          <video
            style={{ boxShadow: "0 4px 14px 0 rgba(0,0,0,.1)" }}
            autoPlay
            loop
          >
            <source src="static/atom/interactive.mp4" type="video/mp4" />
            <image src="static/atom/interactive.png" alt="Interactive coding" />
          </video>
        </div>
      </div>
      <div className="pane-30 pane">
        <h3>Interactive computing in Atom</h3>
        <p>Choose which code to execute based on your needs.</p>
        <p>
          Run the whole file, a single line, a selection, or let Hydrogen decide which code to run based on the current cursor position.
        </p>
      </div>
    </div>
  </ContentSection>
);

const WatchExpressions = () => (
  <ContentSection>
    <div className="panes center-vertically">
      <div className="pane-30 pane">
        <h3>Watch Expressions</h3>
        <p>
          Get instant feedback on your written code every time you hit execute.
        </p>
      </div>
      <div className="pane-70 pane">
        <div className="section-graphic">
          <video
            style={{ boxShadow: "0 4px 14px 0 rgba(0,0,0,.1)" }}
            autoPlay
            loop
          >
            <source src="static/atom/watch-expressions.mp4" type="video/mp4" />
            <image
              src="static/atom/watch-expressions.png"
              alt="Watch Expressions"
            />
          </video>

        </div>
      </div>
    </div>
  </ContentSection>
);

const InspectCode = () => (
  <ContentSection>
    <div className="panes center-vertically">
      <div className="pane-70 pane">
        <div className="section-graphic">
          <img src="static/atom/inspect.png" alt="Code Completion" />
        </div>
      </div>
      <div className="pane-30 pane">
        <h3>Code Completion and Documentation</h3>
        <p>Code completion and a inspector for displaying metadata, like documentation, are there to make your coding experience seamless.</p>
        <p>
          There’s no need to leave your favorite text editor to get the information you need to fuel your development process.
        </p>
      </div>
    </div>
  </ContentSection>
);

export default class AtomPage extends React.Component {
  render() {
    return (
      <Layout pageTitle=": Hydrogen for Atom">
        <PageHeader color="#333">
          <PageHeaderLeft>
            <h1>
              Hydrogen
            </h1>

            <p>
              Run your code with an interactive REPL session with your language of choice inside GitHub’s
              {" "}
              <a href="https://atom.io/">Atom</a>
              {" "}
              text editor.
            </p>
            <p>
              All the power of Jupyter kernels, inside your favorite text editor.
            </p>
            <p>Install Hydrogen now with:</p>
            <code>apm install hydrogen</code>

            <div className="mobile-only hero-mobile-message">
              <h4>Connect with us</h4>
            </div>

          </PageHeaderLeft>
          <PageHeaderRight>
            <img
              src="static/atom/featured.png"
              alt="Hydrogen"
              className="cutoff-image"
            />
          </PageHeaderRight>
        </PageHeader>
        <InteractiveCoding />
        <WatchExpressions />
        <InspectCode />
      </Layout>
    );
  }
}

{'fraction_non_alphanumeric': 0.12265736073413468, 'fraction_numerical': 0.012149411916763603, 'mean_word_length': 1.8076923076923077, 'pattern_counts': {'":': 2, '<': 171, '<?xml version=': 0, '>': 177, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2041065', 'n_tokens_mistral': 2246, 'n_tokens_neox': 2159, 'n_words': 593}