{pageTitle(page.url.pathname)} | Hunter Premium Produce {#if !$clientSession}
{#if isRootRoute} {@render children()} {:else}

Checking Session

Returning to the client login screen.

Only authenticated client users can open workspace routes directly.

{/if}
{:else}
{#if showBottomNav && navOpen} {/if} {#if !showBottomNav} {/if}

{pageTitle(page.url.pathname)}

{pageDescription(page.url.pathname)}

{#if !isRootRoute && isRestoringSession}

Checking Session

Restoring your client workspace.

Refreshing the current page with the saved browser session before deciding whether sign-in is required.

{:else} {@render children()} {/if}
{#if showBottomNav} {#if navOpen} {/if} {/if} {/if} {#if $clientSession && paletteOpen} {/if}