Initial commit
[gyphy-test.git] / src / components / GifPreview.vue
blob72cf38ee26d8ec5b77c1a02bdaf6f9fa91a2ca94
1 <template>
2   <div>
3     <router-link to="/gifs/show/test">
4       <img :src="url">
5     </router-link>
6   </div>
7 </template>
9 <script>
10   export default {
11     name: 'gif-preview',
12     props: ['url']
13   }
14 </script>
16 <style scoped>
17   div {
18 /*    background: #f4f4f4;
19     padding: 15px;
22 break-inside: avoid;
23 margin-bottom: 15px;
24   }
26   img {
27     /*height: 100px;
28     width: 100px;*/
29   }
30 </style>