kintex/stitch_kintex_ai_system_architect/scr_m4/code.html

329 lines
17 KiB
HTML

<!DOCTYPE html>
<html class="light" lang="ko"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
<title>KINTEX Lead Capture</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&amp;family=Geist:wght@400;500;600;700&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<!-- Tailwind Configuration -->
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"on-secondary-fixed-variant": "#4500d8",
"primary-fixed-dim": "#a2c9ff",
"on-error": "#ffffff",
"surface-container-highest": "#dbe2f9",
"tertiary-fixed-dim": "#72daa9",
"on-tertiary-container": "#8ef7c3",
"error-container": "#ffdad6",
"on-surface": "#141b2c",
"surface-bright": "#f9f9ff",
"on-primary-fixed-variant": "#004881",
"surface": "#f9f9ff",
"tertiary": "#00583b",
"outline-variant": "#c1c7d3",
"on-tertiary": "#ffffff",
"on-error-container": "#93000a",
"on-primary": "#ffffff",
"on-secondary-fixed": "#1b0063",
"inverse-primary": "#a2c9ff",
"tertiary-fixed": "#8ef7c4",
"secondary-fixed": "#e5deff",
"inverse-surface": "#293041",
"tertiary-container": "#00734e",
"surface-dim": "#d2daf0",
"primary": "#004e8b",
"surface-container": "#e9edff",
"secondary-fixed-dim": "#c9bfff",
"surface-variant": "#dbe2f9",
"surface-tint": "#0060a9",
"on-primary-container": "#d2e3ff",
"surface-container-lowest": "#ffffff",
"on-surface-variant": "#414751",
"inverse-on-surface": "#edf0ff",
"secondary": "#5427e6",
"on-secondary-container": "#f3edff",
"surface-container-low": "#f1f3ff",
"outline": "#717782",
"on-tertiary-fixed-variant": "#005236",
"primary-container": "#0066b3",
"primary-fixed": "#d3e4ff",
"on-background": "#141b2c",
"error": "#ba1a1a",
"on-secondary": "#ffffff",
"surface-container-high": "#e0e8ff",
"on-tertiary-fixed": "#002113",
"secondary-container": "#6d4aff",
"on-primary-fixed": "#001c38",
"background": "#f9f9ff"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"spacing": {
"stack-lg": "24px",
"container-padding": "24px",
"base": "4px",
"gutter": "16px",
"stack-sm": "8px",
"stack-md": "16px"
},
"fontFamily": {
"label-md": ["Geist"],
"headline-md": ["Inter"],
"display-lg-mobile": ["Inter"],
"title-sm": ["Inter"],
"label-xs": ["Geist"],
"body-base": ["Inter"],
"display-lg": ["Inter"],
"body-sm": ["Inter"]
},
"fontSize": {
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.02em", "fontWeight": "600"}],
"headline-md-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "700"}],
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"display-lg-mobile": ["28px", {"lineHeight": "36px", "fontWeight": "700"}],
"title-sm": ["18px", {"lineHeight": "28px", "fontWeight": "600"}],
"label-xs": ["11px", {"lineHeight": "14px", "fontWeight": "500"}],
"body-base": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"body-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}]
}
}
}
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
display: inline-block;
line-height: 1;
}
body {
-webkit-tap-highlight-color: transparent;
background-color: #f9f9ff;
}
.scanner-overlay {
background: rgba(0, 0, 0, 0.4);
mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="390" height="844"><rect width="390" height="844" fill="white"/><rect x="75" y="150" width="240" height="240" rx="20" fill="black"/></svg>') exclude;
-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="390" height="844"><rect width="390" height="844" fill="white"/><rect x="75" y="150" width="240" height="240" rx="20" fill="black"/></svg>') exclude;
}
.scan-frame-corner {
position: absolute;
width: 40px;
height: 40px;
border: 4px solid #ffffff;
}
.top-left { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 12px; }
.top-right { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 12px; }
.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 12px; }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 12px; }
.scanner-line {
height: 2px;
background: linear-gradient(to right, transparent, #0066b3, transparent);
box-shadow: 0 0 15px #0066b3;
animation: scan 3s linear infinite;
}
@keyframes scan {
0% { top: 0%; }
50% { top: 100%; }
100% { top: 0%; }
}
.slide-up {
transform: translateY(100%);
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-up.active {
transform: translateY(0);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="font-body-base text-on-surface overflow-hidden">
<!-- Top App Bar -->
<header class="bg-surface dark:bg-inverse-surface border-b border-outline-variant dark:border-outline fixed top-0 w-full z-50 flex justify-between items-center px-container-padding h-16">
<div class="flex items-center gap-stack-sm">
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-surface-container-high transition-colors">
<span class="material-symbols-outlined text-primary">menu</span>
</button>
<h1 class="font-headline-md-mobile text-headline-md-mobile font-bold text-primary">KINTEX Lead Capture</h1>
</div>
<div class="w-10 h-10 rounded-full bg-primary-container flex items-center justify-center overflow-hidden border border-outline-variant">
<img class="w-full h-full object-cover" data-alt="A professional close-up studio portrait of a corporate exhibition staff member, wearing a clean navy blue blazer and a KINTEX employee identification lanyard. The lighting is soft and professional with a neutral gray background, maintaining a high-end enterprise B2B aesthetic." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBkq6tuc9eZoKPVAqihEsgVmPYulD5mazw_0pCaIAqPBtULKOeQNnaHdGK_biXdaIkMy9spA-BRvVjpOeOW_yXlpzvKC1H7XERyAkf_ky-SKZ1_dPRztcD-bmPQB3pU4rVtZVLPWaz1qOpNVg3M0pkLyWNiJFuqAgqzVO98tDLmplXRZsjuuazz1Q8WjDe9eV6WfOexssQz2_mwvue0NITAV4tPpMoNcKQOkAr8EGbznDehXs0IuSnuksRR3aZL3cmj-hmly9tTqRU"/>
</div>
</header>
<main class="relative h-screen pt-16 flex flex-col">
<!-- Scanner Section -->
<section class="flex-grow relative bg-black overflow-hidden">
<!-- Simulated Camera Background -->
<div class="absolute inset-0 z-0">
<img class="w-full h-full object-cover opacity-80" data-alt="A first-person point-of-view perspective of a smartphone camera viewfinder pointing towards a professional exhibition attendee's chest. The attendee is wearing a blurred lanyard with a QR code badge. The background shows a bright, high-ceiling convention center with exhibition booths and soft bokeh from indoor lighting." src="https://lh3.googleusercontent.com/aida-public/AB6AXuB0itsLolA_su1t9rfQBXIRX34HEbk6MYLsY7ZwS0W6M00pGvo7wWWTcRkBSORFQ899TYJ5wQsmUYmlkAzADKZpC-D5rKvnTXfmrCc_VG4tLIx6HtzLvvdvZDqxw6xPFcGt0aYGrBce_mKiZj_nNi77MuLwVVGtOawnelG-pl5lR3OuCtpizK6rz7CAdBVpqT_8apZwzBl2osLNyNV1TE8RAIyGB9reNqIYwEI1urbeDocZTB7US-1pmlN2e1ikc5Nxdu79f6cecEk"/>
</div>
<!-- Overlay & Guide -->
<div class="absolute inset-0 z-10 bg-black/40 flex flex-col items-center pt-24">
<div class="relative w-[240px] h-[240px]">
<div class="scan-frame-corner top-left"></div>
<div class="scan-frame-corner top-right"></div>
<div class="scan-frame-corner bottom-left"></div>
<div class="scan-frame-corner bottom-right"></div>
<div class="scanner-line absolute w-full z-20"></div>
</div>
<p class="mt-8 text-white font-title-sm text-center px-8 drop-shadow-md">관람객 배지 QR을 스캔하세요</p>
<!-- Flash Toggle -->
<button class="mt-12 w-14 h-14 bg-white/10 backdrop-blur-md rounded-full flex items-center justify-center border border-white/20 text-white">
<span class="material-symbols-outlined">flashlight_on</span>
</button>
</div>
</section>
<!-- Result Slide-up Card (Visible on Scan) -->
<div class="slide-up active fixed bottom-0 left-0 w-full z-50 bg-surface rounded-t-xl shadow-2xl pb-safe flex flex-col max-h-[751px] overflow-hidden" id="resultCard">
<!-- Handle -->
<div class="w-full flex justify-center py-stack-sm">
<div class="w-12 h-1.5 bg-outline-variant rounded-full"></div>
</div>
<div class="px-container-padding pb-stack-lg overflow-y-auto">
<!-- Visitor Info Header -->
<div class="flex items-start justify-between mb-stack-md">
<div>
<div class="flex items-center gap-stack-sm mb-base">
<h2 class="font-headline-md text-headline-md text-on-surface">정관람</h2>
<span class="bg-secondary-container text-on-secondary-container px-2 py-0.5 rounded-full font-label-md text-label-md">바이어</span>
</div>
<p class="text-on-surface-variant font-body-base">(주)미래기술 · 전략기획팀 팀장</p>
</div>
<div class="flex flex-col items-end">
<span class="text-error bg-error-container px-2 py-0.5 rounded-lg font-label-xs text-label-xs mb-1">D-5</span>
<span class="text-on-surface-variant font-label-xs text-label-xs flex items-center gap-1">
<span class="material-symbols-outlined text-[14px]">check_circle</span>
개인정보 동의
</span>
</div>
</div>
<!-- Interest Rating -->
<div class="mb-stack-md">
<p class="font-label-md text-label-md text-on-surface-variant mb-stack-sm">관심도 (Interest Level)</p>
<div class="flex gap-stack-sm text-primary">
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined">star</span>
</div>
</div>
<!-- Tags -->
<div class="mb-stack-md">
<p class="font-label-md text-label-md text-on-surface-variant mb-stack-sm">주요 관심분야 (AI 추천)</p>
<div class="flex flex-wrap gap-2">
<span class="border border-secondary text-secondary font-body-sm px-3 py-1 rounded-full flex items-center gap-1">
<span class="material-symbols-outlined text-[16px]">auto_awesome</span> AI 솔루션
</span>
<span class="bg-surface-container-high text-on-surface-variant font-body-sm px-3 py-1 rounded-full">전시 기획</span>
<span class="bg-surface-container-high text-on-surface-variant font-body-sm px-3 py-1 rounded-full">빅데이터</span>
<button class="bg-surface-container-low text-primary font-body-sm px-3 py-1 rounded-full flex items-center gap-1">
<span class="material-symbols-outlined text-[16px]">add</span> 추가
</button>
</div>
</div>
<!-- Memo Section -->
<div class="mb-stack-lg">
<p class="font-label-md text-label-md text-on-surface-variant mb-stack-sm">상담 메모</p>
<div class="relative">
<textarea class="w-full bg-surface-container-lowest border border-outline-variant rounded-xl p-stack-md font-body-base focus:border-primary focus:ring-1 focus:ring-primary outline-none transition-all resize-none" placeholder="상담 내용을 입력하거나 마이크 아이콘을 눌러 음성으로 기록하세요." rows="3"></textarea>
<button class="absolute bottom-3 right-3 w-10 h-10 bg-primary-container text-on-primary-container rounded-full flex items-center justify-center shadow-sm active:scale-90 transition-transform">
<span class="material-symbols-outlined">mic</span>
</button>
</div>
</div>
<!-- Action Buttons -->
<div class="flex flex-col gap-stack-sm">
<button class="w-full h-14 bg-primary text-white font-title-sm rounded-xl flex items-center justify-center gap-2 active:scale-[0.98] transition-transform" id="saveBtn">
<span class="material-symbols-outlined">save</span>
리드 저장
</button>
<div class="flex items-center justify-center gap-2">
<div class="flex items-center gap-1.5 bg-surface-container text-on-surface-variant px-3 py-1.5 rounded-full">
<div class="w-2 h-2 bg-tertiary rounded-full animate-pulse"></div>
<span class="font-label-xs text-label-xs">오프라인 저장 · 동기화 대기</span>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Bottom Navigation (Mobile) -->
<nav class="fixed bottom-0 left-0 w-full z-50 flex justify-around items-center px-4 py-3 pb-safe bg-surface-container dark:bg-surface-container-highest shadow-sm">
<div class="flex flex-col items-center justify-center text-on-surface-variant dark:text-on-surface-variant px-gutter py-base transition-transform duration-150">
<span class="material-symbols-outlined">group</span>
<span class="font-label-md text-label-md">Leads</span>
</div>
<div class="flex flex-col items-center justify-center bg-secondary-container dark:bg-secondary text-on-secondary-container dark:text-on-secondary rounded-full px-gutter py-base transition-transform duration-150">
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">qr_code_scanner</span>
<span class="font-label-md text-label-md">Scan</span>
</div>
<div class="flex flex-col items-center justify-center text-on-surface-variant dark:text-on-surface-variant px-gutter py-base transition-transform duration-150">
<span class="material-symbols-outlined">auto_awesome</span>
<span class="font-label-md text-label-md">AI Insights</span>
</div>
<div class="flex flex-col items-center justify-center text-on-surface-variant dark:text-on-surface-variant px-gutter py-base transition-transform duration-150">
<span class="material-symbols-outlined">settings</span>
<span class="font-label-md text-label-md">Settings</span>
</div>
</nav>
<script>
// Micro-interactions
const resultCard = document.getElementById('resultCard');
const saveBtn = document.getElementById('saveBtn');
// Close/Open Animation Logic (Simulated)
let isCardVisible = true;
saveBtn.addEventListener('click', () => {
saveBtn.innerHTML = '<span class="material-symbols-outlined animate-spin">sync</span> 저장 중...';
setTimeout(() => {
saveBtn.innerHTML = '<span class="material-symbols-outlined">check</span> 저장 완료';
saveBtn.classList.remove('bg-primary');
saveBtn.classList.add('bg-tertiary-container', 'text-on-tertiary-container');
setTimeout(() => {
resultCard.classList.remove('active');
isCardVisible = false;
// Reset for next scan demo
setTimeout(() => {
resultCard.classList.add('active');
isCardVisible = true;
saveBtn.innerHTML = '<span class="material-symbols-outlined">save</span> 리드 저장';
saveBtn.classList.add('bg-primary');
saveBtn.classList.remove('bg-tertiary-container', 'text-on-tertiary-container');
}, 3000);
}, 1000);
}, 1200);
});
// Simple Drag to Dismiss Simulation
let startY = 0;
resultCard.addEventListener('touchstart', (e) => {
startY = e.touches[0].clientY;
});
resultCard.addEventListener('touchmove', (e) => {
const currentY = e.touches[0].clientY;
const diff = currentY - startY;
if (diff > 50) {
resultCard.classList.remove('active');
}
});
</script>
</body></html>