Add the Subscribe Card newsletter template (`newsletter-subscribe-card`)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 72/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- frontend
调研方向
Read src/templates/newsletter/subscriber-count.ts and src/templates/product/centered-hero.ts for nearby patterns, then check the shared template checklist in issue #5. Add the specified template in src/templates/newsletter/subscribe-card.ts, re-export it from src/templates/newsletter/index.ts, and register it in src/templates/registry.ts. Done when the reader line is hidden for an empty subscriber count and the template meets the checklist.
由索引模型根据 Issue 内容生成。
描述
Part of #5. A newsletter landing card with a mock signup form.
Idea
Centered stack: a frequency pill ("Every Friday"), the newsletter name, and a one-line pitch. Below is a mock form: a rounded input-shaped box with a muted "[email protected]", joined to an accent "Subscribe" button. Under that, "Join 12,400 readers" sits next to 4 small overlapping circles (negative left margin).
Template details
- File:
src/templates/newsletter/subscribe-card.ts, idnewsletter-subscribe-card - Fields:
commonFields.title,commonFields.description,frequency(text),subscriberCount(text),ctaText(text, default "Subscribe"),commonFields.siteName,commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/newsletter/subscriber-count.ts,src/templates/product/centered-hero.ts(CTA pill)
Acceptance criteria
- The reader line is hidden when subscriberCount is empty
- 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 #<this issue number>.
- 主要语言
- TypeScript
- 星标
- 8
- 派生
- 4
- 平均合并
- 5 小时 44 分钟
- 30 天内合并 PR
- 83
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codercops/ogcops 的其他 Issue
-
Add the Order Status e-commerce template (`ecommerce-order-status`)可能已有人在做 @piyusshhjangid 今天认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#181 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add the Cheat Sheet tutorial template (`tutorial-cheat-sheet`)可能已有人在做 @srikar-naidu 今天认领。 未关闭hacktoberfest help wanted templates
难度 2/5 1-3 小时 新手友好度 45/100
codercops/ogcops#180 · 3 条评论 ·
维护者通常 1 天内回复
-
Add the Call for Speakers event template (`event-call-for-speakers`)可能已有人在做 @Saifjafri212213 今天认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#177 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add the Day Streak developer template (`developer-day-streak`)可能已有人在做 @srikar-naidu 今天认领。 未关闭hacktoberfest help wanted templates
codercops/ogcops#176 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
hacktoberfest
难度 1/5 1 小时以内 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
bug skills
难度 2/5 1-3 小时 新手友好度 77/100
equinor/fusion-framework#5846 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 85/100
Eyevinn/open-videocore#1256 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[Bug]: Theme preset geist points at undefined --font-geist可能已有人在做 @claude 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复