Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
psdcoder committed Mar 24, 2020
1 parent 4af0d3c commit 1c898df
Show file tree
Hide file tree
Showing 238 changed files with 12,324 additions and 1,177 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
{ "prefixWithI": "always" }
],
"no-tabs": "error",
"react/prop-types": "off", // Props should be described as TS types
"@typescript-eslint/explicit-function-return-type": "off",
// TODO: remove after rewriting code to TS
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/no-var-requires": "warn"
}
}
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ typings/
# dotenv environment variables file
.env

# Next.js build output
.idea
# Editors & logs
*.log
.idea
.vscode

# Mac finder artifacts
.DS_Store

# Gatsby cache
.cache
public
tmp
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.cache/
public/
16 changes: 9 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
semi: false
singleQuote: true
trailingComma: none
printWidth: 80
tabWidth: 2
useTabs: false
proseWrap: "always"
{
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"proseWrap": "always"
}
13 changes: 8 additions & 5 deletions .restyled.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
restylers:
- name: prettier
arguments: ['--write']
arguments: ["--write"]
include:
- './*.{js,md}'
- 'pages/**/*.js'
- 'content/docs/**/*.{js,md}'
- 'src/**/*.js'
- "./*.{js,md}"
- "pages/**/*.js"
- "content/**/*.{js,md}"
- "src/**/*.js"
- name: stylelint
include:
- "src/**/*.css"
18 changes: 18 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "stylelint-config-standard",
"rules": {
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"declaration-colon-newline-after": null,
"value-list-comma-newline-after": null,
"property-no-unknown": [ true, {
"ignoreProperties": ["composes"]
} ],
"selector-pseudo-class-no-unknown": [ true, {
"ignorePseudoClasses": ["global"]
} ],
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["mixin"]
}]
},
}
20 changes: 20 additions & 0 deletions config/postcss/media.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* tslint:disable object-literal-sort-keys */

const screens = {
giant: 1200,
desktop: 1005,
tablet: 768,
phablet: 572,
phone: 376
};

module.exports = {
customMedia: {
'--xxs-scr': `(max-width: ${screens.phone}px)`,
'--xs-scr': `(max-width: ${screens.phablet}px)`,
'--sm-scr': `(max-width: ${screens.tablet}px)`,
'--md-scr': `(max-width: ${screens.desktop - 1}px)`,
'--lg-scr': `(min-width: ${screens.desktop}px)`,
'--xl-scr': `(min-width: ${screens.giant}px)`
}
};
91 changes: 91 additions & 0 deletions config/postcss/mixins.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/* tslint:disable object-literal-sort-keys */

const focus = {
'&:focus': {
color: 'var(--color-orange)',
outline: 'none'
}
};

const active = {
'&:active': {
position: 'relative',
top: '1px',
left: '1px'
}
};

const hover = {
'&:hover': {
opacity: 0.7
}
};

module.exports = {
mixins: {
'h1-desktop': {
'font-weight': '500',
'font-size': '40px',
'line-height': '60px'
},
'h1-mobile': {
'font-weight': '500',
'font-size': '30px',
'line-height': '40px'
},
'h2-desktop': {
'font-weight': '500',
'font-size': '30px',
'line-height': '40px'
},
'h2-mobile': {
'font-weight': '500',
'font-size': '25px',
'line-height': '35px'
},
'h3-desktop': {
'font-weight': '500',
'font-size': '24px',
'line-height': '34px'
},
'h3-mobile': {
'font-weight': '500',
'font-size': '20px',
'line-height': '30px'
},
'text-desktop': {
'font-size': '24px',
'line-height': '34px'
},
'text-mobile': {
'font-size': '20px',
'line-height': '30px'
},
'text-diminished': {
'font-size': '20px',
'line-height': '30px'
},
'text-secondary': {
'font-size': '16px',
'line-height': '24px'
},
'button-big': {
'font-size': '20px',
'line-height': '30px'
},
'button-small': {
'font-size': '16px',
'line-height': '25px'
},
link: {
'text-decoration': 'none',
color: 'var(--color-blue)',
...hover,
...focus,
...active
},
hover,
focus,
active
}
};
9 changes: 9 additions & 0 deletions content/authors/dmitry_petrov.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
path: ../authors/dmitry_petrov.md
name: Dmitry Petrov
avatar: ../../static/uploads/avatars/dmitry_petrov.png
---

Creator of [http://dvc.org](http://dvc.org) — Git for ML. Ex-Data Scientist
[http://twitter.com/Microsoft](@Microsoft). PhD in CS. Making jokes with a
serious face.
7 changes: 7 additions & 0 deletions content/authors/elle_obrien.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
path: ../authors/elle_obrien.md
name: Elle O'Brien
avatar: ../../static/uploads/avatars/elle_obrien.jpg
---

Data scientist at [http://dvc.org](http://dvc.org)
9 changes: 9 additions & 0 deletions content/authors/george_vyshnya.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
path: ../authors/george_vyshnya.md
name: George Vyshnya
avatar: ../../static/uploads/avatars/george_vyshnya.jpeg
---

Seasoned Data Scientist / Software Developer with blended experience in software
development, IT, DevOps, PM and C-level roles. CTO at
[http://sbc-group.pl](http://sbc-group.pl)
7 changes: 7 additions & 0 deletions content/authors/marija_ilic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
path: ../authors/marija_ilic.md
name: Marija Ilić
avatar: ../../static/uploads/avatars/marija_ilic.png
---

Data scientist at Njuškalo, Croatia.
7 changes: 7 additions & 0 deletions content/authors/svetlana_grinchenko.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
path: ../authors/svetlana_grinchenko.md
name: Svetlana Grinchenko
avatar: ../../static/uploads/avatars/svetlana_grinchenko.jpeg
---

Head of developer relations at [http://dvc.org](http://dvc.org)
Loading

0 comments on commit 1c898df

Please sign in to comment.