Add the Welcome newsletter template (`newsletter-welcome`)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 79/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
Read src/templates/newsletter/subscribe-card.ts and src/templates/newsletter/issue-card.ts for the closest newsletter templates, then check the shared template checklist in #5. Add src/templates/newsletter/welcome.ts with the specified fields and acceptance criteria; re-export it from src/templates/newsletter/index.ts and register it in src/templates/registry.ts. Done when the acceptance criteria and shared checklist are met.
由索引模型根据 Issue 内容生成。
描述
Part of #5. For the welcome post a newsletter sends to new subscribers.
Idea
A small label sits at the top ("Welcome to"), with the newsletter name large under it ("The Friday Brief"). Below are up to three numbered things to expect ("A 5-minute read every Friday", "One deep dive a month", "No ads, ever"), and an optional sign-off at the bottom ("Priya, editor").
Template details
- File:
src/templates/newsletter/welcome.ts, idnewsletter-welcome - Fields:
label(text, default "Welcome to"),commonFields.siteName(the newsletter name),item1toitem3(text, optional),signoff(text, optional),commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/newsletter/subscribe-card.ts(newsletter header),src/templates/newsletter/issue-card.ts
Acceptance criteria
- Empty items (or only spaces) are skipped and the numbers stay in order, and long items truncate
- An empty
signoffhides cleanly, and the numbers and label stay readable on a light background - Re-exported in
src/templates/newsletter/index.tsand registered in the Newsletter block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #247 in the description.
- 主要语言
- TypeScript
- 星标
- 8
- 派生
- 4
- 平均合并
- 8 小时 13 分钟
- 30 天内合并 PR
- 121
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codercops/ogcops 的其他 Issue
-
Add the Live Recording podcast template (`podcast-live-recording`)可能已有人在做 @Ravindar-Amogh-Gummadavelly 于 1 天前认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#261 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add the Waitlist product template (`product-waitlist`)可能已有人在做 @sank8-2 于 1 天前认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#257 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
hacktoberfest
难度 1/5 1 小时以内 新手友好度 35/100
维护者通常 1 天内回复
-
feature good first issue hacktoberfest templates
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
verified
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#59589 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug: During run init command, finish the git initialize process without question to user('Initialize a new git repository?')可能已有人在做 @nishu-murmu 今天认领。 未关闭pending-triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
knaw-huc/textannoviz#739 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复