diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..ce13b20 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,16 @@ +{ + "extends": ["eslint:recommended", "google"], + "env": { + "browser": true + }, + "plugins": [ + "html" + ], + "rules": { + "no-var": "off", + "new-cap": ["error", { "capIsNewExceptions": ["Polymer"] }] + }, + "globals": { + "Polymer": true + } +} diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2125666 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..38f6726 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,33 @@ + +### Description + + +### Expected outcome + + + +### Actual outcome + + + +### Live Demo + + +### Steps to reproduce + + + +### Browsers Affected + +- [ ] Chrome +- [ ] Firefox +- [ ] Safari 9 +- [ ] Safari 8 +- [ ] Safari 7 +- [ ] Edge +- [ ] IE 11 +- [ ] IE 10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f42fcbc --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +bower_components/ +build/ +node_modules/ +yarn.lock diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..280e8ec --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: node_js +sudo: required +dist: trusty +addons: + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable +node_js: + - '6' + - '5' + - '4' +before_script: + - npm install -g bower polymer-cli + - bower install +script: + - xvfb-run npm test diff --git a/README.md b/README.md new file mode 100644 index 0000000..541782d --- /dev/null +++ b/README.md @@ -0,0 +1,56 @@ +# JVMDeveloper.id Website + +Website for JVMDeveloper.id. Readme will be updated accordingly. + +## Pre Requirement + +You must have: + +* NodeJS version `6.9.0+` +* Bower +* Polymer-CLI + +Download NodeJS at [nodejs.org](https://nodejs.org). Bower and polymer-cli +can be install with: + +``` +$ npm install -g bower +$ npm install -g polymer-cli +``` + +### Running Website Locally + +This command serves the app at `http://localhost:8080` and provides basic URL +routing for the app: + + polymer serve --open + +### Build + +This command performs HTML, CSS, and JS minification on the application +dependencies, and generates a service-worker.js file with code to pre-cache the +dependencies based on the entrypoint and fragments specified in `polymer.json`. +The minified files are output to the `build/unbundled` folder, and are suitable +for serving from a HTTP/2+Push compatible server. + +In addition the command also creates a fallback `build/bundled` folder, +generated using fragment bundling, suitable for serving from non +H2/push-compatible servers or to clients that do not support H2/Push. + + polymer build + +### Preview the build + +This command serves the minified version of the app at `http://localhost:8080` +in an unbundled state, as it would be served by a push-compatible server: + + polymer serve build/unbundled + +This command serves the minified version of the app at `http://localhost:8080` +generated using fragment bundling: + + polymer serve build/bundled + +### Finalize Build for Deployment + +TBD (build script needs to be created) diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..645d83e --- /dev/null +++ b/bower.json @@ -0,0 +1,26 @@ +{ + "name": "polymer-starter-kit", + "authors": [ + "The Polymer Authors" + ], + "license": "https://polymer.github.io/LICENSE.txt", + "dependencies": { + "app-layout": "PolymerElements/app-layout#^0.10.0", + "app-route": "PolymerElements/app-route#^0.9.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "iron-icon": "PolymerElements/iron-icon#^1.0.0", + "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.0", + "iron-localstorage": "PolymerElements/iron-localstorage#^1.0.0", + "iron-media-query": "PolymerElements/iron-media-query#^1.0.0", + "iron-pages": "PolymerElements/iron-pages#^1.0.0", + "iron-selector": "PolymerElements/iron-selector#^1.0.0", + "paper-icon-button": "PolymerElements/paper-icon-button#^1.1.4", + "polymer": "Polymer/polymer#^1.6.0", + "paper-card": "PolymerElements/paper-card#^1.1.4", + "iron-icons": "PolymerElements/iron-icons#^1.2.0" + }, + "devDependencies": { + "web-component-tester": "^4.0.0" + }, + "private": true +} diff --git a/images/favicon.ico b/images/favicon.ico new file mode 100644 index 0000000..9cd897e Binary files /dev/null and b/images/favicon.ico differ diff --git a/images/manifest/icon-144x144.png b/images/manifest/icon-144x144.png new file mode 100644 index 0000000..c09f0ce Binary files /dev/null and b/images/manifest/icon-144x144.png differ diff --git a/images/manifest/icon-192x192.png b/images/manifest/icon-192x192.png new file mode 100644 index 0000000..e74d22e Binary files /dev/null and b/images/manifest/icon-192x192.png differ diff --git a/images/manifest/icon-48x48.png b/images/manifest/icon-48x48.png new file mode 100644 index 0000000..15bb11e Binary files /dev/null and b/images/manifest/icon-48x48.png differ diff --git a/images/manifest/icon-512x512.png b/images/manifest/icon-512x512.png new file mode 100644 index 0000000..1f8053f Binary files /dev/null and b/images/manifest/icon-512x512.png differ diff --git a/images/manifest/icon-72x72.png b/images/manifest/icon-72x72.png new file mode 100644 index 0000000..c0af865 Binary files /dev/null and b/images/manifest/icon-72x72.png differ diff --git a/images/manifest/icon-96x96.png b/images/manifest/icon-96x96.png new file mode 100644 index 0000000..712a605 Binary files /dev/null and b/images/manifest/icon-96x96.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..f99b16e --- /dev/null +++ b/index.html @@ -0,0 +1,102 @@ + + +
+ + + + ++ Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, + nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia + bibendum nulla sed consectetur. Nullam quis risus eget urna mollis ornare + vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. + Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. + Pellentesque ornare sem lacinia quam venenatis vestibulum. +
+ ++ Nulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit + amet fermentum. Cras mattis consectetur purus sit amet fermentum. + Maecenas faucibus mollis interdum. Aenean lacinia bibendum nulla sed + consectetur. +
+