amfoss / amfoss/amFOSS.in

Create reusable PageHero component

Offen
#13 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2
Forks
14
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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