Skip to content

feat: post page layout markup #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: post page layout markup #1

wants to merge 4 commits into from

Conversation

yunsuoooo
Copy link
Owner

post layout markup

  • apply FSD
  • define post type
  • add post mock data
  • post list layout
  • post content layout

Copy link

vercel bot commented Mar 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
brand ❌ Failed (Inspect) Mar 31, 2025 4:26pm

@yunsuoooo yunsuoooo requested a review from Copilot April 2, 2025 10:26
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces the post page layout markup using the FSD approach and refactors post-related components. Key changes include:

  • Creation of new UI components for post preview, list, and various post content types (video, table, code block, etc.).
  • Addition of mock data and type definitions to support the new post layout.
  • Update of the posts pages to utilize the new components.

Reviewed Changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/features/post/ui/post-preview.tsx New component for rendering a clickable post preview.
src/features/post/ui/post-list.tsx New component for displaying a list of post previews.
src/features/post/ui/post-content/*.tsx Various components to render different content types (video, unordered list, table, image, etc.).
src/features/post/model/post-types.ts Type definitions for post and post content.
src/features/post/model/mock-data.ts Added mock data supporting post and post preview content.
src/app/posts/page.tsx Updated posts page to render the post list with mock data.
src/app/posts/[post_id]/page.tsx Updated individual post page to render post details using new content components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant