Replace the YouTube brand icon so lucide-react 1.x can be adopted
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
- Ambito
- build-system, devtools, frontend
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
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:
src/components/landing/latest-videos.tsx(import on line 2, used on lines 31 and 90)src/components/landing/why-us.tsx(import on line 5, used on line 64)
Because of this, .github/dependabot.yml skips lucide-react major updates.
What to do
- Replace
Youtubewith a generic icon that exists inlucide-react1.x (for example a play icon), or a small inline SVG. Keeparia-hidden="true", because the link text already says "YouTube". - Upgrade
lucide-reactto the latest 1.x withnpm install lucide-react@latestand fix any other renamed icons that the type check reports. - Remove the
lucide-reactrule from theignorelist 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
- Include un Dockerfile o un 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 procoderji-com/procoderji
-
area:frontend bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
procoderji-com/procoderji#104 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
procoderji-com/procoderji#36 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
procoderji-com/procoderji#35 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 79/100
procoderji-com/procoderji#34 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
procoderji-com/procoderji#33 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di procoderji-com/procoderji
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug platform-android
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Termix-SSH/Mobile#146 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
devswha/herdr-web-ui#3875 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno