src/utils/config.js
exports.API = 'https://renzhen1024.com/';
exports.about =
'重庆大学车辆工程学士,美国匹兹堡大学工业工程硕士。PMP项目管理专业人士资格认证;AUTODESK INVENTOR三维设计专业认证。个人公众号:《山姆哥和他的小伙伴们》(ID: UncleSamChina),微信:UncleSam_China,邮箱:Unclesamchina2016@Gmail.com';
const description = '一个赴美建厂&自动化改造的亲历者';
exports.description = description;
exports.creator = {
description,
firstName: '',
lastName: '北美山姆哥',
profileImage: 'images/sam-site-profile-image.png',
};
exports.metaDescription =
'深入了解一个国家,需要从三个层面:底部的文化逻辑(根)到中间的管理制度(树干)再到最上面的器物科技(果子)。三者相辅相成,缺一不可。其中文化逻辑是最关键的,很多当下中美之间的误解,都源自于背后的文化逻辑不同。不同的逻辑观念下,即使建立了相同的制度,也很难执行出相同的结果,即使引进了相同的器物科技,也很难让拿来的科技器物保持住发展创新。通过《山姆哥和他的朋友们》这网站平台,山姆哥及其他在美国的朋友,一起从这三个层面上来分享他们在美国的所见所闻所感:第一类,文化逻辑。主要从宗教哲学层面,探讨美国人为什么会这么做?行为背后的思考逻辑是怎样的?第二类,管理制度。结合工作中的项目经历中,所看到的做事方式差异以及管理制度的不同;第三类,器物科技。主要是那些可能在中国不常见,但在美国很好用的工具和方法。第四类,案例分析。针对一些具体的代表性案例来分析讨论。';
exports.lengthOfActiveUsersAtIndexPage = 5;
const siteTitle = '北美山姆哥';
exports.siteTitle = siteTitle;
exports.socialMedias = [
{ name: 'Facebook', className: 'facebook', url: 'http://facebook.com' },
{ name: 'Twitter', className: 'twitter', url: 'http://twitter.com' },
{
name: 'Instagram',
className: 'instagram',
url: 'https://www.instagram.com',
},
{ name: 'RSS', className: 'rss', url: 'https://rss.com/' },
{
name: 'Email',
className: 'envelope',
url: 'mailto:mountainsun1988@gmail.com',
},
];
exports.username = 'sambro';
exports.rootCategory = '7-category';
exports.subCategories = [
{ name: '文化逻辑', description: '关于文化逻辑的分类' },
{ name: '管理制度', description: '关于管理制度的分类' },
{ name: '器物科技', description: '关于器物科技的分类' },
{ name: '案例分享', description: '关于案例分享的分类' },
];
exports.categories = {
5: [
{
name: '热点讨论',
color: '#0088CC',
},
],
7: [
{
name: '山姆哥',
color: '#8C6238;',
link: `/`,
},
],
8: [
{
name: '文化逻辑',
color: '#F9623B',
link: `/?subcategory=${encodeURI('文化逻辑')}`,
},
],
9: [
{
name: '管理制度',
color: '#25AAE2',
link: `/?subcategory=${encodeURI('管理制度')}`,
},
],
10: [
{
name: '器物科技',
color: '#9EB83B',
link: `/?subcategory=${encodeURI('器物科技')}`,
},
],
11: [
{
name: '案例分享',
color: '#3AB54A',
link: `/?subcategory=${encodeURI('案例分享')}`,
},
],
};
const defalutMetaTagImageSrcStr =
'https://samandhisfriends.com/images/post-og-image.jpg';
const fbCommonMetaTags = [
{
type: 'og:locale',
content: 'zh-CN',
},
{
type: 'fb:app_id',
content: '381747502434242',
},
];
exports.fbMetaTagsForIndexRoute = [
{ type: 'og:url', content: 'https://samandhisfriends.com' },
{
type: 'og:type',
content: 'website',
},
{ type: 'og:title', content: siteTitle },
{
type: 'og:description',
content: description,
},
{
type: 'og:image',
content: defalutMetaTagImageSrcStr,
},
...fbCommonMetaTags,
];
const twitterCommonMetaTags = [
{
type: 'twitter:card',
content: 'summary_large_image',
},
{
type: 'twitter:site',
content: '@renzhen1024',
},
{
type: 'twitter:creator',
content: '@renzhen1024',
},
];
exports.twitterMetaTagsForIndexRoute = [
{
type: 'twitter:title',
content: siteTitle,
},
{
type: 'twitter:description',
content: description,
},
{
type: 'twitter:image',
content: defalutMetaTagImageSrcStr,
},
...twitterCommonMetaTags,
];
exports.defalutMetaTagImageSrcStr = defalutMetaTagImageSrcStr;
exports.fbCommonMetaTags = fbCommonMetaTags;
exports.twitterCommonMetaTags = twitterCommonMetaTags;
exports.setting = {
/**
* The UI strings will be translated to the prefered language for user, user
* also need to provide translated string in `/src/locale/<local>.js` with
* same file name. If not set, it will be default to user's browser setting,
* in this case, user need to provide all possible translation string files.
*/
locale: 'zh-cn',
/**
* When display full name, should family name comes first, some of the lange
* has family name comes first like Chinese while other language has givename
* first, e.g. English
*/
familyNameFirst: true,
};