"새로운 시작, 클린딧과 함께하세요"

여러분의 도전을 응원하는 클린딧 교육원입니다

안녕하세요, 클린딧 교육원의 문을 처음으로 열며 여러분을 진심으로 환영합니다.
저희는 청소 분야에 처음 도전하는 분들부터, 새로운 전문성을 찾는 분들까지 모두를 위한 체계적인 교육을 준비했습니다.

클린딧은 실무 중심의 커리큘럼과 친절한 강사진, 그리고 최신 장비를 갖춘 실습 환경을 통해
누구나 쉽게 배우고, 바로 현장에서 활용할 수 있도록 돕고자 합니다.

새로운 출발을 준비하는 여러분의 용기와 열정을 응원합니다.
클린딧과 함께라면, 여러분의 미래는 더욱 깨끗하고 밝아질 것입니다.

클린딧

임직원 일동

clearTimeout(timeoutId); menu.style.display = 'block'; menu.classList.add('show'); }); // 마우스가 드롭다운 영역을 벗어날 때 메뉴 숨김 dropdown.addEventListener('mouseleave', () => { timeoutId = setTimeout(() => { menu.style.display = 'none'; menu.classList.remove('show'); }, 200); }); // 메뉴 영역에 마우스가 있을 때는 숨기지 않음 menu.addEventListener('mouseenter', () => { clearTimeout(timeoutId); }); // 메뉴 영역을 벗어날 때 메뉴 숨김 menu.addEventListener('mouseleave', () => { menu.style.display = 'none'; menu.classList.remove('show'); }); // 모바일: 글씨 클릭 시 링크 이동, 화살표 클릭 시 드롭다운 메뉴 토글 if (window.innerWidth <= 768) { // 글씨 클릭 시 링크 이동 (기본 동작 허용) const dropdownText = button.querySelector('.dropdown-text'); if (dropdownText) { dropdownText.addEventListener('click', (e) => { e.stopPropagation(); const href = dropdownText.getAttribute('href') || button.getAttribute('href'); if (href && href.startsWith('./index.html#')) { console.log('글씨 클릭됨, 링크 이동:', href); window.location.href = href; } }); } // 화살표 클릭 시 드롭다운 메뉴 토글 const dropdownArrow = button.querySelector('.dropdown-arrow'); if (dropdownArrow) { dropdownArrow.addEventListener('click', (e) => { e.preventDefault(); e.stopPropagation(); const isOpen = menu.classList.contains('show'); console.log('화살표 클릭됨, 드롭다운 상태:', isOpen ? '열림' : '닫힘'); // 다른 모든 드롭다운 메뉴 닫기 document.querySelectorAll('.dropdown-menu.show').forEach(openMenu => { if (openMenu !== menu) { openMenu.classList.remove('show'); openMenu.style.display = 'none'; } }); // 현재 메뉴 토글 if (isOpen) { menu.classList.remove('show'); menu.style.display = 'none'; console.log('드롭다운 메뉴 닫힘'); } else { menu.classList.add('show'); menu.style.display = 'block'; console.log('드롭다운 메뉴 열림'); // 강제로 스타일 적용 const dropdownItems = menu.querySelectorAll('.dropdown-item'); dropdownItems.forEach(item => { item.style.color = '#000000'; item.style.fontWeight = '600'; item.style.fontSize = '16px'; item.style.backgroundColor = '#ffffff'; item.style.border = '1px solid #e9ecef'; item.style.padding = '12px 16px'; item.style.margin = '4px 0'; item.style.borderRadius = '6px'; item.style.textDecoration = 'none'; item.style.display = 'block'; item.style.width = '100%'; }); } }); } } }); // 모바일에서 드롭다운 외부 클릭 시 메뉴 닫기 document.addEventListener('click', (e) => { if (window.innerWidth <= 768) { if (!e.target.closest('.dropdown')) { document.querySelectorAll('.dropdown-menu.show').forEach(menu => { menu.classList.remove('show'); menu.style.display = 'none'; }); } } }); // 모바일에서 드롭다운 메뉴 아이템에 직접 클릭 이벤트 추가 document.querySelectorAll('.dropdown-item').forEach(item => { item.addEventListener('click', function(e) { const href = this.getAttribute('href'); if (href) { console.log('드롭다운 아이템 클릭됨:', href); // 메뉴 닫기 const dropdownMenu = this.closest('.dropdown-menu'); if (dropdownMenu) { dropdownMenu.classList.remove('show'); dropdownMenu.style.display = 'none'; } // 링크 이동 if (href.startsWith('./index.html#')) { e.preventDefault(); e.stopPropagation(); console.log('index.html로 이동:', href); window.location.href = href; } else if (href.endsWith('.html')) { e.preventDefault(); e.stopPropagation(); console.log('HTML 파일로 이동:', href); window.location.href = href; } } }); }); // 화면 크기 변경 시 드롭다운 메뉴 초기화 window.addEventListener('resize', () => { document.querySelectorAll('.dropdown-menu').forEach(menu => { menu.style.display = 'none'; menu.classList.remove('show'); }); }); // 모든 네비게이션 링크에 클릭 이벤트 추가 const allNavLinks = document.querySelectorAll('.navbar-nav .nav-link'); console.log('네비게이션 링크 개수:', allNavLinks.length); allNavLinks.forEach((link, index) => { const href = link.getAttribute('href'); if (href && href.startsWith('./index.html#')) { link.addEventListener('click', function(e) { e.preventDefault(); console.log(`네비게이션 링크 ${index + 1} 클릭됨:`, href); // 안전한 페이지 이동 try { window.location.href = href; } catch (error) { console.error('페이지 이동 중 오류 발생:', error); // 오류 발생 시 기본 링크 동작 허용 window.open(href, '_self'); } }); } }); // 특정 버튼들에 대한 이벤트 리스너 const applyButton = document.querySelector('a[href="./index.html#apply"]'); if (applyButton) { applyButton.addEventListener('click', function(e) { e.preventDefault(); console.log('신청하기 버튼 클릭됨'); window.location.href = './index.html#apply'; }); } console.log('네비게이션 초기화 완료'); }); // DOM이 로드된 후에도 실행 (jQuery가 없는 경우를 대비) document.addEventListener('DOMContentLoaded', function() { console.log('DOM 로드됨'); // jQuery가 로드되지 않은 경우를 위한 폴백 if (typeof $ === 'undefined') { console.log('jQuery가 로드되지 않음, 기본 이벤트 리스너 사용'); // 기본 네비게이션 링크 이벤트 document.querySelectorAll('.navbar-nav .nav-link').forEach(link => { const href = link.getAttribute('href'); if (href && href.startsWith('./index.html#')) { link.addEventListener('click', function(e) { e.preventDefault(); console.log('네비게이션 링크 클릭됨:', href); window.location.href = href; }); } }); } });