From ad0bc34756b0f9309bd418e6313e54d6b6dfbde6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Tue, 18 Aug 2026 16:36:31 +0200 Subject: [PATCH] fix(lxl-web): empty startpage when _r set --- .../routes/(app)/[[lang=lang]]/+page.svelte | 142 +++++++++--------- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/lxl-web/src/routes/(app)/[[lang=lang]]/+page.svelte b/lxl-web/src/routes/(app)/[[lang=lang]]/+page.svelte index 8e9a75643..58af64e03 100644 --- a/lxl-web/src/routes/(app)/[[lang=lang]]/+page.svelte +++ b/lxl-web/src/routes/(app)/[[lang=lang]]/+page.svelte @@ -223,83 +223,81 @@
- {#if !page.data.subsetMapping} - +
+ {#each featuredSearches as featured, index (featured.heading)} + {@render featuredSearchSection({ + featured, + id: `featured-search-${index}`, + type: 'horizontal', + lazyload: index === 0 ? 'mount' : 'intersection' + })} + {/each} +
+
+

+ {page.data.t('home.collectionsTitle')}

-
    - {#each await getCategoryShortcuts(page.data.locale) as category (category.id)} -
  • - - {category.label} - -
  • +

    + {page.data.t('home.collectionsDescription')} +

    +
    + {#each featuredCollections as collection (collection.heading)} + {/each} -
- -
- {#each featuredSearches as featured, index (featured.heading)} - {@render featuredSearchSection({ - featured, - id: `featured-search-${index}`, - type: 'horizontal', - lazyload: index === 0 ? 'mount' : 'intersection' - })} - {/each} -
-
-

- {page.data.t('home.collectionsTitle')} -

-

- {page.data.t('home.collectionsDescription')} -

-
- {#each featuredCollections as collection (collection.heading)} - - {/each} - +
-
- {#each featuredSearches2 as featured, index (featured.heading)} - {@render featuredSearchSection({ - featured, - type: 'horizontal', - id: `featured-search-${featuredSearches2.length + index}`, - lazyload: 'intersection' - })} - {/each} - {/if} +
+
+ {#each featuredSearches2 as featured, index (featured.heading)} + {@render featuredSearchSection({ + featured, + type: 'horizontal', + id: `featured-search-${featuredSearches2.length + index}`, + lazyload: 'intersection' + })} + {/each}