amfoss / amfoss/amFOSS.in

Create reusable PageHero component

Aperta
#13 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2
Fork
14
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The hero section is duplicated across nearly every page with only minor text differences which violates the [DRY principle](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself). A single, reusable component should be created

### Tasks
- [ ] Create a new component named PageHero.jsx
- [ ] The component should accept all the necessary props
- [ ] Replace all duplicate hero sections on the Home, About, Team, Gallery, and Clublife pages with the new `PageHero` component.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.