Add the Gift Card e-commerce template (`ecommerce-gift-card`)
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 85/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Inizia con src/templates/ecommerce/coupon-code.ts per il layout promozionale in evidenza e con src/templates/product/glassmorphism.ts per un pannello della scheda in rilievo. Implementa il template in src/templates/ecommerce/gift-card.ts, poi riesportalo da src/templates/ecommerce/index.ts e registralo in src/templates/registry.ts. Controlla la leggibilità del testo indicato, i testi lunghi e i casi con nota vuota, quindi conferma che soddisfa la checklist condivisa in #5.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of #5. For gift card promos around holidays and launches.
Idea
The headline sits on the left ("Give them the choice"), with an optional note under it ("Delivered instantly by email"). On the right is a card-shaped panel filled with the accent color: the store name at its top left, "Gift card" at its top right, and the amount large at its bottom left ("$50").
Template details
- File:
src/templates/ecommerce/gift-card.ts, idecommerce-gift-card - Fields:
commonFields.siteName(the store name),commonFields.title(the headline),amount(text, default "$50"),note(text, optional),commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/ecommerce/coupon-code.ts(a promo layout with a highlighted box),src/templates/product/glassmorphism.ts(a raised card panel)
Acceptance criteria
- Text on the card stays readable on any accent color (
contrastText()), and the headline stays readable on a light background - Long amounts and headlines shrink or truncate, and an empty
note(or only spaces) hides cleanly - Re-exported in
src/templates/ecommerce/index.tsand registered in the E-commerce 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 #235 in the description.
- Lingua principale
- TypeScript
- Stelle
- 8
- Fork
- 4
- Merge medio
- 8h 19m
- PR unite (30g)
- 129
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codercops/ogcops
-
[Bug] Uppercase HTML named entities are not decoded in meta-fetcherForse già presa @srikar-naidu l’ha presa oggi. Apertabug hacktoberfest
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
codercops/ogcops#314 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Fractional height values are not rounded in resolveDimensionsForse già presa @anurag2787 l’ha presa oggi. Apertabug hacktoberfest
codercops/ogcops#313 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add the Package Card GitHub template (`github-package-card`)Forse già presa @anurag2787 l’ha presa 1 giorno fa. Apertagood first issue hacktoberfest templates
codercops/ogcops#304 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add the Benchmark blog template (`blog-benchmark`)Forse già presa @piyusshhjangid l’ha presa 1 giorno fa. Apertagood first issue hacktoberfest templates
codercops/ogcops#301 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add the Live Recording podcast template (`podcast-live-recording`)Forse già presa @Ravindar-Amogh-Gummadavelly l’ha presa 3 giorni fa. Apertagood first issue hacktoberfest templates
codercops/ogcops#261 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codercops/ogcops
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
lichess-org/lila#22324 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature Request] [Web] Expose kvCacheQuantizationBits in the onnxruntime-web WebGPU EP optionsApertaep:WebGPU platform:web quantization
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
microsoft/onnxruntime#33752 ·
I maintainer di solito rispondono entro 2 giorni
-
[Skill Bug]: entra-agent-id: inaccurate blueprint permission inheritance and parent token sub claimApertabug entra-agent-id
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/GitHub-Copilot-for-Azure#3467 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
fix(worker): keep normal prepare waiting states failure-freeForse già presa @LichKing-2234 l’ha presa oggi. Apertaagent:codex priority:P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AgoraIO-Extensions/agent-infra#3745 ·
I maintainer di solito rispondono entro 1 giorno
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framingForse già presa @Eapp1e l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
makecindy/cindy#7973 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno