[Feature] Website live chat (#187)

Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
Pranav Raj S
2019-10-29 12:50:54 +05:30
committed by GitHub
co-authored by Nithin David Thomas Sojan Jose
parent a4114288f3
commit 16fe912fbd
80 changed files with 2040 additions and 106 deletions
+33
View File
@@ -0,0 +1,33 @@
<template>
<section class="conversation">
<ChatMessage
v-for="message in messages"
:key="message.id"
:message="message"
/>
</section>
</template>
<script>
import ChatMessage from 'widget/components/ChatMessage.vue';
export default {
name: 'ConversationWrap',
components: {
ChatMessage,
},
props: {
messages: Object,
},
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
@import '~widget/assets/scss/variables.scss';
.conversation {
height: 100%;
padding: $space-large $space-small $space-large $space-normal;
}
</style>