20260205 업데이트(컨텐츠 페이지 연결)

This commit is contained in:
2026-02-05 10:06:09 +09:00
parent 5d52f6d37a
commit 6dcc2eb796
208 changed files with 8143 additions and 1524 deletions

43
kngil/js/primary.js Normal file
View File

@@ -0,0 +1,43 @@
/**
* Primary Page Controller
* 스크롤 기반 타이틀 전환 및 섹션 네비게이션
* LayoutFixController 공통 모듈 사용
*/
(function() {
'use strict';
// ============================================
// Configuration
// ============================================
const CONFIG = {
SELECTORS: {
keySection: '.primary .key'
}
};
// ============================================
// Layout Fix Controller Instance
// ============================================
let layoutFixController = null;
// ============================================
// Initialization
// ============================================
const init = () => {
// LayoutFixController가 로드되었는지 확인
if (typeof LayoutFixController === 'undefined') {
console.warn('[Primary] LayoutFixController not loaded');
return;
}
// 공통 모듈 초기화 (1개 key 섹션)
layoutFixController = new LayoutFixController();
layoutFixController.init(CONFIG.SELECTORS.keySection);
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
init();
}
})();