import type {ReactNode} from 'react'; import {Link, NavLink} from 'react-router'; import {cn} from '@/lib/utils'; import {useAuthStore} from '@/stores/auth'; /** * 로그인 전 화면(랜딩·요금·쇼케이스)의 껍데기. * * ★ AppShell 과 나눠 둔 이유: 저쪽은 **사이드바가 있는 작업 화면**이다. 아직 아무것도 만들지 * 않은 사람에게 사이드바를 보여 주면 비어 있는 메뉴만 남는다(b07ade2 가 온보딩에서 사이드바를 * 뺀 것과 같은 판단). * * ★ 메뉴는 셋을 넘기지 않는다. 소상공인 대상 화면에서 드롭다운은 "못 찾는 메뉴"가 된다. */ const NAV = [ {to: '/showcase', label: '이렇게 나옵니다'}, {to: '/pricing', label: '요금'}, ]; export function MarketingShell({ children, showAuthCta = true, }: { children: ReactNode; showAuthCta?: boolean; }) { const user = useAuthStore((s) => s.user); return (
{eyebrow}
}{description}
}