Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #66 from 30-seconds/dev-sprint2-2020
Browse files Browse the repository at this point in the history
2020 Sprint 2 Milestone
  • Loading branch information
Chalarangelo authored Feb 1, 2020
2 parents 2a6962a + c9e7b12 commit cb898f0
Show file tree
Hide file tree
Showing 144 changed files with 1,648 additions and 709 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "content/sources/30csharp"]
path = content/sources/30csharp
url = https://github.com/30-seconds/30-seconds-of-csharp
[submodule "content/sources/30blog"]
path = content/sources/30blog
url = https://github.com/30-seconds/30-seconds-blog
4 changes: 0 additions & 4 deletions .storybook/addons.js

This file was deleted.

49 changes: 0 additions & 49 deletions .storybook/config.js

This file was deleted.

47 changes: 0 additions & 47 deletions .storybook/contexts.js

This file was deleted.

1 change: 0 additions & 1 deletion .storybook/presets.js

This file was deleted.

6 changes: 0 additions & 6 deletions .storybook/preview-head.html

This file was deleted.

36 changes: 0 additions & 36 deletions .storybook/theme.js

This file was deleted.

50 changes: 0 additions & 50 deletions .storybook/viewports.js

This file was deleted.

35 changes: 0 additions & 35 deletions .storybook/webpack.config.js

This file was deleted.

Binary file added assets/icons.woff2
Binary file not shown.
6 changes: 3 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ module.exports = {
],
// Snippet ranking engine parameters
rankingEngine: {
tagScorelimit: 12,
tagScoreLimit: 12,
expertiseScoreLimit: 8,
timeScoreLimitMultiplier: 0.6,
beginnerExpertiseScore: 6,
beginnerExpertiseScore: 3,
intermediateExpertiseScore: 8,
advancedExpertiseScore: 2,
advancedExpertiseScore: 5,
firstSeenScorePercentage: 0.47,
lastUpdateScorePercentage: 0.36,
updateCountScorePercentage: 0.17,
Expand Down
38 changes: 38 additions & 0 deletions content/configs/30blog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
export default {
name: '30 seconds Blog',
dirName: '30blog',
repoUrl: 'https://github.com/30-seconds/30-seconds-blog',
snippetPath: 'blog_posts',
requirables: [
'blog_data/snippets.json',
// 'blog_data/blog_authors.json',
],
slug: 'blog',
reducer: 'blogReducer',
resolver: 'blogResolver',
isBlog: true,
featured: 1,
theme: {
backColor: '#1f253d',
foreColor: '#edf0fc',
iconName: 'blog',
},
biasPenaltyMultiplier: 1.01,
images: {
name: 'blog_images',
path: 'blog_images',
},
tagScores: {
'javascript': 5,
'react': 4,
'css': 4,
'array': 4,
'list': 4,
'object': 4,
'python': 3,
'webdev': 3,
'devtools': 2,
'csharp': 2,
'php': 1,
},
};
3 changes: 2 additions & 1 deletion content/configs/30code.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ export default {
],
slug: 'js',
reducer: 'es6Reducer',
featured: 1,
featured: 2,
theme: {
backColor: '#f6d854',
foreColor: '#392f31',
iconName: 'js',
},
biasPenaltyMultiplier: 1.02,
tagScores: {
Expand Down
3 changes: 2 additions & 1 deletion content/configs/30csharp.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ export default {
'snippet_data/snippets.json',
],
slug: 'c-sharp',
featured: 4,
featured: 6,
theme: {
backColor: '#672179',
foreColor: '#ffffff',
iconName: 'csharp',
},
biasPenaltyMultiplier: 1.02,
tagScores: {
Expand Down
1 change: 1 addition & 0 deletions content/configs/30css.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
theme: {
backColor: '#3f4de4',
foreColor: '#ffffff',
iconName: 'css',
},
biasPenaltyMultiplier: 1.02,
tagScores: {
Expand Down
2 changes: 2 additions & 0 deletions content/configs/30php.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ export default {
'snippet_data/snippets.json',
],
slug: 'php',
featured: 7,
theme: {
backColor: '#8b9bd6',
foreColor: '#2a2843',
iconName: 'php',
},
biasPenaltyMultiplier: 1.06,
tagScores: {
Expand Down
3 changes: 2 additions & 1 deletion content/configs/30python.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ export default {
'snippet_data/snippets.json',
],
slug: 'python',
featured: 2,
featured: 4,
theme: {
backColor: '#3c77a9',
foreColor: '#ffffff',
iconName: 'python',
},
biasPenaltyMultiplier: 1.02,
tagScores: {
Expand Down
1 change: 1 addition & 0 deletions content/configs/30react.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
theme: {
backColor: '#282c34',
foreColor: '#61dafb',
iconName: 'react',
},
biasPenaltyMultiplier: 1.08,
tagScores: {
Expand Down
Loading

0 comments on commit cb898f0

Please sign in to comment.