Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Fermée
#61 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
58/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
typescript
Domaine
design

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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>.

Langage dominant
TypeScript
Étoiles
8
Forks
4
Merge moyen
5 h 19 min
PR mergées (30 j)
99

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de codercops/ogcops

Toutes les issues de codercops/ogcops

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.