- Add main application files (main.py, models.py, schemas.py, etc.) - Add routers for all features (waiting, attendance, members, etc.) - Add HTML templates for admin and user interfaces - Add migration scripts and utility files - Add Docker configuration - Add documentation files - Add .gitignore to exclude database and cache files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
22 lines
728 B
JavaScript
22 lines
728 B
JavaScript
// 화면 크기 및 방향 모니터링 (태블릿 최적화 디버깅)
|
|
function logScreenInfo() {
|
|
const width = window.innerWidth;
|
|
const height = window.innerHeight;
|
|
const orientation = width > height ? 'landscape' : 'portrait';
|
|
const deviceType = width < 600 ? 'mobile' :
|
|
width < 768 ? 'small-tablet' :
|
|
width < 1024 ? 'tablet' : 'large-tablet/desktop';
|
|
|
|
console.log(`📱 Screen Info: ${width}x${height} (${orientation}) - ${deviceType}`);
|
|
}
|
|
|
|
// 초기 로드 시 화면 정보 출력
|
|
window.addEventListener('DOMContentLoaded', () => {
|
|
logScreenInfo();
|
|
});
|
|
|
|
// 화면 크기 변경 시 정보 출력 (회전 등)
|
|
window.addEventListener('resize', () => {
|
|
logScreenInfo();
|
|
});
|