Closed vdeksne closed 2 months ago
Fixed. @BlogCards.vue
<template>
<div class="blog-card">
<div v-show="editPost" class="icons">
<div @click="editBlog" class="icon">
<Edit class="edit" />
</div>
<div @click="deletePost" class="icon">
<Delete class="delete" />
</div>
</div>
<!-- Directly bind the Firebase Storage URL to the src attribute -->
<img :src="post.blogCoverPhoto" alt="Blog cover photo" />
<div class="info">
<h4>{{ post.blogTitle }}</h4>
<h6>Posted on: {{ post.blogDate }}</h6>
<router-link class="link" to="#">
View the Post
<Arrow class="arrow" />
</router-link>
</div>
</div>
</template>