🏗️(frontend) Footer configurable

To have different footer per instance the
content of the footer is now configurable
from the theme customization file.

See THEME_CUSTOMIZATION_FILE_PATH env var.
This commit is contained in:
Anthony LC
2025-03-25 13:08:36 +01:00
parent 310154815b
commit b5630359ee
12 changed files with 451 additions and 261 deletions

View File

@@ -159,8 +159,8 @@ test.describe('Config: Not loggued', () => {
const jsonResponse = await response.json();
expect(jsonResponse.FRONTEND_THEME).toStrictEqual('default');
const footer = page.locator('footer').first();
const header = page.locator('header').first();
// alt 'Gouvernement Logo' comes from the theme
await expect(footer.getByAltText('Gouvernement Logo')).toBeVisible();
await expect(header.getByAltText('Gouvernement Logo')).toBeVisible();
});
});