OpenLake/OpenLake--Website

Feature: Update blog listing page

Open

#17 建立於 2025年4月27日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (12 fork)auto 404
help wanted

倉庫指標

Star
 (2 star)
PR 合併指標
 (PR 指標待抓取)

描述

Update blog listing page

This is a sub-issue for #15

Overview

Refactor the existing Blogs.jsx component to work with our new Markdown-based blog system and enhance the user interface for browsing blogs.

Tasks

  • Modify Blogs.jsx to load blog data from Markdown files using the new utility functions
  • Implement tag filtering with a clean UI for selecting categories
  • Update blog cards to display frontmatter metadata (title, author, date, read time, tags)
  • Create responsive grid layout that works on all device sizes
  • Add pagination if the number of blogs exceeds a certain threshold
  • Ensure proper routing to individual blog posts via slug-based URLs
  • Add loading states and error handling for blog data fetching
  • Implement basic search functionality (optional)

Technical Details

  • Use the getAllBlogs utility from Sub-Issue #16
  • Implement client-side filtering for tags
  • Optimize image loading with lazy loading techniques
  • Ensure accessibility compliance for all interactive elements

Definition of Done

  • Blog listing page successfully displays blogs from Markdown files
  • Tag filtering works correctly
  • UI is responsive and visually consistent with the site design
  • Clicking on a blog card navigates to the correct blog detail page
  • Performance is optimized for quick loading

貢獻者指南