Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Konrad Szwarc committed Mar 23, 2019
0 parents commit f3d18bd
Show file tree
Hide file tree
Showing 105 changed files with 53,140 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
67 changes: 67 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"parser": "babel-eslint",
"plugins": ["react", "prettier"],
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/react"],
"globals": {
"React": true,
"document": true,
"window": true,
"jQuery": true,
"$": true,
"localStorage": true,
"fetch": true
},
"root": true,
"rules": {
"indent": ["error", 2, {"SwitchCase": 1}],
"react/prefer-stateless-function": "warn",
"react/self-closing-comp": [
"warn",
{
"component": true,
"html": false
}
],
"react/sort-comp": [
1,
{
"order": [
"static-methods",
"lifecycle",
"everything-else",
"rendering"
],
"groups": {
"rendering": ["/^render.+$/", "render"]
}
}
],
"react/require-default-props": 0,
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }],
"react/jsx-boolean-value": ["warn", "never"],
"react/jsx-curly-spacing": ["warn", "never"],
"react/jsx-filename-extension": ["warn", { "extensions": [".jsx", ".tsx"] }],
"react/jsx-first-prop-new-line": ["warn", "multiline"],
"react/forbid-prop-types": "off",
"react/destructuring-assignment": "off",
"react/jsx-indent": ["warn", 2],
"react/jsx-key": "error",
"react/jsx-wrap-multilines": ["warn"],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"import/prefer-default-export": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"no-underscore-dangle": 0,
"no-shadow": 0,
"no-console": 0,
"no-param-reassign": 0,
"import/no-named-as-default": 0
},
"env": {
"es6": true,
"browser": true,
"node": true
}
}
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Cruft
*~
*#
.#*
.DS_Store

# Test
coverage
.eslintcache

# Logs
*.log

# npm & yarn
node_modules/
.npm
.yarn-integrity
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
/build/bundle.js
/build/index.html
/build*
/build/*

# Editor/IDE
.idea
packages/api/etc/

# Next
.next/*
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
16 changes: 16 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components"
],
"syntax": "scss",
"rules": {
"declaration-block-semicolon-newline-after": null,
"rule-empty-line-before": null,
"no-descending-specificity": null,
"value-list-max-empty-lines": null,
"declaration-colon-newline-after": null,
"comment-empty-line-before": null
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
client
64 changes: 64 additions & 0 deletions decks/defaultDeck.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
export default {
slides: [
{
template: 'bigQuestion',
animation: {
type: 'horizontal',
},
content: {
title: '1. Czy programowanie jest dla mnie?',
background: 'https://images.unsplash.com/photo-1484069560501-87d72b0c3669?w=1350&q=80',
},
},
{
template: 'bigQuestion',
animation: {
type: 'horizontal',
},
content: {
title: '2. Jaki język powinienem wybrać?',
background: 'https://images.unsplash.com/photo-1542831371-29b0f74f9713?w=1350&q=80',
},
},
{
template: 'bigQuestion',
animation: {
type: 'vertical',
},
content: {
title: '3. Skąd warto się uczyć?',
background: 'https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1350&q=80',
},
},
{
template: 'bigQuestion',
animation: {
type: 'vertical',
},
content: {
title: '4. Co muszę potrafić niezależnie od wybranej technologii?',
background: 'https://images.unsplash.com/photo-1509966756634-9c23dd6e6815?w=1350&q=80',
},
},
{
template: 'bigQuestion',
animation: {
type: 'vertical',
},
content: {
title: '5. Na czym warto się skupić podczas nauki?',
background: 'https://images.unsplash.com/photo-1505373877841-8d25f7d46678?w=1350&q=80',
},
},
{
template: 'bigQuestion',
animation: {
type: 'horizontal',
},
content: {
title: '6. Jak skutecznie znaleźć pracę?',
background: 'https://images.unsplash.com/photo-1459180129673-eefb56f79b45?w=1350&q=80',
},
},
],
};
1 change: 1 addition & 0 deletions decks/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export defaultDeck from './defaultDeck';
1 change: 1 addition & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="pl"><head><meta charSet="utf-8" class="next-head"/><meta name="viewport" content="width=device-width, initial-scale=1.0" class="next-head"/><title class="next-head">404: This page could not be found</title><link rel="preload" href="/_next/static/bEZvVHpLNQ1Lt8sK0KX5g/pages/_app.js" as="script"/><link rel="preload" href="/_next/static/runtime/webpack-838b392324e3598684b5.js" as="script"/><link rel="preload" href="/_next/static/chunks/commons.0bbe5a0e295309764157.js" as="script"/><link rel="preload" href="/_next/static/runtime/main-3133c15a26caa81fa72e.js" as="script"/></head><body><div id="__next"><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, &quot;Segoe UI&quot;, &quot;Fira Sans&quot;, Avenir, &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><h1 style="display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"bEZvVHpLNQ1Lt8sK0KX5g","nextExport":true}</script><script async="" id="__NEXT_PAGE__/_app" src="/_next/static/bEZvVHpLNQ1Lt8sK0KX5g/pages/_app.js"></script><script src="/_next/static/runtime/webpack-838b392324e3598684b5.js" async=""></script><script src="/_next/static/chunks/commons.0bbe5a0e295309764157.js" async=""></script><script src="/_next/static/runtime/main-3133c15a26caa81fa72e.js" async=""></script></body></html>
1 change: 1 addition & 0 deletions docs/_next/static/bEZvVHpLNQ1Lt8sK0KX5g/pages/_app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_next/static/bEZvVHpLNQ1Lt8sK0KX5g/pages/_error.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_next/static/bEZvVHpLNQ1Lt8sK0KX5g/pages/index.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions docs/_next/static/chunks/0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_next/static/chunks/0.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions docs/_next/static/chunks/commons.0bbe5a0e295309764157.js

Large diffs are not rendered by default.

Loading

0 comments on commit f3d18bd

Please sign in to comment.