diff --git a/resources/assets/js/vue-components/solution/SolutionDefaultImage.vue b/resources/assets/js/vue-components/solution/SolutionDefaultImage.vue new file mode 100644 index 00000000..90881200 --- /dev/null +++ b/resources/assets/js/vue-components/solution/SolutionDefaultImage.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/resources/assets/js/vue-components/solution/Solutions.vue b/resources/assets/js/vue-components/solution/Solutions.vue index 0dd461f4..2f7d0e3b 100644 --- a/resources/assets/js/vue-components/solution/Solutions.vue +++ b/resources/assets/js/vue-components/solution/Solutions.vue @@ -48,65 +48,7 @@ >
- - - - - - - - - - - - - - - +
decorative image for solution @@ -124,7 +66,7 @@ :is-filled="solution.upvoted_by_current_user" :solution-id="solution.id" :icon-color-theme="buttonTextColorTheme" - @click="heartClicked(solution.id)" + @click="(event) => heartClicked(event, solution.id)" >
{{ solution.upvotes_count }} @@ -144,6 +86,15 @@
+
+
+

+ +
+ +