Replace the YouTube brand icon so lucide-react 1.x can be adopted

Aperta
#37 0 commenti 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
78/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, nextjs, react, typescript

Direzione di ricerca

Start with src/components/landing/latest-videos.tsx and src/components/landing/why-us.tsx, where the removed Youtube icon is imported and used. Replace it with an icon available in lucide-react 1.x, upgrade the package, then run npm run typecheck to find any other renamed icons. Remove the lucide-react ignore rule from .github/dependabot.yml; done when lint, typecheck, tests, and build pass.

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

Descrizione

dependencies good first issue

Problem

lucide-react 1.x removed brand icons, including the Youtube icon. The site still imports it, so the 1.x upgrade fails to type-check:

Because of this, .github/dependabot.yml skips lucide-react major updates.

What to do

  1. Replace Youtube with a generic icon that exists in lucide-react 1.x (for example a play icon), or a small inline SVG. Keep aria-hidden="true", because the link text already says "YouTube".
  2. Upgrade lucide-react to the latest 1.x with npm install lucide-react@latest and fix any other renamed icons that the type check reports.
  3. Remove the lucide-react rule from the ignore list in .github/dependabot.yml.

Check your change

npm run lint
npm run typecheck
npm test
npm run build

Add a screenshot of the home page "Why us" section to the pull request.

Leave a comment here when you start. See CONTRIBUTING.md for setup.

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

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 procoderji-com/procoderji

Tutte le issue di procoderji-com/procoderji

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.