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

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
78/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github, nextjs, react, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
1
Forks
1
Merge medio
8 h 58 min
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de procoderji-com/procoderji

Todos los issues de procoderji-com/procoderji

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.