HifiPlanet-Website/hifi-src
Maaxxs 040a00a0d7 Add Partner management to replace the hardcoded homepage brand strip
The "Partner" logo row on the homepage was a hard-coded array of ten audio
brand names in Home.jsx, not editable through the dashboard. Adds a
partners table (name, optional logo, sort order), a PartnerController
CRUD under the existing content.manage permission (same one already used
for FAQ-style homepage content), and an admin page modeled on Brands.jsx.
Home.jsx now fetches /partners and shows each entry's logo if set, falling
back to the name as text otherwise.

Schema migration now supports one-time seed data (Schema::SEED_DATA,
applied by SchemaController::runMigration() only at the moment a table is
first created, never again afterwards) so that clicking "Datenbankstruktur
aktualisieren" on an existing site populates the new partners table with
the previous ten names instead of leaving the homepage strip empty.
Verified locally: first migration run creates + seeds the table, a second
run neither re-seeds nor errors.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 00:05:44 +02:00
..
public Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
src Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
index.html Replace the contact form with the new high-fidelity redesign 2026-07-18 20:00:06 +02:00
package-lock.json Add image cropping to the shared upload field 2026-09-09 23:59:27 +02:00
package.json Add image cropping to the shared upload field 2026-09-09 23:59:27 +02:00
postcss.config.js Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
tailwind.config.js Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
vite.config.js Bundle all Lucide icon chunks into one file instead of ~1600 tiny files 2026-07-05 15:36:07 +02:00