+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Login.vue b/src/components/Login.vue
index 7999d35..25a6c55 100644
--- a/src/components/Login.vue
+++ b/src/components/Login.vue
@@ -68,7 +68,7 @@ export default {
},
created() {
if (this.loggedIn) {
- this.$router.push("/profile");
+ this.$router.replace({name: "Chat"});
}
},
watch: {
diff --git a/src/components/RoomInfo.vue b/src/components/RoomInfo.vue
new file mode 100644
index 0000000..b120164
--- /dev/null
+++ b/src/components/RoomInfo.vue
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
Work in progress!
+
+
+
+
+ {{
+ member.name.substring(0, 1).toUpperCase()
+ }}
+
+ {{ member.name }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index c540af0..79c165b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,6 +11,12 @@ const routes = [
name: 'Chat',
component: Chat
},
+ {
+ path: '/info',
+ name: 'RoomInfo',
+ component: () => import('../components/RoomInfo.vue'),
+ props: true,
+ },
{
path: '/login',
component: Login