add images and redesign hompeage into sections, fix the dark color
Build & Deploy / Build & Push Docker Image (push) Failing after 48s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / API Unit Tests (push) Failing after 5m2s
Test / Marketplace Unit Tests (push) Failing after 4m55s
Test / Admin Unit Tests (push) Successful in 9m37s
Test / Dashboard Unit Tests (push) Successful in 9m37s
Test / API Integration Tests (push) Successful in 9m54s

This commit is contained in:
root
2026-06-26 21:01:02 -04:00
parent d7fb7b7a7b
commit 35172ab46b
102 changed files with 1106 additions and 280 deletions
@@ -13,7 +13,7 @@ describe('homepage content model', () => {
['fr', frHomepage, frShell],
['ar', arHomepage, arShell],
] as const)('builds complete %s route content', (_locale, homepage, shell) => {
const content = buildHomepageContent(homepage, shell);
const content = buildHomepageContent(homepage, shell, _locale);
expect(content.hero.title).toBeTruthy();
expect(content.trust.items).toHaveLength(4);
@@ -28,7 +28,10 @@ describe('homepage content model', () => {
it('keeps unresolved conversion destinations disabled', () => {
const content = buildHomepageContent(enHomepage, enShell);
expect(content.hero.primary.disabledReason).toBe(enShell.header.demoUnavailable);
expect(content.hero.primary.href).toBe('/dashboard/sign-up?lang=en');
expect(content.hero.primary.disabledReason).toBeUndefined();
expect(content.final.primary.href).toBe('/dashboard/sign-up?lang=en');
expect(content.final.primary.disabledReason).toBeUndefined();
expect(content.pricing.actionDisabledReason).toBe(enShell.states.pendingBody);
expect(content.final.secondary.disabledReason).toBe(enShell.states.pendingBody);
});