<commit_before>import * as React from 'react'
import styled from 'styled-components'

import state from '@state'
import { RouterPaths } from '@src/interfaces'

import Fonts from './Styles/Fonts/Fonts'
import LeftMenu from './LeftMenu/LeftMenu'
import Center from './Center/Center'
import ColorsAndSpacing from './Styles/ColorsAndSpacing'

const Root = styled.div`
  display: flex;
  min-height: 100%;
  user-select: none;
`

const Editor = () => {
  return (
    <Root>
      <LeftMenu />
      {state.router.path === RouterPaths.colors && <ColorsAndSpacing />}
      {state.router.path === RouterPaths.fonts && <Fonts />}
      {state.router.path === RouterPaths.elements && <Center />}
      {state.router.path === RouterPaths.component && <Center />}
    </Root>
  )
}

export default Editor<commit_msg>Show pages<commit_after>import * as React from 'react'
import styled from 'styled-components'

import state from '@state'
import { RouterPaths } from '@src/interfaces'

import Fonts from './Styles/Fonts/Fonts'
import LeftMenu from './LeftMenu/LeftMenu'
import Center from './Center/Center'
import ColorsAndSpacing from './Styles/ColorsAndSpacing'

const Root = styled.div`
  display: flex;
  min-height: 100%;
  user-select: none;
`

const Editor = () => {
  return (
    <Root>
      <LeftMenu />
      {state.router.path === RouterPaths.colors && <ColorsAndSpacing />}
      {state.router.path === RouterPaths.fonts && <Fonts />}
      {state.router.path === RouterPaths.elements && <Center />}
      {state.router.path === RouterPaths.component && <Center />}
      {state.router.path === RouterPaths.page && <Center />}
    </Root>
  )
}

export default Editor
{'fraction_non_alphanumeric': 0.15269461077844312, 'fraction_numerical': 0.003592814371257485, 'mean_word_length': 3.516216216216216, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 20, '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': '7519204', 'n_tokens_mistral': 531, 'n_tokens_neox': 530, 'n_words': 129}