<commit_before>import React, { Component } from 'react';
import Footer from './footer';
import Logo from './logo';
import { Navbar, Nav, Layout } from 'olymp-fela';
import { styled } from 'olymp';

export const Header = styled(({ sticky }) => ({
  backgroundColor: 'white',
  boxShadow: sticky && '0 3px 11px 0 rgba(0,0,0,.06)',
}), 'nav', p => p);

export default class GzLayout extends Component {
  static defaultProps = {
    pages: [],
  }
  render() {
    const { pages, color, title, text, location, links, children, ...rest } = this.props;
    const nav = pages.map(x => x.children)[0];

    return (
      <Layout>
        <Layout.Header container>
          <Navbar brand={<Logo color={color} title={title} text={text} />} full>
            <Nav pages={nav} right />
          </Navbar>
        </Layout.Header>
        <Layout.Body container>
          {children}
        </Layout.Body>
        <Layout.Footer container>
          <Footer {...this.props} />
        </Layout.Footer>
      </Layout>
    );
  }
}<commit_msg>gzk dont use container in body<commit_after>import React, { Component } from 'react';
import Footer from './footer';
import Logo from './logo';
import { Navbar, Nav, Layout } from 'olymp-fela';
import { styled } from 'olymp';

export const Header = styled(({ sticky }) => ({
  backgroundColor: 'white',
  boxShadow: sticky && '0 3px 11px 0 rgba(0,0,0,.06)',
}), 'nav', p => p);

export default class GzLayout extends Component {
  static defaultProps = {
    pages: [],
  }
  render() {
    const { pages, color, title, text, location, links, children, ...rest } = this.props;
    const nav = pages.map(x => x.children)[0];

    return (
      <Layout>
        <Layout.Header container>
          <Navbar brand={<Logo color={color} title={title} text={text} />} full>
            <Nav pages={nav} right />
          </Navbar>
        </Layout.Header>
        <Layout.Body>
          {children}
        </Layout.Body>
        <Layout.Footer container>
          <Footer {...this.props} />
        </Layout.Footer>
      </Layout>
    );
  }
}
{'fraction_non_alphanumeric': 0.16578313253012048, 'fraction_numerical': 0.010602409638554217, 'mean_word_length': 2.477386934673367, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 35, 'https://': 0, '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': '3802329', 'n_tokens_mistral': 666, 'n_tokens_neox': 640, 'n_words': 182}