You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
Currently, the BlogCard component on the homepage has hardcoded images for the blog thumbnail (/placeholder.avif) and the author image (/user.jpeg). These need to be dynamically loaded from Supabase, similar to how the title, description, and author name are already being fetched.
Expected Behavior:
Fetch the blog thumbnail dynamically from the image field in the blog data.
Fetch the author image dynamically using the author_id, querying the relevant author details.
Use default images if the thumbnail or author image is not available in the database.
The text was updated successfully, but these errors were encountered:
File:
devops-dynamics-website/src/components/BlogCard.tsx
Issue Description:
Currently, the
BlogCard
component on the homepage has hardcoded images for the blog thumbnail (/placeholder.avif
) and the author image (/user.jpeg
). These need to be dynamically loaded from Supabase, similar to how the title, description, and author name are already being fetched.Expected Behavior:
image
field in the blog data.author_id
, querying the relevant author details.The text was updated successfully, but these errors were encountered: