292 lines
15 KiB
HTML
292 lines
15 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="light" lang="ko"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=390, user-scalable=no" name="viewport"/>
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<link href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css" 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=Geist:wght@100..900&family=Inter:wght@100..900&display=swap" rel="stylesheet"/>
|
|
<style>
|
|
body {
|
|
font-family: 'Pretendard', sans-serif;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.active-icon {
|
|
font-variation-settings: 'FILL' 1;
|
|
}
|
|
/* Custom scrollbar hide for mobile filter rail */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
</style>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"on-surface-variant": "#414751",
|
|
"primary-container": "#0066b3",
|
|
"error": "#ba1a1a",
|
|
"inverse-on-surface": "#edf0ff",
|
|
"secondary-container": "#6d4aff",
|
|
"on-primary": "#ffffff",
|
|
"on-secondary": "#ffffff",
|
|
"on-primary-fixed": "#001c38",
|
|
"on-primary-container": "#d2e3ff",
|
|
"tertiary-fixed": "#8ef7c4",
|
|
"on-primary-fixed-variant": "#004881",
|
|
"surface-tint": "#0060a9",
|
|
"surface": "#f9f9ff",
|
|
"on-background": "#141b2c",
|
|
"outline-variant": "#c1c7d3",
|
|
"secondary-fixed": "#e5deff",
|
|
"on-tertiary-container": "#8ef7c3",
|
|
"secondary-fixed-dim": "#c9bfff",
|
|
"surface-container": "#e9edff",
|
|
"tertiary-fixed-dim": "#72daa9",
|
|
"surface-container-low": "#f1f3ff",
|
|
"secondary": "#5427e6",
|
|
"on-surface": "#141b2c",
|
|
"surface-variant": "#dbe2f9",
|
|
"on-secondary-container": "#f3edff",
|
|
"background": "#f9f9ff",
|
|
"primary": "#004e8b",
|
|
"on-tertiary-fixed": "#002113",
|
|
"tertiary-container": "#00734e",
|
|
"surface-container-high": "#e0e8ff",
|
|
"on-secondary-fixed": "#1b0063",
|
|
"surface-container-lowest": "#ffffff",
|
|
"tertiary": "#00583b",
|
|
"primary-fixed-dim": "#a2c9ff",
|
|
"surface-container-highest": "#dbe2f9",
|
|
"on-error-container": "#93000a",
|
|
"error-container": "#ffdad6",
|
|
"surface-dim": "#d2daf0",
|
|
"surface-bright": "#f9f9ff",
|
|
"inverse-surface": "#293041",
|
|
"on-secondary-fixed-variant": "#4500d8",
|
|
"outline": "#717782",
|
|
"inverse-primary": "#a2c9ff",
|
|
"primary-fixed": "#d3e4ff",
|
|
"on-tertiary": "#ffffff",
|
|
"on-tertiary-fixed-variant": "#005236",
|
|
"on-error": "#ffffff"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"stack-md": "16px",
|
|
"stack-sm": "8px",
|
|
"container-padding": "24px",
|
|
"base": "4px",
|
|
"stack-lg": "24px",
|
|
"gutter": "16px"
|
|
},
|
|
"fontFamily": {
|
|
"display-lg-mobile": ["Inter"],
|
|
"headline-md": ["Inter"],
|
|
"label-md": ["Geist"],
|
|
"display-lg": ["Inter"],
|
|
"title-sm": ["Inter"],
|
|
"label-xs": ["Geist"],
|
|
"body-sm": ["Inter"],
|
|
"body-base": ["Inter"]
|
|
},
|
|
"fontSize": {
|
|
"display-lg-mobile": ["28px", {"lineHeight": "36px", "fontWeight": "700"}],
|
|
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.02em", "fontWeight": "600"}],
|
|
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"title-sm": ["18px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"label-xs": ["11px", {"lineHeight": "14px", "fontWeight": "500"}],
|
|
"body-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}],
|
|
"body-base": ["14px", {"lineHeight": "20px", "fontWeight": "400"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-surface antialiased select-none">
|
|
<!-- 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 transition-colors duration-200">
|
|
<button aria-label="Back" class="w-10 h-10 flex items-center justify-start text-primary active:opacity-80 transition-opacity">
|
|
<span class="material-symbols-outlined text-[24px]">arrow_back</span>
|
|
</button>
|
|
<h1 class="font-headline-md text-headline-md font-bold text-primary">알림</h1>
|
|
<button aria-label="Settings" class="w-10 h-10 flex items-center justify-end text-on-surface-variant active:opacity-80 transition-opacity">
|
|
<span class="material-symbols-outlined text-[24px]">settings</span>
|
|
</button>
|
|
</header>
|
|
<main class="pt-16 pb-24">
|
|
<!-- Filter Rail -->
|
|
<section class="mt-4 px-container-padding">
|
|
<div class="flex overflow-x-auto no-scrollbar gap-2 py-2">
|
|
<button class="whitespace-nowrap px-4 py-2 rounded-full font-label-md text-label-md bg-primary-container text-on-primary transition-colors">전체</button>
|
|
<button class="whitespace-nowrap px-4 py-2 rounded-full font-label-md text-label-md bg-surface-container text-on-surface-variant hover:bg-surface-variant transition-colors">마감</button>
|
|
<button class="whitespace-nowrap px-4 py-2 rounded-full font-label-md text-label-md bg-surface-container text-on-surface-variant hover:bg-surface-variant transition-colors">낙찰</button>
|
|
<button class="whitespace-nowrap px-4 py-2 rounded-full font-label-md text-label-md bg-surface-container text-on-surface-variant hover:bg-surface-variant transition-colors">승인</button>
|
|
<button class="whitespace-nowrap px-4 py-2 rounded-full font-label-md text-label-md bg-surface-container text-on-surface-variant hover:bg-surface-variant transition-colors">결제</button>
|
|
</div>
|
|
</section>
|
|
<!-- Action Bar -->
|
|
<section class="flex justify-between items-center px-container-padding py-4">
|
|
<span class="font-label-md text-label-md text-on-surface-variant">전체 12개</span>
|
|
<button class="text-primary font-label-md text-label-md px-2 py-1 active:bg-primary-fixed/20 rounded transition-colors">모두 읽음</button>
|
|
</section>
|
|
<!-- Notification List -->
|
|
<section class="divide-y divide-outline-variant/30">
|
|
<!-- Item 1 (Unread) -->
|
|
<div class="flex gap-4 p-container-padding bg-surface-container-lowest active:bg-surface-container transition-colors relative">
|
|
<div class="flex-shrink-0">
|
|
<div class="w-12 h-12 rounded-full bg-error-container text-error flex items-center justify-center">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">calendar_today</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow pr-4">
|
|
<div class="flex justify-between items-start mb-1">
|
|
<h3 class="font-title-sm text-on-surface font-bold">전시 부스 신청 마감 임박</h3>
|
|
<span class="font-label-xs text-label-xs text-outline whitespace-nowrap">방금 전</span>
|
|
</div>
|
|
<p class="font-body-sm text-on-surface-variant leading-relaxed">2026 하반기 통합 전시회 부스 신청이 3시간 뒤 마감됩니다.</p>
|
|
</div>
|
|
<div class="absolute right-6 top-1/2 -translate-y-1/2">
|
|
<div class="w-2 h-2 rounded-full bg-primary"></div>
|
|
</div>
|
|
</div>
|
|
<!-- Item 2 (Unread) -->
|
|
<div class="flex gap-4 p-container-padding bg-surface-container-lowest active:bg-surface-container transition-colors relative">
|
|
<div class="flex-shrink-0">
|
|
<div class="w-12 h-12 rounded-full bg-tertiary-container/20 text-tertiary flex items-center justify-center">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">check_circle</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow pr-4">
|
|
<div class="flex justify-between items-start mb-1">
|
|
<h3 class="font-title-sm text-on-surface font-bold">부스 배치도 승인 완료</h3>
|
|
<span class="font-label-xs text-label-xs text-outline whitespace-nowrap">2시간 전</span>
|
|
</div>
|
|
<p class="font-body-sm text-on-surface-variant leading-relaxed">요청하신 제1전시장 A-102 구역의 배치가 승인되었습니다.</p>
|
|
</div>
|
|
<div class="absolute right-6 top-1/2 -translate-y-1/2">
|
|
<div class="w-2 h-2 rounded-full bg-primary"></div>
|
|
</div>
|
|
</div>
|
|
<!-- Item 3 -->
|
|
<div class="flex gap-4 p-container-padding bg-surface-container-lowest active:bg-surface-container transition-colors opacity-80">
|
|
<div class="flex-shrink-0">
|
|
<div class="w-12 h-12 rounded-full bg-primary-fixed text-primary flex items-center justify-center">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">payments</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow">
|
|
<div class="flex justify-between items-start mb-1">
|
|
<h3 class="font-title-sm text-on-surface font-bold">전기/통신 사용료 결제 안내</h3>
|
|
<span class="font-label-xs text-label-xs text-outline whitespace-nowrap">5시간 전</span>
|
|
</div>
|
|
<p class="font-body-sm text-on-surface-variant leading-relaxed">신청하신 유틸리티 비용에 대한 세금계산서가 발행되었습니다.</p>
|
|
</div>
|
|
</div>
|
|
<!-- Item 4 (AI Optimized) -->
|
|
<div class="flex gap-4 p-container-padding bg-surface-container-lowest active:bg-surface-container transition-colors opacity-80">
|
|
<div class="flex-shrink-0">
|
|
<div class="w-12 h-12 rounded-full bg-secondary-container/10 text-secondary border border-secondary/20 flex items-center justify-center">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">auto_awesome</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow">
|
|
<div class="flex justify-between items-start mb-1">
|
|
<h3 class="font-title-sm text-on-surface font-bold text-secondary">AI 관람객 동선 최적화 제안</h3>
|
|
<span class="font-label-xs text-label-xs text-outline whitespace-nowrap">어제</span>
|
|
</div>
|
|
<p class="font-body-sm text-on-surface-variant leading-relaxed">데이터 분석 결과, 입구 혼잡도 개선을 위한 부스 배치 조정안이 생성되었습니다.</p>
|
|
</div>
|
|
</div>
|
|
<!-- Item 5 -->
|
|
<div class="flex gap-4 p-container-padding bg-surface-container-lowest active:bg-surface-container transition-colors opacity-80">
|
|
<div class="flex-shrink-0">
|
|
<div class="w-12 h-12 rounded-full bg-surface-container text-on-surface-variant flex items-center justify-center">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">gavel</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow">
|
|
<div class="flex justify-between items-start mb-1">
|
|
<h3 class="font-title-sm text-on-surface font-bold">잔여 부스 공개 입찰 낙찰</h3>
|
|
<span class="font-label-xs text-label-xs text-outline whitespace-nowrap">2일 전</span>
|
|
</div>
|
|
<p class="font-body-sm text-on-surface-variant leading-relaxed">(주)킨텍스글로벌이 제2전시장 C-203 구역 낙찰자로 선정되었습니다.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
<nav class="fixed bottom-0 w-full z-50 flex justify-around items-center px-gutter pb-safe h-20 bg-surface-container border-t border-outline-variant">
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant px-4 py-1 transition-all duration-200 scale-95 active:scale-90">
|
|
<span class="material-symbols-outlined">home</span>
|
|
<span class="font-label-md text-label-md mt-1">홈</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant px-4 py-1 transition-all duration-200 scale-95 active:scale-90">
|
|
<span class="material-symbols-outlined">grid_view</span>
|
|
<span class="font-label-md text-label-md mt-1">부스 관리</span>
|
|
</button>
|
|
<!-- ACTIVE TAB -->
|
|
<button class="flex flex-col items-center justify-center bg-secondary-container text-on-secondary-container rounded-full px-4 py-1 transition-all duration-200 scale-95 active:scale-90">
|
|
<span class="material-symbols-outlined active-icon">notifications</span>
|
|
<span class="font-label-md text-label-md mt-1">알림</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant px-4 py-1 transition-all duration-200 scale-95 active:scale-90">
|
|
<span class="material-symbols-outlined">analytics</span>
|
|
<span class="font-label-md text-label-md mt-1">통계</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant px-4 py-1 transition-all duration-200 scale-95 active:scale-90">
|
|
<span class="material-symbols-outlined">menu</span>
|
|
<span class="font-label-md text-label-md mt-1">더보기</span>
|
|
</button>
|
|
</nav>
|
|
<script>
|
|
// Simple filter button interaction
|
|
const filterButtons = document.querySelectorAll('section div button');
|
|
filterButtons.forEach(btn => {
|
|
btn.addEventListener('click', () => {
|
|
filterButtons.forEach(b => {
|
|
b.classList.remove('bg-primary-container', 'text-on-primary');
|
|
b.classList.add('bg-surface-container', 'text-on-surface-variant');
|
|
});
|
|
btn.classList.remove('bg-surface-container', 'text-on-surface-variant');
|
|
btn.classList.add('bg-primary-container', 'text-on-primary');
|
|
});
|
|
});
|
|
|
|
// Click interaction for notification rows
|
|
const notifications = document.querySelectorAll('section > div');
|
|
notifications.forEach(notif => {
|
|
notif.addEventListener('click', () => {
|
|
const dot = notif.querySelector('.bg-primary.w-2.h-2');
|
|
if (dot) {
|
|
dot.classList.add('opacity-0', 'transition-opacity');
|
|
setTimeout(() => dot.remove(), 200);
|
|
}
|
|
notif.classList.add('opacity-80');
|
|
});
|
|
});
|
|
</script>
|
|
</body></html> |