diff --git a/src/App.vue b/src/App.vue
index fc8863e..86ff86a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -9,39 +9,6 @@
>
-
@@ -71,31 +38,31 @@ export default {
tooltipAnimationType: 'shift-away',
menuOptionsRight: [
{
- type: 'link',
- text: 'Projects',
- subMenuOptions: [
- {
- type: 'link',
- text: 'Expedition',
- path: './expedition',
- iconLeft: ''
- },
- {
- type: 'link',
- text: 'Collection',
- path: './collection',
- iconLeft: ''
- },
- {
- type: 'hr'
- },
- {
- type: 'link',
- text: 'Exclusive',
- path: './exclusive',
- iconLeft: ''
- }
- ]
+ type: 'link',
+ text: 'Projects',
+ subMenuOptions: [
+ {
+ type: 'link',
+ text: 'Expedition',
+ path: './expedition',
+ iconLeft: ''
+ },
+ {
+ type: 'link',
+ text: 'Collection',
+ path: './collection',
+ iconLeft: ''
+ },
+ {
+ type: 'hr'
+ },
+ {
+ type: 'link',
+ text: 'Exclusive',
+ path: './exclusive',
+ iconLeft: ''
+ }
+ ]
},
{
type: 'link',
@@ -166,36 +133,35 @@ export default {
logOut() {
this.jwt = null;
this.$toasted.global
- .appSuccess( {
+ .appSuccess({
message: "Locally Logged Out!"
- } )
- .goAway( 1200 );
+ })
+ .goAway(1200);
},
login() {
- if ( this.$socket.disconnected ) {
+ if (this.$socket.disconnected) {
this.$toasted.global
- .appError( {
+ .appError({
message: "You are not connected to the server!"
- } )
- .goAway( 1200 );
+ })
+ .goAway(1200);
} else {
- this.$socket.emit( "authenticate", {
- data: JSON.stringify( {
+ this.$socket.emit("authenticate", {
+ data: JSON.stringify({
username: this.username,
password: this.password
- } )
- } );
+ })
+ });
}
},
- vnbItemClicked( text ) {
- if ( text === 'About' ) {
- // alert("'About' was selected.");
+ vnbItemClicked(text) {
+ if (text === 'About') {
}
}
},
sockets: {
- auth: function ( response ) {
+ auth: function (response) {
this.jwt = response.jwt;
}
}
@@ -211,7 +177,7 @@ export default {
width: 100%;
#vue-navigation-bar {
- margin-left:10px;
+ margin-left: 10px;
div {
> .vnb__popup__bottom ul li a {
@@ -272,10 +238,10 @@ div .main-navbar-section {
}
}
&__popup {
- &__top{
- &__close-button{
- &__image{
- max-height: 30px!important;
+ &__top {
+ &__close-button {
+ &__image {
+ max-height: 30px !important;
width: 30px;
}
}
diff --git a/src/components/AboutCard.vue b/src/components/AboutCard.vue
deleted file mode 100644
index 4784cc1..0000000
--- a/src/components/AboutCard.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/src/utils/components/index.js b/src/utils/components/index.js
index 0b896d9..38eb925 100644
--- a/src/utils/components/index.js
+++ b/src/utils/components/index.js
@@ -8,3 +8,12 @@ Vue.component('button-counter', {
},
template: ''
})
+
+
+Vue.component("async-component", (resolve, reject) => {
+ setTimeout(() => {
+ resolve({
+ template: "Async component ...
"
+ });
+ }, 1000);
+});
diff --git a/src/views/About.vue b/src/views/About.vue
index d5ec658..34960af 100644
--- a/src/views/About.vue
+++ b/src/views/About.vue
@@ -12,22 +12,18 @@
{{ profileDescription }}
Loading the data just for you.
-
-
-