Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add the Subscribe Card newsletter template (`newsletter-subscribe-card`)

Đã đóng
#68 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Saifjafri212213 đang làm issue này rồi.

Từ ngày 21/10/2026.

  • #171 của @Saifjafri212213 — đang mở

Đá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ả

good first issue hacktoberfest templates

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, id newsletter-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.ts and registered in the Newsletter block of src/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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codercops/ogcops

Tất cả issue của codercops/ogcops

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.