diff --git a/site/client/app/app.js b/site/client/app/app.js
index b8618c9..b049be2 100644
--- a/site/client/app/app.js
+++ b/site/client/app/app.js
@@ -15,8 +15,8 @@ var app = new Vue({
},
components: {
- lobby: require('./components/lobby'),
- chat: require('./components/chat')
+ inner: require('./components/inner'),
+ landing: require('./components/landing')
}
});
diff --git a/site/client/app/components/inner.js b/site/client/app/components/inner.js
new file mode 100644
index 0000000..deea695
--- /dev/null
+++ b/site/client/app/components/inner.js
@@ -0,0 +1,19 @@
+module.exports = {
+
+ template: require('../views/inner.html'),
+
+ data: function() {
+ return {
+ modal: false
+ }
+ },
+
+ components: {
+ searchmatch: require('./modals/searchMatch'),
+ navigation: require('./navigation'),
+ chat: require('./chat'),
+
+ lobby: require('./lobby')
+ }
+
+};
\ No newline at end of file
diff --git a/site/client/app/components/landing.js b/site/client/app/components/landing.js
new file mode 100644
index 0000000..339f7aa
--- /dev/null
+++ b/site/client/app/components/landing.js
@@ -0,0 +1,26 @@
+var router = require('./../routes');
+
+module.exports = {
+
+ template: require('../views/landing.html'),
+
+ inherit: true,
+
+ ready: function() {
+ setTimeout(function() {
+ $('.container-form-landing').addClass('active')
+ }, 300);
+ },
+
+ methods: {
+ asGuest: function() {
+ // set localstorage for guest
+ $('.icon-guest-load').show();
+
+ setTimeout(function() {
+ window.location.href = './lobby';
+ }, 500);
+ }
+ }
+
+};
\ No newline at end of file
diff --git a/site/client/app/components/lobby.js b/site/client/app/components/lobby.js
index 3a7edea..1e87a1d 100644
--- a/site/client/app/components/lobby.js
+++ b/site/client/app/components/lobby.js
@@ -2,15 +2,4 @@ module.exports = {
template: require('../views/lobby.html'),
- data: function() {
- return {
- modal: false
- }
- },
-
- components: {
- searchmatch: require('./modals/searchMatch'),
- navigation: require('./navigation')
- }
-
};
\ No newline at end of file
diff --git a/site/client/app/components/modals/login.js b/site/client/app/components/modals/login.js
deleted file mode 100644
index f8456c1..0000000
--- a/site/client/app/components/modals/login.js
+++ /dev/null
@@ -1,5 +0,0 @@
-module.exports = {
-
- template: require('../../views/modals/login.html')
-
-};
\ No newline at end of file
diff --git a/site/client/app/components/navigation.js b/site/client/app/components/navigation.js
index ffcece6..9a0a48d 100644
--- a/site/client/app/components/navigation.js
+++ b/site/client/app/components/navigation.js
@@ -12,8 +12,8 @@ module.exports = {
},
searchMatch: function() {
- this.modal = true;
- // trigger match functions
+ this.modal = true;
+ // trigger match functions
}
}
diff --git a/site/client/app/views/inner.html b/site/client/app/views/inner.html
new file mode 100644
index 0000000..e319baa
--- /dev/null
+++ b/site/client/app/views/inner.html
@@ -0,0 +1,15 @@
+