{"size": 1186, "ext": "js", "max_stars_repo_path": "components/PageLayout.js", "max_stars_repo_name": "peggyrayzis/native-directory", "max_stars_repo_stars_event_min_datetime": "2019-01-14T08:30:29.000Z", "max_stars_repo_stars_event_max_datetime": "2020-10-23T14:10:28.000Z", "max_issues_repo_path": "components/PageLayout.js", "max_issues_repo_name": "peggyrayzis/native-directory", "max_issues_repo_issues_event_min_datetime": "2020-01-14T12:50:49.000Z", "max_issues_repo_issues_event_max_datetime": "2020-01-14T12:50:49.000Z", "max_forks_repo_path": "components/PageLayout.js", "max_forks_repo_name": "peggyrayzis/native-directory", "max_forks_repo_forks_event_min_datetime": "2019-01-14T08:30:30.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-20T10:35:56.000Z"}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": 3, "avg_line_length": 22.8076923077, "max_line_length": 42, "alphanum_fraction": 0.4679595278}
import React from 'react';

export default props => {
  return (
    <div className="page-layout">
      <style jsx>{`
        .page-layout {
          width: 100%;
          max-width: 1319px;
          padding: 0 24px 0 24px;
          box-sizing: border-box;
          margin: 0 auto 0 auto;
          display: flex;
          align-items: flex-start;
          justify-content: space-between;

          @media (max-width: 768px) {
            flex-direction: column;
          }
        }

        .page-layout-left {
          min-width: 25%;
          width: 100%;
        }

        .page-layout-right {
          padding: 0 0 48px 32px;
          border-left: 1px solid #ececec;
          flex-shrink: 0;
          width: 260px;

          @media (max-width: 768px) {
            padding: 0 0 0 0;
            border-top: 1px solid #ececec;
            border-left: none;
            flex-shrink: unset;
            flex-basis: auto;
            width: 100%;
          }
        }
      `}</style>
      <div className="page-layout-left">
        {props.children}
      </div>
      <div className="page-layout-right">
        {props.rightSide}
      </div>
    </div>
  );
};
