merge: origin/main(에이전트 여러 동작 · 사진 도구 · 카톡 승인 알림) 을 feature/template-catalog 에 병합

충돌은 이 브랜치의 주석 정리 커밋(11d30bb)과 main 의 기능 변경이 겹친 백엔드 9개 파일 —
main 쪽을 그대로 썼다(기능이 main 에만 있다). AGENTS.md 는 양쪽 링크를 모두 두고,
DEVLOG 는 요약본 위에 main 의 09-28 에이전트 항목 셋을 붙였다.

site eslint 통과 · vitest 123 passed · frontend tsc·eslint 통과 · 백엔드 py_compile 통과
(백엔드 pytest 는 이 기계에 테스트 DB 계정이 없어 실행하지 못함)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 5.5 committed 2026-09-30 13:51:53 +09:00
commit 1dc4f5fbf5
33 files changed
+4208 -209

No files matched your search

+9 -1
View File
@@ -14,11 +14,19 @@ function useRestoreSession() {
useEffect(() => {
let alive = true;
const autoToken = new URLSearchParams(window.location.search).get('auto');
// ★ 프래그먼트(#auto=)를 먼저 본다. 메일의 '고쳐서 올리려면' 링크가 그쪽으로 넘긴다 —
// 프래그먼트는 서버 로그와 Referer 에 남지 않기 때문이다. 쿼리(?auto=)도 계속 받는다:
// 이미 나간 메일이 자정까지 살아 있고, 그걸 깨면 그 링크들이 통째로 죽는다.
const hashToken = new URLSearchParams(window.location.hash.replace(/^#/, '')).get('auto');
const autoToken = hashToken ?? new URLSearchParams(window.location.search).get('auto');
const claims = autoToken ? decodeJwtSubject(autoToken) : null;
if (autoToken && claims) {
setTokens(autoToken);
setUser({userId: claims.user_id, id: claims.id, role: claims.role});
// 주소창에 토큰을 남기지 않는다 — 히스토리·스크린샷·어깨너머로 새는 자리다.
if (hashToken) {
window.history.replaceState(null, '', window.location.pathname + window.location.search);
}
finishRestore();
return;
}
@@ -12,9 +12,11 @@ const NAV = [
export function MarketingShell({
children,
showAuthCta = true,
showBusinessInfo = false,
}: {
children: ReactNode;
showAuthCta?: boolean;
showBusinessInfo?: boolean;
}) {
const user = useAuthStore((s) => s.user);
@@ -67,15 +69,33 @@ export function MarketingShell({
<main>{children}</main>
<footer className="mt-24 border-t border-border">
<div className="mx-auto flex w-full max-w-6xl flex-col gap-3 px-5 py-10 text-xs text-muted-foreground sm:flex-row sm:items-center sm:justify-between">
<img src="/brand/web4ai-wordmark.svg" alt="Web4Ai" className="h-6 w-auto opacity-60" />
<div className="flex gap-5">
{NAV.map(({to, label}) => (
<Link key={to} to={to} className="transition-colors hover:text-foreground">
{label}
</Link>
))}
<div className="mx-auto flex w-full max-w-6xl flex-col gap-6 px-5 py-10 text-xs text-muted-foreground">
<div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<img src="/brand/web4ai-wordmark.svg" alt="Web4Ai" className="h-6 w-auto opacity-60" />
<div className="flex gap-5">
{NAV.map(({to, label}) => (
<Link key={to} to={to} className="transition-colors hover:text-foreground">
{label}
</Link>
))}
</div>
</div>
{showBusinessInfo && (
<address className="space-y-1 leading-relaxed not-italic">
<p className="font-medium text-foreground/80">㈜에이아이오투오</p>
<p>사업자 등록번호 : 620-87-00810 | 대표 : 안성민</p>
<p>본사 : 대구광역시 북구 옥산로 111, 5층 유니콘랩 대구 A05호</p>
<p>연구소 : 경기 성남시 수정구 금토로 32 (금토동) (주)KT 판교빌딩 504호~505호 (East)</p>
<p>전화 : 070-4260-8310 | 010-2755-6463</p>
<p>
이메일 :{' '}
<a href="mailto:o2oteam@o2o.kr" className="transition-colors hover:text-foreground">
o2oteam@o2o.kr
</a>
</p>
</address>
)}
</div>
</footer>
</div>
+1 -1
View File
@@ -64,7 +64,7 @@ export function LandingPage() {
};
return (
<MarketingShell showAuthCta={buildMode}>
<MarketingShell showAuthCta={buildMode} showBusinessInfo>
{/* ── 상단 ─────────────────────────────────────── */}
<section className="relative flex min-h-[calc(100dvh-4rem)] items-center overflow-hidden border-b border-border">
<div className="mx-auto w-full max-w-6xl px-5 text-center">