{#if mobileMenuOpen}
{#each navigation as nav} {@const isActive = currentPath === nav.path || (nav.path !== '/' && currentPath.startsWith(nav.path))} {#if nav.external}
{nav.name}
{:else}
{#if nav.path === '/'}
{:else if nav.path === '/portfolio'}
{:else if nav.path === '/models'}
{:else if nav.path === '/projects'}
{:else}
{/if}
{nav.name}
{/if} {/each}
Theme
{#each themeOptions as option}
{ handleThemeSelect(option.value); closeMobileMenu(); }} >
{option.label}
{/each}
{ toggleMode(); closeMobileMenu(); }}>
{$mode === 'dark' ? 'Switch to Light' : 'Switch to Dark'}
{/if}