instead.");
+ allowedIntents.addWhiteListEntry(origin, (subdomains != null) && (subdomains.compareToIgnoreCase("true") == 0));
+ } else {
+ if ("*".equals(origin)) {
+ allowedRequests.addWhiteListEntry("http://*/*", false);
+ allowedRequests.addWhiteListEntry("https://*/*", false);
+ } else {
+ allowedRequests.addWhiteListEntry(origin, (subdomains != null) && (subdomains.compareToIgnoreCase("true") == 0));
+ }
+ }
+ }
+ }
+ }
+ @Override
+ public void handleEndTag(XmlPullParser xml) {
+ }
+ }
+
+ @Override
+ public Boolean shouldAllowNavigation(String url) {
+ if (allowedNavigations.isUrlWhiteListed(url)) {
+ return true;
+ }
+ return null; // Default policy
+ }
+
+ @Override
+ public Boolean shouldAllowRequest(String url) {
+ if (Boolean.TRUE == shouldAllowNavigation(url)) {
+ return true;
+ }
+ if (allowedRequests.isUrlWhiteListed(url)) {
+ return true;
+ }
+ return null; // Default policy
+ }
+
+ @Override
+ public Boolean shouldOpenExternalUrl(String url) {
+ if (allowedIntents.isUrlWhiteListed(url)) {
+ return true;
+ }
+ return null; // Default policy
+ }
+
+ public Whitelist getAllowedNavigations() {
+ return allowedNavigations;
+ }
+
+ public void setAllowedNavigations(Whitelist allowedNavigations) {
+ this.allowedNavigations = allowedNavigations;
+ }
+
+ public Whitelist getAllowedIntents() {
+ return allowedIntents;
+ }
+
+ public void setAllowedIntents(Whitelist allowedIntents) {
+ this.allowedIntents = allowedIntents;
+ }
+
+ public Whitelist getAllowedRequests() {
+ return allowedRequests;
+ }
+
+ public void setAllowedRequests(Whitelist allowedRequests) {
+ this.allowedRequests = allowedRequests;
+ }
+}
diff --git a/Wello/plugins/fetch.json b/Wello/plugins/fetch.json
new file mode 100644
index 0000000..8f0fbf8
--- /dev/null
+++ b/Wello/plugins/fetch.json
@@ -0,0 +1,18 @@
+{
+ "cordova-plugin-whitelist": {
+ "source": {
+ "type": "registry",
+ "id": "cordova-plugin-whitelist@1"
+ },
+ "is_top_level": true,
+ "variables": {}
+ },
+ "cordova-plugin-statusbar": {
+ "source": {
+ "type": "registry",
+ "id": "cordova-plugin-statusbar@~2.1.0"
+ },
+ "is_top_level": true,
+ "variables": {}
+ }
+}
diff --git a/Wello/res/icon/android/drawable-hdpi-icon.png b/Wello/res/icon/android/drawable-hdpi-icon.png
new file mode 100644
index 0000000..0b3e799
Binary files /dev/null and b/Wello/res/icon/android/drawable-hdpi-icon.png differ
diff --git a/Wello/res/icon/android/drawable-ldpi-icon.png b/Wello/res/icon/android/drawable-ldpi-icon.png
new file mode 100644
index 0000000..f4b1dfb
Binary files /dev/null and b/Wello/res/icon/android/drawable-ldpi-icon.png differ
diff --git a/Wello/res/icon/android/drawable-mdpi-icon.png b/Wello/res/icon/android/drawable-mdpi-icon.png
new file mode 100644
index 0000000..edc83f2
Binary files /dev/null and b/Wello/res/icon/android/drawable-mdpi-icon.png differ
diff --git a/Wello/res/icon/android/drawable-xhdpi-icon.png b/Wello/res/icon/android/drawable-xhdpi-icon.png
new file mode 100644
index 0000000..e4ae9ce
Binary files /dev/null and b/Wello/res/icon/android/drawable-xhdpi-icon.png differ
diff --git a/Wello/res/icon/android/drawable-xxhdpi-icon.png b/Wello/res/icon/android/drawable-xxhdpi-icon.png
new file mode 100644
index 0000000..e801412
Binary files /dev/null and b/Wello/res/icon/android/drawable-xxhdpi-icon.png differ
diff --git a/Wello/res/icon/android/drawable-xxxhdpi-icon.png b/Wello/res/icon/android/drawable-xxxhdpi-icon.png
new file mode 100644
index 0000000..0d848e6
Binary files /dev/null and b/Wello/res/icon/android/drawable-xxxhdpi-icon.png differ
diff --git a/Wello/res/icon/ios/icon-40.png b/Wello/res/icon/ios/icon-40.png
new file mode 100644
index 0000000..ebac8cc
Binary files /dev/null and b/Wello/res/icon/ios/icon-40.png differ
diff --git a/Wello/res/icon/ios/icon-40@2x.png b/Wello/res/icon/ios/icon-40@2x.png
new file mode 100644
index 0000000..32caacc
Binary files /dev/null and b/Wello/res/icon/ios/icon-40@2x.png differ
diff --git a/Wello/res/icon/ios/icon-50.png b/Wello/res/icon/ios/icon-50.png
new file mode 100644
index 0000000..fe41c07
Binary files /dev/null and b/Wello/res/icon/ios/icon-50.png differ
diff --git a/Wello/res/icon/ios/icon-50@2x.png b/Wello/res/icon/ios/icon-50@2x.png
new file mode 100644
index 0000000..0d5f1da
Binary files /dev/null and b/Wello/res/icon/ios/icon-50@2x.png differ
diff --git a/Wello/res/icon/ios/icon-60.png b/Wello/res/icon/ios/icon-60.png
new file mode 100644
index 0000000..e7fa274
Binary files /dev/null and b/Wello/res/icon/ios/icon-60.png differ
diff --git a/Wello/res/icon/ios/icon-60@2x.png b/Wello/res/icon/ios/icon-60@2x.png
new file mode 100644
index 0000000..ae0f0fc
Binary files /dev/null and b/Wello/res/icon/ios/icon-60@2x.png differ
diff --git a/Wello/res/icon/ios/icon-60@3x.png b/Wello/res/icon/ios/icon-60@3x.png
new file mode 100644
index 0000000..eff00b5
Binary files /dev/null and b/Wello/res/icon/ios/icon-60@3x.png differ
diff --git a/Wello/res/icon/ios/icon-72.png b/Wello/res/icon/ios/icon-72.png
new file mode 100644
index 0000000..0b3e799
Binary files /dev/null and b/Wello/res/icon/ios/icon-72.png differ
diff --git a/Wello/res/icon/ios/icon-72@2x.png b/Wello/res/icon/ios/icon-72@2x.png
new file mode 100644
index 0000000..e801412
Binary files /dev/null and b/Wello/res/icon/ios/icon-72@2x.png differ
diff --git a/Wello/res/icon/ios/icon-76.png b/Wello/res/icon/ios/icon-76.png
new file mode 100644
index 0000000..245f37c
Binary files /dev/null and b/Wello/res/icon/ios/icon-76.png differ
diff --git a/Wello/res/icon/ios/icon-76@2x.png b/Wello/res/icon/ios/icon-76@2x.png
new file mode 100644
index 0000000..93ab852
Binary files /dev/null and b/Wello/res/icon/ios/icon-76@2x.png differ
diff --git a/Wello/res/icon/ios/icon-small.png b/Wello/res/icon/ios/icon-small.png
new file mode 100644
index 0000000..586967a
Binary files /dev/null and b/Wello/res/icon/ios/icon-small.png differ
diff --git a/Wello/res/icon/ios/icon-small@2x.png b/Wello/res/icon/ios/icon-small@2x.png
new file mode 100644
index 0000000..b7c038a
Binary files /dev/null and b/Wello/res/icon/ios/icon-small@2x.png differ
diff --git a/Wello/res/icon/ios/icon-small@3x.png b/Wello/res/icon/ios/icon-small@3x.png
new file mode 100644
index 0000000..eb28e52
Binary files /dev/null and b/Wello/res/icon/ios/icon-small@3x.png differ
diff --git a/Wello/res/icon/ios/icon.png b/Wello/res/icon/ios/icon.png
new file mode 100644
index 0000000..e591bc2
Binary files /dev/null and b/Wello/res/icon/ios/icon.png differ
diff --git a/Wello/res/icon/ios/icon@2x.png b/Wello/res/icon/ios/icon@2x.png
new file mode 100644
index 0000000..aa938f7
Binary files /dev/null and b/Wello/res/icon/ios/icon@2x.png differ
diff --git a/Wello/res/icon/windows/Square150x150Logo.scale-100.png b/Wello/res/icon/windows/Square150x150Logo.scale-100.png
new file mode 100644
index 0000000..d7b7be0
Binary files /dev/null and b/Wello/res/icon/windows/Square150x150Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Square150x150Logo.scale-240.png b/Wello/res/icon/windows/Square150x150Logo.scale-240.png
new file mode 100644
index 0000000..62f513b
Binary files /dev/null and b/Wello/res/icon/windows/Square150x150Logo.scale-240.png differ
diff --git a/Wello/res/icon/windows/Square30x30Logo.scale-100.png b/Wello/res/icon/windows/Square30x30Logo.scale-100.png
new file mode 100644
index 0000000..0c1811e
Binary files /dev/null and b/Wello/res/icon/windows/Square30x30Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Square310x310Logo.scale-100.png b/Wello/res/icon/windows/Square310x310Logo.scale-100.png
new file mode 100644
index 0000000..9a3b5f6
Binary files /dev/null and b/Wello/res/icon/windows/Square310x310Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Square44x44Logo.scale-100.png b/Wello/res/icon/windows/Square44x44Logo.scale-100.png
new file mode 100644
index 0000000..213ad29
Binary files /dev/null and b/Wello/res/icon/windows/Square44x44Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Square44x44Logo.scale-240.png b/Wello/res/icon/windows/Square44x44Logo.scale-240.png
new file mode 100644
index 0000000..d584e4d
Binary files /dev/null and b/Wello/res/icon/windows/Square44x44Logo.scale-240.png differ
diff --git a/Wello/res/icon/windows/Square70x70Logo.scale-100.png b/Wello/res/icon/windows/Square70x70Logo.scale-100.png
new file mode 100644
index 0000000..04a50d6
Binary files /dev/null and b/Wello/res/icon/windows/Square70x70Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Square71x71Logo.scale-100.png b/Wello/res/icon/windows/Square71x71Logo.scale-100.png
new file mode 100644
index 0000000..bea6126
Binary files /dev/null and b/Wello/res/icon/windows/Square71x71Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Square71x71Logo.scale-240.png b/Wello/res/icon/windows/Square71x71Logo.scale-240.png
new file mode 100644
index 0000000..de331ba
Binary files /dev/null and b/Wello/res/icon/windows/Square71x71Logo.scale-240.png differ
diff --git a/Wello/res/icon/windows/StoreLogo.scale-100.png b/Wello/res/icon/windows/StoreLogo.scale-100.png
new file mode 100644
index 0000000..3737a87
Binary files /dev/null and b/Wello/res/icon/windows/StoreLogo.scale-100.png differ
diff --git a/Wello/res/icon/windows/StoreLogo.scale-240.png b/Wello/res/icon/windows/StoreLogo.scale-240.png
new file mode 100644
index 0000000..f14fd14
Binary files /dev/null and b/Wello/res/icon/windows/StoreLogo.scale-240.png differ
diff --git a/Wello/res/icon/windows/Wide310x150Logo.scale-100.png b/Wello/res/icon/windows/Wide310x150Logo.scale-100.png
new file mode 100644
index 0000000..3ed9b68
Binary files /dev/null and b/Wello/res/icon/windows/Wide310x150Logo.scale-100.png differ
diff --git a/Wello/res/icon/windows/Wide310x150Logo.scale-240.png b/Wello/res/icon/windows/Wide310x150Logo.scale-240.png
new file mode 100644
index 0000000..577df1b
Binary files /dev/null and b/Wello/res/icon/windows/Wide310x150Logo.scale-240.png differ
diff --git a/Wello/res/icon/wp8/ApplicationIcon.png b/Wello/res/icon/wp8/ApplicationIcon.png
new file mode 100644
index 0000000..58e2765
Binary files /dev/null and b/Wello/res/icon/wp8/ApplicationIcon.png differ
diff --git a/Wello/res/icon/wp8/Background.png b/Wello/res/icon/wp8/Background.png
new file mode 100644
index 0000000..321c929
Binary files /dev/null and b/Wello/res/icon/wp8/Background.png differ
diff --git a/Wello/res/screen/android/drawable-land-hdpi-screen.png b/Wello/res/screen/android/drawable-land-hdpi-screen.png
new file mode 100644
index 0000000..2d4b336
Binary files /dev/null and b/Wello/res/screen/android/drawable-land-hdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-land-ldpi-screen.png b/Wello/res/screen/android/drawable-land-ldpi-screen.png
new file mode 100644
index 0000000..2589e62
Binary files /dev/null and b/Wello/res/screen/android/drawable-land-ldpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-land-mdpi-screen.png b/Wello/res/screen/android/drawable-land-mdpi-screen.png
new file mode 100644
index 0000000..6683c0c
Binary files /dev/null and b/Wello/res/screen/android/drawable-land-mdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-land-xhdpi-screen.png b/Wello/res/screen/android/drawable-land-xhdpi-screen.png
new file mode 100644
index 0000000..6ea9d4a
Binary files /dev/null and b/Wello/res/screen/android/drawable-land-xhdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-land-xxhdpi-screen.png b/Wello/res/screen/android/drawable-land-xxhdpi-screen.png
new file mode 100644
index 0000000..d861372
Binary files /dev/null and b/Wello/res/screen/android/drawable-land-xxhdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-land-xxxhdpi-screen.png b/Wello/res/screen/android/drawable-land-xxxhdpi-screen.png
new file mode 100644
index 0000000..07fe39c
Binary files /dev/null and b/Wello/res/screen/android/drawable-land-xxxhdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-port-hdpi-screen.png b/Wello/res/screen/android/drawable-port-hdpi-screen.png
new file mode 100644
index 0000000..8532dcf
Binary files /dev/null and b/Wello/res/screen/android/drawable-port-hdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-port-ldpi-screen.png b/Wello/res/screen/android/drawable-port-ldpi-screen.png
new file mode 100644
index 0000000..98ca6cf
Binary files /dev/null and b/Wello/res/screen/android/drawable-port-ldpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-port-mdpi-screen.png b/Wello/res/screen/android/drawable-port-mdpi-screen.png
new file mode 100644
index 0000000..526a9ff
Binary files /dev/null and b/Wello/res/screen/android/drawable-port-mdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-port-xhdpi-screen.png b/Wello/res/screen/android/drawable-port-xhdpi-screen.png
new file mode 100644
index 0000000..ee03fb1
Binary files /dev/null and b/Wello/res/screen/android/drawable-port-xhdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-port-xxhdpi-screen.png b/Wello/res/screen/android/drawable-port-xxhdpi-screen.png
new file mode 100644
index 0000000..0bbe805
Binary files /dev/null and b/Wello/res/screen/android/drawable-port-xxhdpi-screen.png differ
diff --git a/Wello/res/screen/android/drawable-port-xxxhdpi-screen.png b/Wello/res/screen/android/drawable-port-xxxhdpi-screen.png
new file mode 100644
index 0000000..a4c5159
Binary files /dev/null and b/Wello/res/screen/android/drawable-port-xxxhdpi-screen.png differ
diff --git a/Wello/res/screen/ios/Default-568h@2x~iphone.png b/Wello/res/screen/ios/Default-568h@2x~iphone.png
new file mode 100644
index 0000000..413833c
Binary files /dev/null and b/Wello/res/screen/ios/Default-568h@2x~iphone.png differ
diff --git a/Wello/res/screen/ios/Default-667h.png b/Wello/res/screen/ios/Default-667h.png
new file mode 100644
index 0000000..8c0f6b7
Binary files /dev/null and b/Wello/res/screen/ios/Default-667h.png differ
diff --git a/Wello/res/screen/ios/Default-736h.png b/Wello/res/screen/ios/Default-736h.png
new file mode 100644
index 0000000..8a64eee
Binary files /dev/null and b/Wello/res/screen/ios/Default-736h.png differ
diff --git a/Wello/res/screen/ios/Default-Landscape-736h.png b/Wello/res/screen/ios/Default-Landscape-736h.png
new file mode 100644
index 0000000..f7375be
Binary files /dev/null and b/Wello/res/screen/ios/Default-Landscape-736h.png differ
diff --git a/Wello/res/screen/ios/Default-Landscape@2x~ipad.png b/Wello/res/screen/ios/Default-Landscape@2x~ipad.png
new file mode 100644
index 0000000..4c4d661
Binary files /dev/null and b/Wello/res/screen/ios/Default-Landscape@2x~ipad.png differ
diff --git a/Wello/res/screen/ios/Default-Landscape~ipad.png b/Wello/res/screen/ios/Default-Landscape~ipad.png
new file mode 100644
index 0000000..744083d
Binary files /dev/null and b/Wello/res/screen/ios/Default-Landscape~ipad.png differ
diff --git a/Wello/res/screen/ios/Default-Portrait@2x~ipad.png b/Wello/res/screen/ios/Default-Portrait@2x~ipad.png
new file mode 100644
index 0000000..d9fa2ce
Binary files /dev/null and b/Wello/res/screen/ios/Default-Portrait@2x~ipad.png differ
diff --git a/Wello/res/screen/ios/Default-Portrait~ipad.png b/Wello/res/screen/ios/Default-Portrait~ipad.png
new file mode 100644
index 0000000..d160818
Binary files /dev/null and b/Wello/res/screen/ios/Default-Portrait~ipad.png differ
diff --git a/Wello/res/screen/ios/Default@2x~iphone.png b/Wello/res/screen/ios/Default@2x~iphone.png
new file mode 100644
index 0000000..fd4bc42
Binary files /dev/null and b/Wello/res/screen/ios/Default@2x~iphone.png differ
diff --git a/Wello/res/screen/ios/Default~iphone.png b/Wello/res/screen/ios/Default~iphone.png
new file mode 100644
index 0000000..526a9ff
Binary files /dev/null and b/Wello/res/screen/ios/Default~iphone.png differ
diff --git a/Wello/res/screen/windows/SplashScreen.scale-100.png b/Wello/res/screen/windows/SplashScreen.scale-100.png
new file mode 100644
index 0000000..f46780e
Binary files /dev/null and b/Wello/res/screen/windows/SplashScreen.scale-100.png differ
diff --git a/Wello/res/screen/windows/SplashScreenPhone.scale-240.png b/Wello/res/screen/windows/SplashScreenPhone.scale-240.png
new file mode 100644
index 0000000..b2caf0c
Binary files /dev/null and b/Wello/res/screen/windows/SplashScreenPhone.scale-240.png differ
diff --git a/Wello/res/screen/wp8/screen-portrait.jpg b/Wello/res/screen/wp8/screen-portrait.jpg
new file mode 100644
index 0000000..3c8ee26
Binary files /dev/null and b/Wello/res/screen/wp8/screen-portrait.jpg differ
diff --git a/Wello/src/components/Hello.js b/Wello/src/components/Hello.js
new file mode 100644
index 0000000..621907c
--- /dev/null
+++ b/Wello/src/components/Hello.js
@@ -0,0 +1,44 @@
+import React from 'react';
+import Tappable from 'react-tappable';
+
+import '../css/hello.css';
+
+import Message from './Message';
+
+const Hello = React.createClass({
+
+ displayName: 'Hello',
+
+ getInitialState() {
+ return {
+ message: '',
+ };
+ },
+
+ sayHello(msg) {
+ // CSSTransitionGroup will fade this in
+ this.setState({
+ message: msg
+ });
+ setTimeout(() => {
+ // CSSTransitionGroup will now fade this out
+ this.setState({
+ message: '',
+ });
+ }, 2000);
+ },
+
+ render() {
+ return (
+
+
+ this.sayHello('Hello world') }
+ >Say hello
+
+ );
+ },
+});
+
+module.exports = Hello;
diff --git a/Wello/src/components/Message.js b/Wello/src/components/Message.js
new file mode 100644
index 0000000..5a0fce1
--- /dev/null
+++ b/Wello/src/components/Message.js
@@ -0,0 +1,26 @@
+import '../css/message.css';
+
+import React from 'react';
+import CSSTransitionGroup from 'react-addons-css-transition-group';
+
+export default React.createClass({
+
+ displayName: 'Message',
+
+ propTypes: {
+ message: React.PropTypes.string,
+ },
+
+ render() {
+ const { message } = this.props;
+ const msg = message
+ ? { message }
+ :
+ return (
+
+ { msg }
+
+ );
+ }
+});
diff --git a/Wello/src/css/hello.css b/Wello/src/css/hello.css
new file mode 100644
index 0000000..9f09351
--- /dev/null
+++ b/Wello/src/css/hello.css
@@ -0,0 +1,34 @@
+.hello {
+ position: absolute;
+ top: 20px;
+ right: 0;
+ bottom: 0;
+ left: 0;
+}
+
+.hello .button-say-hello {
+ position: absolute;
+ display: block;
+ font-size: 120%;
+ bottom: 100px;
+ right: 50%;
+ -webkit-transform: translate(50%,0);
+ transform: translate(50%,0);
+ -webkit-appearance: none;
+ border-radius: 2px;
+ background: #efefef;
+ color: #666666;
+ padding: 10px;
+ width: 300px;
+ text-align: center;
+ text-decoration: none;
+ box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
+}
+
+.hello .button-say-hello.Tappable-active {
+ background: #e6e6e6;
+ color: #333333;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
+ -webkit-transform: translate(50%, 1px);
+ transform: translate(50%, 1px);
+}
diff --git a/Wello/src/css/index.css b/Wello/src/css/index.css
new file mode 100644
index 0000000..562ecf9
--- /dev/null
+++ b/Wello/src/css/index.css
@@ -0,0 +1,17 @@
+* {
+ -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
+}
+
+body {
+ -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
+ -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
+ -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
+ background: #ffffff;
+ font-family: 'HelveticaNeue-Light', 'HelveticaNeue', 'Roboto', Helvetica, Arial, sans-serif;
+ font-size: 100%;
+ height: 100%;
+ margin: 0px;
+ padding: 0px;
+ width: 100%;
+}
+
diff --git a/Wello/src/css/message.css b/Wello/src/css/message.css
new file mode 100644
index 0000000..ecf418f
--- /dev/null
+++ b/Wello/src/css/message.css
@@ -0,0 +1,31 @@
+.hello-message {
+ position: absolute;
+ display: block;
+ font-size: 120%;
+ top: 100px;
+ right: 50%;
+ -webkit-transform: translate(50%,0);
+ transform: translate(50%,0);
+ -webkit-appearance: none;
+ color: #222222;
+ width: 300px;
+ text-align: center;
+}
+
+.fade-message-enter {
+ opacity: 0.01;
+}
+
+.fade-message-enter.fade-message-enter-active {
+ opacity: 1;
+ transition: opacity 300ms ease-in;
+}
+
+.fade-message-leave {
+ opacity: 1;
+}
+
+.fade-message-leave.fade-message-leave-active {
+ opacity: 0.01;
+ transition: opacity 300ms ease-in;
+}
diff --git a/Wello/src/index.js b/Wello/src/index.js
new file mode 100644
index 0000000..15ed674
--- /dev/null
+++ b/Wello/src/index.js
@@ -0,0 +1,37 @@
+import './css/index.css';
+
+import React from 'react';
+import ReactDOM from 'react-dom';
+import CSSTransitionGroup from 'react-addons-css-transition-group';
+
+import Hello from './components/Hello';
+
+const App = React.createClass({
+ getInitialState() {
+ //return StepStore.getState();
+ return {
+ animationName: 'push',
+ }
+ },
+ componentWillMount() {
+ // Lifecycle function that is triggered just before a component mounts
+ },
+ componentWillUnmount() {
+ // Lifecycle function that is triggered just before a component unmounts
+ },
+ render() {
+ const { animationName } = this.state;
+ return (
+
+
+ {/* Remove the below component and its children */}
+ {/* and replace with your own */}
+
+
+
+ );
+ },
+});
+
+ReactDOM.render(, document.getElementById('app'));
diff --git a/Wello/webpack.config.js b/Wello/webpack.config.js
new file mode 100644
index 0000000..32a4cae
--- /dev/null
+++ b/Wello/webpack.config.js
@@ -0,0 +1,62 @@
+const merge = require('webpack-merge');
+const path = require('path');
+const webpack = require('webpack');
+
+const ENV = require('./env');
+const PATHS = {
+ src: path.join(__dirname, 'src'),
+ build: path.join(__dirname, 'www'),
+};
+
+process.env.BABEL_ENV = ENV;
+
+const common = {
+ entry: PATHS.src,
+ output: {
+ path: PATHS.build,
+ filename: 'bundle.js',
+ },
+ module: {
+ loaders: [
+ {
+ test: /\.css$/,
+ loaders: ['style', 'css?url=false'],
+ include: PATHS.src,
+ },
+ {
+ test: /\.jsx?$/,
+ loader: 'babel?cacheDirectory',
+ include: PATHS.src,
+ }
+ ]
+ }
+};
+
+if (ENV === 'development') {
+ module.exports = merge(common, {
+ devServer: {
+ contentBase: PATHS.build,
+
+ // Enable history API fallback so HTML5 History API based
+ // routing works. This is a good default that will come
+ // in handy in more complicated setups.
+ historyApiFallback: true,
+ hot: true,
+ inline: true,
+ progress: true,
+
+ // Display only errors to reduce the amount of output.
+ stats: 'errors-only',
+
+ // Parse host and port from env so this is easy to customize.
+ host: process.env.HOST,
+ port: process.env.PORT,
+ },
+ plugins: [
+ new webpack.HotModuleReplacementPlugin(),
+ ],
+ });
+} else {
+ // config can be added here for minifying / etc
+ module.exports = merge(common, {});
+}
diff --git a/Wello/www/icon.png b/Wello/www/icon.png
new file mode 100644
index 0000000..3516df3
Binary files /dev/null and b/Wello/www/icon.png differ
diff --git a/Wello/www/index.html b/Wello/www/index.html
new file mode 100644
index 0000000..b385131
--- /dev/null
+++ b/Wello/www/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+ React hot-loading Hello World
+
+
+ eufhgoieauhgf
+
+
+
+
+