diff --git a/site/src/components/application/script.js b/site/src/components/application/script.js
index 52c96c2..5eb7003 100644
--- a/site/src/components/application/script.js
+++ b/site/src/components/application/script.js
@@ -13,31 +13,11 @@ export default
Project
},
- data()
- {
- return {
- counter: 0
- }
- },
-
computed:
{
- projects()
- {
- return this.$store.state.projects.all
- },
-
project()
{
return this.$store.state.projects.current
}
- },
-
- mounted()
- {
- window.setInterval(() =>
- {
- this.counter++
- }, 1000)
}
}
\ No newline at end of file
diff --git a/site/src/components/application/template.html b/site/src/components/application/template.html
index e6976c8..cd91d57 100644
--- a/site/src/components/application/template.html
+++ b/site/src/components/application/template.html
@@ -1,5 +1,4 @@
- {{ counter }}
diff --git a/site/src/components/chat/script.js b/site/src/components/chat/script.js
index b532fd5..9577557 100644
--- a/site/src/components/chat/script.js
+++ b/site/src/components/chat/script.js
@@ -6,7 +6,8 @@ export default
{
return {
userName: '',
- messageText: ''
+ messageText: '',
+ open: false
}
},
@@ -37,6 +38,11 @@ export default
methods:
{
+ onHeaderClick()
+ {
+ this.open = !this.open
+ },
+
onUserNameChange()
{
this.$store.commit('setPendingUser', { name: this.userName })
diff --git a/site/src/components/chat/style.styl b/site/src/components/chat/style.styl
index daae169..b38c843 100644
--- a/site/src/components/chat/style.styl
+++ b/site/src/components/chat/style.styl
@@ -3,6 +3,13 @@
bottom 0
right 20px
+.header
+ cursor pointer
+
.user-name
outline none
- border none
\ No newline at end of file
+ border none
+
+.messages
+ height 300px
+ overflow-y scroll
\ No newline at end of file
diff --git a/site/src/components/chat/template.html b/site/src/components/chat/template.html
index e9a2d9d..1a17b71 100644
--- a/site/src/components/chat/template.html
+++ b/site/src/components/chat/template.html
@@ -1,24 +1,26 @@
-
+
-
-
-
- {{ message.time }}
-
-
- {{ message.user.name }}
-
-
- {{ message.text }}
+
+
+
+
+ {{ message.time }}
+
+
+ {{ message.user.name }}
+
+
+ {{ message.text }}
+
-
-
- Your nickname is
-
-
-
+
+ Your nickname is
+
+
+
+
\ No newline at end of file