This commit is contained in:
2025-10-02 08:34:08 +00:00
parent f81250a7c1
commit 9d5baf972b
716 changed files with 3168 additions and 5220 deletions

View File

@@ -118,35 +118,8 @@
<SidebarOverlay />
<main>
<Header />
{#if $location?.path?.toLowerCase().startsWith("/product/")}
{#key $location?.path}
<Product handle="{$location.path.split('/product/')[1]}" />
{/key}
{:else if $location?.path?.toLowerCase().startsWith("/redirecttoprofile/")}
<RedirectToPublicProfile
id="{$location.path.toLowerCase().split('/redirecttoprofile/').filter(Boolean).pop()}"
/>
{:else if $location?.path?.toLowerCase().startsWith("/@")}
<PublicProfile />
{:else if $location?.path?.toLowerCase().startsWith("/collections/")}
{#key $location?.path}
{#if !!$categories.length}
<Products
categoryPath="{$location?.path?.split('/').filter((c) => c !== 'collections' && !!c)}"
/>
{/if}
{/key}
{:else if $location?.path?.toLowerCase().startsWith("/profile")}
{#key $location?.path}
<Profile />
{/key}
{:else if $location?.path?.toLowerCase().startsWith("/helpcenter")}
<HelpCenter location="{$location}" />
{:else if $location?.path?.toLowerCase().startsWith("/selfimprovement/krasskraft")}
<KrassKraftChapter />
{:else}
<Content location="{$location}" />
{/if}
<div class="crossGap"></div>
<Footer />