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

Offen
#37 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
78/100
Issue-Typ
Refactoring
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
github, nextjs, react, typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
1
Forks
1
Ø Merge
8 Std. 58 Min.
Gemergte PRs (30 T.)
37

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus procoderji-com/procoderji

Alle Issues in procoderji-com/procoderji

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.