contentlayerdev / contentlayerdev/website

Clean up how code snippets are managed

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
132
Forks
57
PR merge metrics
No merged PRs in 30d

Description

We're doing this in `getStaticProps`, but we should delegate that responsibility to CL.

Need to consider accounting for dark/light mode.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the getStaticProps implementation that currently manages code snippets and read how CL is involved. Determine the intended delegation boundary, then account for the stated dark/light mode requirement. Done means snippet management is delegated appropriately and both display modes remain supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend, web-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.