Add the Subscribe Card newsletter template (`newsletter-subscribe-card`)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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>.
- Ngôn ngữ chính
- TypeScript
- Star
- 8
- Fork
- 4
- Merge trung bình
- 6 giờ 9 phút
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codercops/ogcops
-
accessibility bug good first issue hacktoberfest ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility bug good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue hacktoberfest ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
codercops/ogcops#167 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
An empty `imageUrl=`, `logoUrl=` or `template=` returns an error instead of the defaultCó thể đã có người làm @Saifjafri212213 đã nhận hôm nay. Đang mởbug good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
codercops/ogcops#166 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codercops/ogcops
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
paperclipai/paperclip#17151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
AgoraIO-Extensions/agent-infra#3159 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
blocklist addition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
MetaMask/eth-phishing-detect#304596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
friction
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
kentcdodds/kody#4142 ·
-
[Bug] Statistics | Task statistics are always empty on MikroORM with MySQL or SQLiteCó thể đã có người làm @NdekoCode đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ever-co/ever-gauzy#11214 ·
Maintainer thường phản hồi trong vòng 1 ngày