diff --git a/.env.template b/.env.template new file mode 100644 index 0000000..c2e4ef7 --- /dev/null +++ b/.env.template @@ -0,0 +1,2 @@ +REACT_APP_ANONYMOUS_USER=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +REACT_APP_VERSION=$npm_package_version \ No newline at end of file diff --git a/.gitignore b/.gitignore index d8ef2cb..0d34e6f 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,4 @@ mdb* *.log* # SPDX-License-Identifier: (EUPL-1.2) -# Copyright © Simon Prast +# Copyright © 2019-2020 Simon Prast diff --git a/.prettierrc b/.prettierrc index 23430e3..2acbb1b 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,5 +2,5 @@ "trailingComma": "es5", "arrowParens": "always", "tabWidth": 2, - "singleQuote": false, + "singleQuote": false } diff --git a/.vscode/settings.json b/.vscode/settings.json index 68e9c50..9c66003 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,11 +4,14 @@ "editor.snippetSuggestions": "top", "editor.rulers": [80, 120], "editor.formatOnSave": false, - "[javascript]": { - "editor.formatOnSave": true - }, - "[javascriptreact]": { - "editor.formatOnSave": true + "[javascript]": { + "editor.formatOnSave": true + }, + "[scss]": { + "editor.formatOnSave": true + }, + "[javascriptreact]": { + "editor.formatOnSave": true }, "terminal.integrated.fontFamily": "Consolas", "workbench.colorTheme": "Dracula Soft", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 500291e..155a879 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,4 +41,4 @@ - Each pull request should be merged by a reviewer SPDX-License-Identifier: (EUPL-1.2) -Copyright © Simon Prast +Copyright © 2019-2020 Simon Prast diff --git a/LICENSES/preferred/EUPL-1.2 b/LICENSES/preferred/EUPL-1.2 index 259a83b..67c7446 100644 --- a/LICENSES/preferred/EUPL-1.2 +++ b/LICENSES/preferred/EUPL-1.2 @@ -11,7 +11,7 @@ License-Text: European Union Public Licence V. 1.2 -Copyright © Simon Prast +Copyright © 2019-2020 Simon Prast Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff --git a/README.md b/README.md index e1e7391..e8e04da 100644 --- a/README.md +++ b/README.md @@ -139,4 +139,4 @@ to [contribute to our project](#contributing). ![GitHub repository license](https://img.shields.io/badge/license-EUPL--1.2-blue) SPDX-License-Identifier: (EUPL-1.2) -Copyright © Simon Prast +Copyright © 2019-2020 Simon Prast diff --git a/package.json b/package.json index 451b14f..6d2f27e 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,30 @@ "name": "snek-front", "version": "0.1.0", "private": true, - "homepage": ".", + "homepage": "https://snek.at", "license": "(EUPL-1.2)", "dependencies": { + "fuzzysort": "^1.1.4", + "gh-pages": "^3.1.0", + "js-sha256": "^0.9.0", + "mdb-react-sortable": "mdb-react-sortable-4.26.0.tgz", "mdbreact": "mdbreact-4.26.1.tgz", "node-sass": "^4.12.0", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "obelisk.js": "^1.2.2", + "react-avatar-editor": "^11.0.7", + "react-chartjs-2": "^2.9.0", + "react-dropzone": "^11.0.1", + "react-redux": "^7.2.0", + "react-redux-loading-bar": "^4.6.0", "react-router-dom": "^5.0.1", - "react-scripts": "3.0.1" + "react-text-loop": "^2.3.0", + "react-typed": "^1.2.0", + "reactjs-oauth": "0.1.0", + "redux": "^4.0.5", + "redux-thunk": "^2.3.0", + "serialize-error": "^7.0.1", + "snek-intel": "file:snek-intel-0.2.0-rc.2.tgz", + "tippy.js": "^6.2.3" }, "repository": { "type": "git", @@ -25,7 +40,10 @@ }, "devDependencies": { "renamer": "^1.0.0", - "rimraf": "^2.6.2" + "rimraf": "^2.6.2", + "react": "^16.8.6", + "react-dom": "^16.8.6", + "react-scripts": "^3.4.1" }, "browserslist": [ ">0.2%", diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..4747f51 --- /dev/null +++ b/public/404.html @@ -0,0 +1,55 @@ + + + + + + SNEK - Social Network + + + diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 0000000..a335e00 --- /dev/null +++ b/public/CNAME @@ -0,0 +1 @@ +snek.at diff --git a/public/fav/android-icon-144x144.png b/public/fav/android-icon-144x144.png new file mode 100644 index 0000000..4f6f2fd Binary files /dev/null and b/public/fav/android-icon-144x144.png differ diff --git a/public/fav/android-icon-192x192.png b/public/fav/android-icon-192x192.png new file mode 100644 index 0000000..26409cd Binary files /dev/null and b/public/fav/android-icon-192x192.png differ diff --git a/public/fav/android-icon-36x36.png b/public/fav/android-icon-36x36.png new file mode 100644 index 0000000..6dd1446 Binary files /dev/null and b/public/fav/android-icon-36x36.png differ diff --git a/public/fav/android-icon-48x48.png b/public/fav/android-icon-48x48.png new file mode 100644 index 0000000..5e5f07b Binary files /dev/null and b/public/fav/android-icon-48x48.png differ diff --git a/public/fav/android-icon-72x72.png b/public/fav/android-icon-72x72.png new file mode 100644 index 0000000..a3fba2c Binary files /dev/null and b/public/fav/android-icon-72x72.png differ diff --git a/public/fav/android-icon-96x96.png b/public/fav/android-icon-96x96.png new file mode 100644 index 0000000..f9b394b Binary files /dev/null and b/public/fav/android-icon-96x96.png differ diff --git a/public/fav/apple-icon-114x114.png b/public/fav/apple-icon-114x114.png new file mode 100644 index 0000000..97c4ba2 Binary files /dev/null and b/public/fav/apple-icon-114x114.png differ diff --git a/public/fav/apple-icon-120x120.png b/public/fav/apple-icon-120x120.png new file mode 100644 index 0000000..b2427ce Binary files /dev/null and b/public/fav/apple-icon-120x120.png differ diff --git a/public/fav/apple-icon-144x144.png b/public/fav/apple-icon-144x144.png new file mode 100644 index 0000000..4f6f2fd Binary files /dev/null and b/public/fav/apple-icon-144x144.png differ diff --git a/public/fav/apple-icon-152x152.png b/public/fav/apple-icon-152x152.png new file mode 100644 index 0000000..d20b73a Binary files /dev/null and b/public/fav/apple-icon-152x152.png differ diff --git a/public/fav/apple-icon-180x180.png b/public/fav/apple-icon-180x180.png new file mode 100644 index 0000000..12fbccc Binary files /dev/null and b/public/fav/apple-icon-180x180.png differ diff --git a/public/fav/apple-icon-57x57.png b/public/fav/apple-icon-57x57.png new file mode 100644 index 0000000..e5bf8ca Binary files /dev/null and b/public/fav/apple-icon-57x57.png differ diff --git a/public/fav/apple-icon-60x60.png b/public/fav/apple-icon-60x60.png new file mode 100644 index 0000000..5373389 Binary files /dev/null and b/public/fav/apple-icon-60x60.png differ diff --git a/public/fav/apple-icon-72x72.png b/public/fav/apple-icon-72x72.png new file mode 100644 index 0000000..a3fba2c Binary files /dev/null and b/public/fav/apple-icon-72x72.png differ diff --git a/public/fav/apple-icon-76x76.png b/public/fav/apple-icon-76x76.png new file mode 100644 index 0000000..989d8d1 Binary files /dev/null and b/public/fav/apple-icon-76x76.png differ diff --git a/public/fav/apple-icon-precomposed.png b/public/fav/apple-icon-precomposed.png new file mode 100644 index 0000000..22439c4 Binary files /dev/null and b/public/fav/apple-icon-precomposed.png differ diff --git a/public/fav/apple-icon.png b/public/fav/apple-icon.png new file mode 100644 index 0000000..22439c4 Binary files /dev/null and b/public/fav/apple-icon.png differ diff --git a/public/fav/browserconfig.xml b/public/fav/browserconfig.xml new file mode 100644 index 0000000..c554148 --- /dev/null +++ b/public/fav/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/public/fav/favicon-16x16.png b/public/fav/favicon-16x16.png new file mode 100644 index 0000000..55bb71f Binary files /dev/null and b/public/fav/favicon-16x16.png differ diff --git a/public/fav/favicon-32x32.png b/public/fav/favicon-32x32.png new file mode 100644 index 0000000..2ff28b7 Binary files /dev/null and b/public/fav/favicon-32x32.png differ diff --git a/public/fav/favicon-96x96.png b/public/fav/favicon-96x96.png new file mode 100644 index 0000000..f9b394b Binary files /dev/null and b/public/fav/favicon-96x96.png differ diff --git a/public/fav/favicon.ico b/public/fav/favicon.ico new file mode 100644 index 0000000..6ae1677 Binary files /dev/null and b/public/fav/favicon.ico differ diff --git a/public/fav/manifest.json b/public/fav/manifest.json new file mode 100644 index 0000000..3b557aa --- /dev/null +++ b/public/fav/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "/android-icon-36x36.png", + "sizes": "36x36", + "type": "image/png", + "density": "0.75" + }, + { + "src": "/android-icon-48x48.png", + "sizes": "48x48", + "type": "image/png", + "density": "1.0" + }, + { + "src": "/android-icon-72x72.png", + "sizes": "72x72", + "type": "image/png", + "density": "1.5" + }, + { + "src": "/android-icon-96x96.png", + "sizes": "96x96", + "type": "image/png", + "density": "2.0" + }, + { + "src": "/android-icon-144x144.png", + "sizes": "144x144", + "type": "image/png", + "density": "3.0" + }, + { + "src": "/android-icon-192x192.png", + "sizes": "192x192", + "type": "image/png", + "density": "4.0" + } + ] +} diff --git a/public/fav/ms-icon-144x144.png b/public/fav/ms-icon-144x144.png new file mode 100644 index 0000000..4f6f2fd Binary files /dev/null and b/public/fav/ms-icon-144x144.png differ diff --git a/public/fav/ms-icon-150x150.png b/public/fav/ms-icon-150x150.png new file mode 100644 index 0000000..64821f6 Binary files /dev/null and b/public/fav/ms-icon-150x150.png differ diff --git a/public/fav/ms-icon-310x310.png b/public/fav/ms-icon-310x310.png new file mode 100644 index 0000000..bc0db9a Binary files /dev/null and b/public/fav/ms-icon-310x310.png differ diff --git a/public/fav/ms-icon-70x70.png b/public/fav/ms-icon-70x70.png new file mode 100644 index 0000000..41a6f59 Binary files /dev/null and b/public/fav/ms-icon-70x70.png differ diff --git a/public/index.html b/public/index.html index 9e4904b..96946a0 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,6 @@ @@ -10,23 +10,55 @@ name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> - - - - - - React App + + + + + + + + + + + + + + + + + + SNEK - Social Network + + +