From 4927c301f349a1c35c335d8dba44091a440733d1 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Wed, 10 Jun 2026 19:29:24 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EB=B0=9C=EA=B0=80=EC=9D=B4=EB=93=9C?= =?UTF-8?q?=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 35 + src/main/resources/application.yml | 14 + src/main/resources/static/css/main.css | 1437 ++++++++++++--- src/main/resources/static/css/main.css.map | 2 +- src/main/resources/static/css/main.min.css | 2 +- .../resources/static/css/main.min.css.map | 2 +- .../resources/static/sass/pages/_service.scss | 1603 +++++++++++++---- .../templates/views/apps/service/intro.html | 83 +- .../apps/service/oauth2-2legged-guide.html | 422 +++++ .../views/apps/service/oauth2-guide.html | 272 +++ .../fragment/djbank/header_container.html | 2 + 11 files changed, 3202 insertions(+), 672 deletions(-) create mode 100644 src/main/resources/templates/views/apps/service/oauth2-2legged-guide.html create mode 100644 src/main/resources/templates/views/apps/service/oauth2-guide.html diff --git a/CLAUDE.md b/CLAUDE.md index bd75fab..c66e758 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -265,6 +265,41 @@ API 키는 승인 워크플로우와 함께 관리됩니다: 8. `src/main/resources/templates/views/newfeature/`에 Thymeleaf 템플릿 추가 9. `application.yml`의 `pages` 섹션에 라우트 설정 (또는 `@GetMapping`/`@PostMapping`으로 직접 매핑) +### 메뉴/네비게이션 항목 추가하기 + +**중요:** 메뉴 정의가 **두 곳으로 분리**되어 있다. yml 한 곳만 고치면 헤더 드롭다운에 안 보이고, 헤더만 고치면 브레드크럼이 비어 보인다. 메뉴 추가/이름 변경/순서 변경 시 **반드시 두 파일을 같이 수정**한다. + +1. **`application.yml`의 `page:` 트리** (브레드크럼·페이지 메타용) + - `PageService`가 URL → breadcrumb 매핑에 사용 + - 부모 메뉴(`service`, `apis`, `community` 등) 아래 `children:`에 새 키를 추가 + ```yaml + page: + home: + children: + service: + children: + oauth2_guide: + name: "OAuth2 인증가이드" + path: "/service/oauth2-guide" + ``` + +2. **`templates/views/fragment/djbank/header_container.html`** (상단 글로벌 네비) + - `