No description
Find a file
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
hifi Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
hifi-src Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
.gitignore Add one-click git-based auto-update (manual trigger only) 2026-09-09 02:16:41 +02:00
DEPLOY.md Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00