@codementor/ui-kit
Version:
205 lines (196 loc) • 6.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TOPIC_DESC_MAP = exports.ONBOARDING_TOPICS = exports.DISPLAY_TOPICS = exports.ALL_TOPICS = exports.extraTopicGroups = undefined;
var _expertTopics = require('./expertTopics');
var _expertTopics2 = _interopRequireDefault(_expertTopics);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var extraTopicGroups = exports.extraTopicGroups = [{
title: 'Design',
urlString: 'design'
}, {
title: 'Testing',
urlString: 'testing'
}, {
title: 'Firebase',
urlString: 'firebase'
}, {
title: 'AWS',
urlString: 'aws'
}, {
title: 'Discussion',
urlString: 'discussion'
}];
var ALL_TOPICS = exports.ALL_TOPICS = _expertTopics2.default.reduce(function (prev, group) {
var categories = group.categories.map(function (cate) {
return {
urlString: cate.url_string,
title: cate.name
};
});
return prev.concat(categories);
}, extraTopicGroups);
var DISPLAY_TOPICS = exports.DISPLAY_TOPICS = [{
name: 'React',
urlString: 'reactjs'
}, {
name: 'Angular',
urlString: 'angularjs'
}, {
name: 'JavaScript',
urlString: 'javascript'
}, {
name: 'Node.js',
urlString: 'nodejs'
}, {
name: 'Ruby',
urlString: 'ruby'
}, {
name: 'Ruby on Rails',
urlString: 'ruby-on-rails'
}, {
name: 'iOS',
urlString: 'ios'
}, {
name: 'Android',
urlString: 'android'
}, {
name: 'Python',
urlString: 'python'
}];
var ONBOARDING_TOPICS = exports.ONBOARDING_TOPICS = [{
text: 'JavaScript',
value: 'javascript',
className: 's-categories-lang_js'
}, {
text: 'Python',
value: 'python',
className: 's-categories-lang_python'
}, {
text: 'iOS',
value: 'ios',
className: 's-categories-lang_ios'
}, {
text: 'Swift',
value: 'swift',
className: 's-categories-lang_swift'
}, {
text: 'React',
value: 'reactjs',
className: 's-categories-lang_react'
}, {
text: 'Angular',
value: 'angularjs',
className: 's-categories-lang_angular'
}, {
text: 'NodeJS',
value: 'nodejs',
className: 's-categories-lang_nodejs'
}, {
text: 'Ruby on rails',
value: 'ruby-on-rails',
className: 's-categories-lang_ror'
}, {
text: 'Data Science',
value: 'data-science',
className: 's-categories-lang_data_science'
}, {
text: 'DevOps',
value: 'dev-ops',
className: 's-categories-lang_devops'
}, {
text: 'PHP',
value: 'php',
className: 's-categories-lang_php'
}, {
text: 'Java',
value: 'java',
className: 's-categories-lang_java'
}, {
text: 'Android',
value: 'android',
className: 's-categories-lang_android'
}, {
text: 'Ruby',
value: 'ruby',
className: 's-categories-lang_ruby'
}, {
text: 'C#',
value: 'c_sharp',
className: 's-categories-lang_csharp'
}, {
text: 'Spark',
value: 'spark',
className: 's-categories-lang_spark'
}, {
text: 'CSS',
value: 'css',
className: 's-categories-lang_css'
}, {
text: 'C++',
value: 'c_p_p',
className: 's-categories-lang_cpp'
}, {
text: 'Testing',
value: 'testing',
className: 's-categories-lang_testing'
}, {
text: 'Go',
value: 'go',
className: 's-categories-lang_go'
}, {
text: 'SQL',
value: 'sql',
className: 's-categories-lang_sql'
}, {
text: 'Docker',
value: 'docker',
className: 's-categories-lang_docker'
}, {
text: 'Meteor',
value: 'meteor',
className: 's-categories-lang_meteor'
}, {
text: 'Django',
value: 'django',
className: 's-categories-lang_django'
}, {
text: 'Express',
value: 'express',
className: 's-categories-lang_no'
}, {
text: 'Linux',
value: 'linux',
className: 's-categories-lang_linux'
}, {
text: 'Firebase',
value: 'firebase',
className: 's-categories-lang_firebase'
}, {
text: 'AWS',
value: 'aws',
className: 's-categories-lang_aws'
}, {
text: 'Git',
value: 'git',
className: 's-categories-lang_git'
}];
var TOPIC_DESC_MAP = exports.TOPIC_DESC_MAP = {
nodejs: 'Learn Node.js and keep up with the latest trends and insight from top Node.js experts. Use Node.js for backend development, APIs, and more.',
devops: 'Read the latest DevOps tutorials, articles, and insights to become a better DevOps engineer and developer.',
reactjs: 'Read the latest React, React-Redux, and React Native tutorials. Expand your knowledge of this popular JavaScript library.',
redux: 'Learn how to use Redux in your next app or project with free tutorials, insights, and posts by top React and Redux developers.',
python: 'Learn how to use Python for web development, data science, machine learning, and more! Read the latest Python tutorials and insights from top developers.',
spark: 'Learn how to use Apache Spark with R, Hadoop, Cassandra, and more with Spark tutorials written by domain experts.',
android: 'Read Android tutorials and learn to build and enhance your Android app, with tips and insight from top Android developers.',
'ruby-on-rails': 'Read the latest Ruby on Rails tutorials and insight to learn from the top Ruby and Rails developers. Start building your own Ruby on Rails app!',
angularjs: 'Find the latest insight, articles, and tutorials on AngularJS, Angular 2, and beyond. Become a better Angular developer today.',
docker: 'Learn Docker with the latest insights and tutorials from top Docker developers. Find out how to get started with Docker today.',
swift: 'Learn how to use Swift, Objective-C, Xcode, and more to start building your own iOS apps. Read tutorials written by top iOS developers and experts.',
java: 'Read the latest Java tutorials, insights, and posts from top Java experts. Become a better Java developer today, for free.',
javascript: 'Learn JavaScript with insight and tutorials from top JavaScript experts, and keep up with the latest trends and developments in the JavaScript community',
git: 'Read the latest Git tips, tutorials, and insight from top developers and enhance your knowledge of Git.',
c_sharp: 'Expand your C# knowledge with tutorials, insights, and posts from top C# experts, and become a better C# developer today.',
scala: 'Learn Scala through tutorials and insights from top Scala developers. Build your next app with Scala — get started!'
};