install
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user