phodal/growth

View on GitHub
src/constants/sections/section-0.js

Summary

Maintainability
C
1 day
Test Coverage
import HELPER_ARTICLES from '../HELPER_ARTICLES';

const SECTION0 = {
  hello: {
    title: 'hello, world',
    intros: [
      {
        info: { slug: 'hello', type: 'desc' },
      },
    ],
    articlesView: [
      {
        title: 'hello, world',
        articles: HELPER_ARTICLES['zh-cn'].hello,
      },
    ],
    skills: ['hello'],
    growthView: [
      {
        title: 'hello, world',
        sections: [
          {
            title: '书单',
            info: { type: 'book', domain: 'hello' },
          },
        ],
      },
    ],
    todoView: [{
      title: 'hello, world',
      info: { domain: 'hello' },
    }],
  },
  env: {
    title: '开发环境',
    intros: [
      {
        info: { slug: 'env', type: 'desc' },
      },
    ],
    articlesView: [
      {
        title: '开发环境',
        articles: HELPER_ARTICLES['zh-cn'].env,
      },
    ],
    skills: ['env'],
    growthView: [
      {
        title: '开发环境',
        sections: [
          {
            title: '工具',
            info: { type: 'tool', domain: 'pm' },
          },
        ],
      },
    ],
    todoView: [{
      title: '开发环境',
      info: { domain: 'env' },
    }],
  },
};

export default SECTION0;