<commit_before>// @flow

import * as React from 'react'
import styled from 'styled-components'

import Logo from './common/atoms/Logo'
import InnerContainer from './common/layouts/InnerContainer'
import HeaderWithSession from './Header--with-session'
import HeaderWithoutSession from './Header--without-session'

export default function App({
  children,
  session
}: {
  children: React.Node,
  session: any
}) {
  return (
    <div>
      <Header session={session} />
      {children}
      <Footer />
    </div>
  )
}

export function Header({ session }: { session: any }) {
  return session != null ? (
    <HeaderWithSession session={session} />
  ) : (
    <HeaderWithoutSession />
  )
}

export const Footer = styled(({ className }) => (
  <InnerContainer>
    <div className={className}>
      <ul>
        <li>&copy; 2016 keik</li>
        <li>
          <a href="#">Help</a><commit_msg>:recycle: SFC<commit_after>// @flow

import * as React from 'react'
import styled from 'styled-components'

import Logo from './common/atoms/Logo'
import InnerContainer from './common/layouts/InnerContainer'
import HeaderWithSession from './Header--with-session'
import HeaderWithoutSession from './Header--without-session'

export const App = ({
  children,
  session
}: {
  children: React.Node,
  session: any
}) => (
  <div>
    <Header session={session} />
    {children}
    <Footer />
  </div>
)

export default App

export const Header = ({ session }: { session: any }) =>
  session != null ? (
    <HeaderWithSession session={session} />
  ) : (
    <HeaderWithoutSession />
  )

export const Footer = styled(({ className }) => (
  <InnerContainer>
    <div className={className}>
      <ul>
        <li>&copy; 2016 keik</li>
        <li>
          <a href="#">Help</a>
{'fraction_non_alphanumeric': 0.15219842164599776, 'fraction_numerical': 0.004509582863585118, 'mean_word_length': 3.0804597701149423, 'pattern_counts': {'":': 0, '<': 31, '<?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': '7191764', 'n_tokens_mistral': 553, 'n_tokens_neox': 540, 'n_words': 142}