Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add the Blog Summary Card template (`blog-summary-card`)

Aperta
#61 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
design

Direzione di ricerca

Start with src/templates/blog/minimal-light.ts for the light palette and src/templates/ecommerce/product-card.ts for the card layout. Implement the specified template in src/templates/blog/summary-card.ts, then re-export it from src/templates/blog/index.ts and register it in the Blog block of src/templates/registry.ts. Check the shared template checklist in #5; done means the excerpt stays within the card, initials and the author circle behave as specified, and the template is registered.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue hacktoberfest templates

Part of #5. A card-style blog preview with a reading-time pill.

Idea
A white card with rounded corners and a soft shadow floats on a light background. The left 38% of the card is a "cover" panel filled with an accent gradient, showing the category name in large type. The right side has a category pill, the title, a two-line excerpt, and a footer with an initials circle for the author, "Author · Date", and a "6 min read" pill.

Template details

  • File: src/templates/blog/summary-card.ts, id blog-summary-card
  • Fields: commonFields.title, commonFields.description, commonFields.author, commonFields.date, commonFields.category, readTime (text, default "6 min read"), commonFields.siteName, { ...commonFields.bgColor, defaultValue: '#F4F1EC' }, commonFields.accentColor, { ...commonFields.textColor, defaultValue: '#1F2937' }

Where to look

  • Closest reference: src/templates/blog/minimal-light.ts (light palette), src/templates/ecommerce/product-card.ts (card with an image area)

Acceptance criteria

  • Excerpt is truncated so it never pushes the footer off the card
  • Author initials are computed from the author name; the circle is hidden when author is empty
  • Re-exported in src/templates/blog/index.ts and registered in the Blog 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>.

Lingua principale
TypeScript
Stelle
8
Fork
4
Merge medio
6h 37m
PR unite (30g)
58

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/ogcops

Tutte le issue di codercops/ogcops

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.