Skip to content

feat(blog-list): add BlogList BlogBackground BlogBackButton components as lynx-website#74

Merged
SoonIter merged 6 commits intomainfrom
feat/blog-components
Apr 21, 2026
Merged

feat(blog-list): add BlogList BlogBackground BlogBackButton components as lynx-website#74
SoonIter merged 6 commits intomainfrom
feat/blog-components

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Apr 14, 2026

Summary

  • add blog-avatar and blog-list library components plus Storybook stories
  • align blog-list presentation with lynx-website using featured/grid cards, meteors background, border beam hover effect, tilt interaction, and stronger glassmorphism styling
  • support optional renderInlineMarkdown injection for string descriptions while keeping plain-text fallback behavior
image image

Verification

  • npx biome check src/blog-list/index.tsx src/blog-list/index.module.scss stories/BlogList.stories.tsx
  • npx tsc --noEmit -p tsconfig.json
  • pnpm build
  • npm run preflight (script is not defined in this repository)

Notes

  • no repository PR template was found under .github/
  • story-level stories/tsconfig.json issues remain unrelated to this change and were not used as the verification gate

Copilot AI review requested due to automatic review settings April 14, 2026 09:28
Copy link
Copy Markdown

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 new blog-avatar and blog-list library entrypoints (plus Storybook stories) and updates the blog list presentation/interaction to match the lynx-website style, including decorative canvas effects and optional inline-markdown rendering for string descriptions.

Changes:

  • Add BlogAvatar / BlogAvatarGroup components with styling and Storybook story.
  • Add BlogList component with featured + grid cards, background meteors/grid canvas, border-beam hover effect, and tilt interaction hook.
  • Expose both components as build/exports entrypoints via rslib.config.ts and package.json.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
stories/BlogList.stories.tsx Adds a Storybook example for the new BlogList component.
stories/BlogAvatar.stories.tsx Adds a Storybook example for BlogAvatar and BlogAvatarGroup.
src/blog-list/useTiltEffect.ts Adds a DOM-event based tilt interaction hook.
src/blog-list/index.tsx Implements the BlogList component, card rendering, and optional inline markdown injection.
src/blog-list/index.module.scss Adds lynx-aligned styling for the blog list layout and cards.
src/blog-list/MeteorsBackground.tsx Adds a canvas-based decorative grid + meteor animation background.
src/blog-list/BorderBeam.tsx Adds a canvas-based animated border beam effect for hover state.
src/blog-list/BorderBeam.module.scss Styles for positioning the BorderBeam canvas overlay.
src/blog-avatar/index.tsx Implements BlogAvatar and BlogAvatarGroup (including compact mode).
src/blog-avatar/index.module.scss Adds styling for BlogAvatar and grouped/compact layouts.
rslib.config.ts Registers new blog-avatar and blog-list build entrypoints.
package.json Exposes ./blog-avatar and ./blog-list package exports.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/blog-list/index.tsx
Comment thread src/blog-list/MeteorsBackground.tsx Outdated
Comment thread src/blog-list/MeteorsBackground.tsx
Comment thread src/blog-list/BorderBeam.tsx
Comment thread src/blog-list/index.tsx Outdated
Comment thread src/blog-list/index.tsx Outdated
Comment thread src/blog-list/useTiltEffect.ts Outdated
Comment thread src/blog-list/BorderBeam.tsx Outdated
Comment thread src/blog-list/index.tsx
@SoonIter SoonIter marked this pull request as draft April 14, 2026 09:41
@SoonIter SoonIter changed the title feat(blog): align blog components with lynx style feat(blog-list): align blog components with lynx style Apr 20, 2026
@SoonIter SoonIter force-pushed the feat/blog-components branch from d90377e to 77c13e1 Compare April 20, 2026 09:07
@SoonIter SoonIter changed the title feat(blog-list): align blog components with lynx style feat(blog-list): add BlogList components with the same style from lynx-website Apr 20, 2026
@SoonIter SoonIter changed the title feat(blog-list): add BlogList components with the same style from lynx-website feat(blog-list): add BlogList BlogBackground BlogBackButton components as lynx-website Apr 20, 2026
Comment thread src/blog-back-button/index.tsx Fixed
@SoonIter SoonIter marked this pull request as ready for review April 20, 2026 12:44
@SoonIter SoonIter requested a review from Copilot April 20, 2026 12:44
Copy link
Copy Markdown

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

Copilot reviewed 15 out of 15 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread stories/BlogBackButton.stories.tsx Outdated
Comment thread stories/BlogBackButton.stories.tsx Outdated
Comment thread src/blog-back-button/index.module.scss Outdated
Comment thread src/blog-back-button/index.tsx Outdated
Comment thread src/blog-list/index.tsx
Comment thread src/blog-list/index.tsx Outdated
@SoonIter SoonIter merged commit a226ea6 into main Apr 21, 2026
6 checks passed
@SoonIter SoonIter deleted the feat/blog-components branch April 21, 2026 03:22
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.

3 participants