diff --git a/client/components/LinkPreview.vue b/client/components/LinkPreview.vue new file mode 100644 index 00000000..9281cb66 --- /dev/null +++ b/client/components/LinkPreview.vue @@ -0,0 +1,82 @@ + + + + + + + + + + + {{link.head}} + + + + + + + + + {{link.body}} + + + + + + + + + + + + + + + + + + + + + + This image is larger than {{maxSize | friendlysize}} and cannot be + previewed. + Click here + to open it in a new window. + + + + + A preview could not be loaded. + Click here + to open it in a new window. + + + {{link.message}} + + + + + + + + + + diff --git a/client/components/Message.vue b/client/components/Message.vue index a018ec7a..511037e3 100644 --- a/client/components/Message.vue +++ b/client/components/Message.vue @@ -32,11 +32,10 @@ class="text" v-html="$options.filters.parse(message.text, message.users)"/> -
{{link.message}}