{pageTitle(page.url.pathname)} | Hunter Premium Produce
{#if showBottomNav && navOpen} {/if} {#if !showBottomNav} {/if}

{pageTitle(page.url.pathname)}

{pageDescription(page.url.pathname)}

{#if !isRootRoute && (!$sessionHydrated || isRestoringSession)}

Checking Session

Restoring your client workspace.

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

{:else if !isRootRoute && !$clientSession}

Client Sign-In Required

Sign in on the Hunter Premium Produce home page to unlock workspace data.

The client-facing routes stay empty until a valid client session is active.

Return to sign-in
{:else} {@render children()} {/if}
{#if showBottomNav} {#if navOpen} {/if} {/if} {#if paletteOpen} {/if}