250 lines
13 KiB
HTML
250 lines
13 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="light" lang="ko"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<title>KINTEX Gate Pass - Move-in & Safety</title>
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Geist:wght@400;500;600&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"primary-fixed-dim": "#a2c9ff",
|
|
"on-error": "#ffffff",
|
|
"outline": "#717782",
|
|
"error-container": "#ffdad6",
|
|
"on-secondary-fixed": "#1b0063",
|
|
"on-primary-fixed": "#001c38",
|
|
"surface": "#f9f9ff",
|
|
"surface-tint": "#0060a9",
|
|
"secondary": "#5427e6",
|
|
"surface-container-lowest": "#ffffff",
|
|
"surface-container-high": "#e0e8ff",
|
|
"tertiary": "#00583b",
|
|
"primary": "#004e8b",
|
|
"on-tertiary-fixed": "#002113",
|
|
"secondary-fixed": "#e5deff",
|
|
"inverse-surface": "#293041",
|
|
"tertiary-container": "#00734e",
|
|
"tertiary-fixed": "#8ef7c4",
|
|
"inverse-on-surface": "#edf0ff",
|
|
"primary-container": "#0066b3",
|
|
"background": "#f9f9ff",
|
|
"on-tertiary-fixed-variant": "#005236",
|
|
"on-primary-fixed-variant": "#004881",
|
|
"error": "#ba1a1a",
|
|
"on-surface": "#141b2c",
|
|
"surface-container": "#e9edff",
|
|
"surface-variant": "#dbe2f9",
|
|
"on-tertiary-container": "#8ef7c3",
|
|
"on-tertiary": "#ffffff",
|
|
"on-secondary-container": "#f3edff",
|
|
"on-surface-variant": "#414751",
|
|
"on-secondary-fixed-variant": "#4500d8",
|
|
"on-background": "#141b2c",
|
|
"surface-dim": "#d2daf0",
|
|
"surface-container-low": "#f1f3ff",
|
|
"tertiary-fixed-dim": "#72daa9",
|
|
"secondary-container": "#6d4aff",
|
|
"on-primary-container": "#d2e3ff",
|
|
"on-error-container": "#93000a",
|
|
"inverse-primary": "#a2c9ff",
|
|
"surface-bright": "#f9f9ff",
|
|
"on-secondary": "#ffffff",
|
|
"secondary-fixed-dim": "#c9bfff",
|
|
"surface-container-highest": "#dbe2f9",
|
|
"on-primary": "#ffffff",
|
|
"primary-fixed": "#d3e4ff",
|
|
"outline-variant": "#c1c7d3"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"stack-sm": "8px",
|
|
"stack-md": "16px",
|
|
"container-padding": "24px",
|
|
"base": "4px",
|
|
"gutter": "16px",
|
|
"stack-lg": "24px"
|
|
},
|
|
"fontFamily": {
|
|
"label-xs": ["Geist"],
|
|
"body-base": ["Inter"],
|
|
"label-md": ["Geist"],
|
|
"body-sm": ["Inter"],
|
|
"title-sm": ["Inter"],
|
|
"display-lg-mobile": ["Inter"],
|
|
"headline-md": ["Inter"],
|
|
"display-lg": ["Inter"]
|
|
},
|
|
"fontSize": {
|
|
"label-xs": ["11px", {"lineHeight": "14px", "fontWeight": "500"}],
|
|
"body-base": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.02em", "fontWeight": "600"}],
|
|
"body-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}],
|
|
"title-sm": ["18px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"display-lg-mobile": ["28px", {"lineHeight": "36px", "fontWeight": "700"}],
|
|
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "700"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
.custom-checkbox:checked {
|
|
background-color: #0060a9;
|
|
border-color: #0060a9;
|
|
}
|
|
.qr-placeholder {
|
|
background: repeating-conic-gradient(#141b2c 0% 25%, #ffffff 0% 50%) 50% / 20px 20px;
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background min-h-screen pb-24">
|
|
<!-- TopAppBar -->
|
|
<header class="fixed top-0 w-full z-50 flex justify-between items-center px-container-padding h-16 bg-surface border-b border-outline-variant">
|
|
<div class="flex items-center gap-3">
|
|
<span class="material-symbols-outlined text-primary font-headline-md text-headline-md" style="font-variation-settings: 'FILL' 1;">construction</span>
|
|
<h1 class="font-headline-md text-headline-md font-bold text-primary">KINTEX Gate Pass</h1>
|
|
</div>
|
|
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-surface-variant transition-colors duration-200">
|
|
<span class="material-symbols-outlined text-on-surface-variant">account_circle</span>
|
|
</button>
|
|
</header>
|
|
<main class="pt-20 px-4 space-y-6">
|
|
<!-- Gate Pass Section -->
|
|
<section aria-label="게이트 패스 정보">
|
|
<div class="bg-surface-container-lowest border border-outline-variant rounded-xl overflow-hidden shadow-sm">
|
|
<!-- Blue Header -->
|
|
<div class="bg-primary-container text-on-primary-container px-4 py-3 flex justify-between items-center">
|
|
<span class="font-label-md text-label-md uppercase tracking-wider opacity-90">Gate Pass Entry</span>
|
|
<div class="bg-error px-2 py-0.5 rounded text-white font-bold text-[10px]">D-2</div>
|
|
</div>
|
|
<div class="p-6 flex flex-col items-center">
|
|
<!-- QR Code -->
|
|
<div class="relative w-48 h-48 bg-white border-4 border-surface-container rounded-lg p-2 mb-6">
|
|
<img class="w-full h-full object-contain" data-alt="A high-contrast, professional QR code displayed on a clean white digital background. The framing is modern and technical, with thin blue scanning guide lines at the corners. The lighting is even and bright, emphasizing a secure and reliable digital check-in environment for an industrial setting. KINTEX blue accents are visible in the interface surrounding the code." src="https://lh3.googleusercontent.com/aida-public/AB6AXuC9v-75LmCAEZkNZOWmggRFe1tn3P1rn_S2SS-uf-VH25YfQFAwd4X1KYHQtWDWUi20FYdqelSRs3VfCRYousgKkFUjWJZV5JqUj5Pt92r0udCNLqAOaeo6ujddz-38ZcGEMbd9058D8fg43Sxvni-F4jTVCXK7drdriLzOczKGm4UOex6BdotUIYzTl5I1pE9kaXFwgOxrztbBAKQsR-w7Ije86CHcn-RZgnANkT63AfFBAlOG-RUrFJ5PBWh7SR7wYcFeT5muIuU"/>
|
|
</div>
|
|
<!-- Vehicle & Dock Info -->
|
|
<div class="w-full grid grid-cols-2 gap-4 border-t border-outline-variant pt-6">
|
|
<div class="space-y-1">
|
|
<p class="font-label-md text-label-md text-on-surface-variant">차량 번호</p>
|
|
<p class="font-headline-md text-headline-md font-bold">12가 3456</p>
|
|
</div>
|
|
<div class="space-y-1 text-right">
|
|
<p class="font-label-md text-label-md text-on-surface-variant">지정 도크</p>
|
|
<p class="font-headline-md text-headline-md font-bold text-primary">도크 3</p>
|
|
</div>
|
|
<div class="col-span-2 bg-surface-container-low p-3 rounded-lg flex justify-between items-center">
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-primary-container">schedule</span>
|
|
<span class="font-body-base text-body-base font-semibold">08:00 - 09:00</span>
|
|
</div>
|
|
<span class="font-label-md text-label-md bg-secondary-container text-on-secondary-container px-2 py-1 rounded">장치 기간</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Safety Checklist Section -->
|
|
<section aria-label="안전 체크리스트" class="space-y-4">
|
|
<h2 class="font-title-sm text-title-sm border-l-4 border-primary pl-3 flex items-center justify-between">
|
|
안전 체크리스트
|
|
<span class="text-error font-label-md text-label-md flex items-center gap-1">
|
|
<span class="material-symbols-outlined text-[16px]">warning</span> 필수 확인
|
|
</span>
|
|
</h2>
|
|
<div class="space-y-3">
|
|
<!-- Checklist Item 1 -->
|
|
<label class="flex items-center gap-4 bg-surface-container-high p-4 rounded-xl border border-transparent active:scale-[0.98] transition-transform cursor-pointer">
|
|
<input class="w-8 h-8 rounded-lg border-2 border-outline-variant text-primary focus:ring-primary focus:ring-offset-0 custom-checkbox" type="checkbox"/>
|
|
<div class="flex-1">
|
|
<p class="font-title-sm text-title-sm">안전모 착용</p>
|
|
<p class="font-label-md text-label-md text-on-surface-variant">현장 내 상시 착용 필수</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-on-surface-variant">construction</span>
|
|
</label>
|
|
<!-- Checklist Item 2 -->
|
|
<label class="flex items-center gap-4 bg-surface-container-high p-4 rounded-xl border border-transparent active:scale-[0.98] transition-transform cursor-pointer">
|
|
<input class="w-8 h-8 rounded-lg border-2 border-outline-variant text-primary focus:ring-primary focus:ring-offset-0 custom-checkbox" type="checkbox"/>
|
|
<div class="flex-1">
|
|
<p class="font-title-sm text-title-sm">중량물 5t↑ 신고</p>
|
|
<p class="font-label-md text-label-md text-on-surface-variant">대형 구조물 및 지게차 작업</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-on-surface-variant">forklift</span>
|
|
</label>
|
|
<!-- Checklist Item 3 -->
|
|
<label class="flex items-center gap-4 bg-surface-container-high p-4 rounded-xl border border-transparent active:scale-[0.98] transition-transform cursor-pointer">
|
|
<input class="w-8 h-8 rounded-lg border-2 border-outline-variant text-primary focus:ring-primary focus:ring-offset-0 custom-checkbox" type="checkbox"/>
|
|
<div class="flex-1">
|
|
<p class="font-title-sm text-title-sm">금지작업 확인</p>
|
|
<p class="font-label-md text-label-md text-on-surface-variant">전기톱·용접·페인트 (사전 승인 필수)</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-on-surface-variant">dangerous</span>
|
|
</label>
|
|
</div>
|
|
</section>
|
|
<!-- Reminder & Map Section -->
|
|
<section class="grid grid-cols-2 gap-4 pb-8">
|
|
<div class="bg-on-background p-4 rounded-xl text-surface flex flex-col justify-center">
|
|
<p class="font-label-xs text-label-xs opacity-70 mb-1">슬롯 시간</p>
|
|
<p class="font-title-sm text-title-sm font-bold">D-0 09:00</p>
|
|
</div>
|
|
<button class="bg-primary text-white p-4 rounded-xl flex flex-col items-center justify-center gap-1 active:scale-[0.95] transition-transform">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">map</span>
|
|
<span class="font-label-md text-label-md font-bold">현장 지도 확인</span>
|
|
</button>
|
|
</section>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
<nav class="fixed bottom-0 w-full z-50 flex justify-around items-center px-4 py-2 bg-surface-container border-t border-outline-variant rounded-t-xl">
|
|
<a class="flex flex-col items-center justify-center bg-secondary-container text-on-secondary-container rounded-full px-4 py-1 transition-transform active:scale-90" href="#">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">home</span>
|
|
<span class="font-label-md text-label-md">Home</span>
|
|
</a>
|
|
<a class="flex flex-col items-center justify-center text-on-surface-variant hover:bg-surface-variant transition-transform active:scale-90" href="#">
|
|
<span class="material-symbols-outlined">calendar_today</span>
|
|
<span class="font-label-md text-label-md">Schedule</span>
|
|
</a>
|
|
<a class="flex flex-col items-center justify-center text-on-surface-variant hover:bg-surface-variant transition-transform active:scale-90" href="#">
|
|
<span class="material-symbols-outlined">qr_code_scanner</span>
|
|
<span class="font-label-md text-label-md">Scan</span>
|
|
</a>
|
|
<a class="flex flex-col items-center justify-center text-on-surface-variant hover:bg-surface-variant transition-transform active:scale-90" href="#">
|
|
<span class="material-symbols-outlined">person</span>
|
|
<span class="font-label-md text-label-md">Profile</span>
|
|
</a>
|
|
</nav>
|
|
<script>
|
|
// Micro-interaction for checkboxes
|
|
document.querySelectorAll('input[type="checkbox"]').forEach(checkbox => {
|
|
checkbox.addEventListener('change', function() {
|
|
const parent = this.closest('label');
|
|
if(this.checked) {
|
|
parent.classList.add('border-primary', 'bg-surface-container-highest');
|
|
} else {
|
|
parent.classList.remove('border-primary', 'bg-surface-container-highest');
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</body></html> |