367 lines
23 KiB
HTML
367 lines
23 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 AI - 알림 센터</title>
|
|
<!-- Google Fonts: Inter for English, Geist for labels, Material Symbols for icons -->
|
|
<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 src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"outline-variant": "#c1c7d3",
|
|
"surface-dim": "#d3d9f1",
|
|
"on-tertiary": "#ffffff",
|
|
"on-primary-container": "#91c0ff",
|
|
"surface-container-highest": "#dbe2fa",
|
|
"on-tertiary-container": "#68d1a0",
|
|
"on-background": "#141b2c",
|
|
"on-tertiary-fixed": "#002113",
|
|
"surface-container-high": "#e1e7ff",
|
|
"on-primary-fixed": "#001c38",
|
|
"on-primary-fixed-variant": "#004881",
|
|
"tertiary-fixed": "#8ef7c4",
|
|
"surface-variant": "#dbe2fa",
|
|
"inverse-surface": "#293042",
|
|
"secondary-fixed-dim": "#c9bfff",
|
|
"surface-container-low": "#f1f3ff",
|
|
"tertiary-fixed-dim": "#72daa9",
|
|
"surface-bright": "#f9f9ff",
|
|
"tertiary-container": "#00583b",
|
|
"error-container": "#ffdad6",
|
|
"on-secondary-fixed": "#1b0063",
|
|
"on-secondary": "#ffffff",
|
|
"inverse-primary": "#a2c9ff",
|
|
"on-tertiary-fixed-variant": "#005236",
|
|
"inverse-on-surface": "#eef0ff",
|
|
"error": "#ba1a1a",
|
|
"primary-fixed-dim": "#a2c9ff",
|
|
"secondary-fixed": "#e5deff",
|
|
"secondary": "#5427e6",
|
|
"on-surface-variant": "#424750",
|
|
"on-secondary-fixed-variant": "#4500d8",
|
|
"surface-container-lowest": "#ffffff",
|
|
"on-surface": "#141b2c",
|
|
"primary-container": "#004e8b",
|
|
"on-secondary-container": "#f3edff",
|
|
"outline": "#727781",
|
|
"error-red": "#ba1a1a",
|
|
"surface-container": "#eaedff",
|
|
"primary": "#003765",
|
|
"surface": "#faf8ff",
|
|
"primary-fixed": "#d3e4ff",
|
|
"surface-tint": "#24609e",
|
|
"on-primary": "#ffffff",
|
|
"tertiary": "#003e28",
|
|
"on-error-container": "#93000a",
|
|
"on-error": "#ffffff",
|
|
"secondary-container": "#6d4aff",
|
|
"background": "#faf8ff"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"container-padding": "24px",
|
|
"base": "4px",
|
|
"stack-md": "16px",
|
|
"gutter": "16px",
|
|
"section-padding": "96px",
|
|
"stack-sm": "8px",
|
|
"stack-lg": "24px"
|
|
},
|
|
"fontFamily": {
|
|
"display-lg": ["Inter", "sans-serif"],
|
|
"headline-md": ["Inter", "sans-serif"],
|
|
"title-sm": ["Inter", "sans-serif"],
|
|
"label-xs": ["Geist", "sans-serif"],
|
|
"label-md": ["Geist", "sans-serif"],
|
|
"body-sm": ["Inter", "sans-serif"],
|
|
"body-base": ["Inter", "sans-serif"]
|
|
},
|
|
"fontSize": {
|
|
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"title-sm": ["18px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"label-xs": ["11px", {"lineHeight": "14px", "fontWeight": "500"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.02em", "fontWeight": "600"}],
|
|
"body-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}],
|
|
"body-base": ["14px", {"lineHeight": "20px", "fontWeight": "400"}]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
body {
|
|
font-family: 'Inter', 'Pretendard', sans-serif;
|
|
background-color: #f9f9ff;
|
|
}
|
|
.glass-overlay {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="text-on-surface">
|
|
<!-- SideNavBar (JSON Derived) -->
|
|
<aside class="w-[240px] h-screen fixed left-0 top-0 flex flex-col border-r border-outline-variant bg-surface-container-lowest dark:bg-inverse-surface z-50">
|
|
<div class="flex flex-col gap-base px-stack-md py-stack-lg flex-1">
|
|
<div class="flex items-center gap-3 mb-8">
|
|
<div class="w-10 h-10 rounded-full overflow-hidden bg-surface-container">
|
|
<img alt="KINTEX AI Manager Avatar" class="w-full h-full object-cover" src="https://lh3.googleusercontent.com/aida-public/AB6AXuDSJsLxx2EaoXEW-9w1pCF0HyUBbDdn3fBa9WOxstnJ22Ap4Svu83JRg8QoLKn8UvEJv9-3eOF0hRjvYo_4Vwp4fmeq8ODKNCoFfAn2s7U0QMXinOf4jIPB6lDSZuJPtfrqiFFVuAxaMpFy-1kac4LlwWyRuSPUUyNDawMPjfi9Cj2qyf7i9zCw2lsf_kquZE5zcmMBndXotZnCq2s0S_t818Bzb6_4Rwp3X8oqt9xaR3Xlwl0rFnT2HRfdslinKUpr594lUmPd7AA"/>
|
|
</div>
|
|
<div class="flex flex-col">
|
|
<span class="text-title-sm font-display-lg font-bold text-primary dark:text-inverse-primary">KINTEX AI</span>
|
|
<span class="font-label-md text-label-md text-on-surface-variant">Exhibition Mgmt</span>
|
|
</div>
|
|
</div>
|
|
<nav class="flex flex-col gap-1">
|
|
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant dark:text-surface-variant hover:bg-surface-container-low transition-colors font-label-md text-label-md" href="#">
|
|
<span class="material-symbols-outlined">dashboard</span>
|
|
대시보드
|
|
</a>
|
|
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant dark:text-surface-variant hover:bg-surface-container-low transition-colors font-label-md text-label-md" href="#">
|
|
<span class="material-symbols-outlined">event_available</span>
|
|
전시 관리
|
|
</a>
|
|
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant dark:text-surface-variant hover:bg-surface-container-low transition-colors font-label-md text-label-md" href="#">
|
|
<span class="material-symbols-outlined">assignment_ind</span>
|
|
신청 현황
|
|
</a>
|
|
<!-- Active Tab: 알림 -->
|
|
<a class="flex items-center gap-3 px-4 py-3 bg-primary-container dark:bg-primary text-on-primary-container dark:text-on-primary font-bold rounded-xl font-label-md text-label-md scale-98 transition-transform duration-150" href="#">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">notifications</span>
|
|
알림
|
|
</a>
|
|
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant dark:text-surface-variant hover:bg-surface-container-low transition-colors font-label-md text-label-md" href="#">
|
|
<span class="material-symbols-outlined">bar_chart</span>
|
|
통계 분석
|
|
</a>
|
|
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant dark:text-surface-variant hover:bg-surface-container-low transition-colors font-label-md text-label-md" href="#">
|
|
<span class="material-symbols-outlined">settings</span>
|
|
시스템 설정
|
|
</a>
|
|
</nav>
|
|
</div>
|
|
<div class="px-stack-md py-stack-lg mt-auto border-t border-outline-variant">
|
|
<button class="w-full flex items-center justify-center gap-2 py-3 rounded-full border border-outline text-on-surface-variant font-label-md text-label-md hover:bg-surface-container transition-colors">
|
|
<span class="material-symbols-outlined">logout</span>
|
|
로그아웃
|
|
</button>
|
|
</div>
|
|
</aside>
|
|
<!-- Main Content Area -->
|
|
<main class="ml-[240px] min-h-screen flex flex-col">
|
|
<!-- TopAppBar (JSON Derived) -->
|
|
<header class="w-full sticky top-0 bg-surface-bright dark:bg-background border-b border-outline-variant z-40">
|
|
<div class="flex justify-between items-center h-16 px-container-padding max-w-[1280px] mx-auto w-full">
|
|
<div class="flex items-center gap-6">
|
|
<h1 class="font-headline-md text-headline-md font-semibold text-on-surface dark:text-inverse-on-surface">알림 센터</h1>
|
|
<nav class="hidden md:flex items-center gap-6 ml-4">
|
|
<a class="text-on-surface-variant dark:text-surface-variant font-label-md text-label-md hover:text-primary transition-colors" href="#">마감</a>
|
|
<a class="text-on-surface-variant dark:text-surface-variant font-label-md text-label-md hover:text-primary transition-colors" href="#">낙찰</a>
|
|
<a class="text-on-surface-variant dark:text-surface-variant font-label-md text-label-md hover:text-primary transition-colors" href="#">승인</a>
|
|
</nav>
|
|
</div>
|
|
<div class="flex items-center gap-4">
|
|
<button class="px-4 py-2 bg-primary text-on-primary rounded-full font-label-md text-label-md hover:opacity-90 transition-opacity">
|
|
모두 읽음으로 표시
|
|
</button>
|
|
<div class="h-6 w-px bg-outline-variant"></div>
|
|
<button class="p-2 text-on-surface-variant hover:bg-surface-container rounded-full transition-colors" title="알림 설정">
|
|
<span class="material-symbols-outlined">settings</span>
|
|
</button>
|
|
<button class="p-2 text-on-surface-variant hover:bg-surface-container rounded-full transition-colors">
|
|
<span class="material-symbols-outlined">account_circle</span>
|
|
</button>
|
|
<button class="p-2 text-on-surface-variant hover:bg-surface-container rounded-full transition-colors">
|
|
<span class="material-symbols-outlined">help_outline</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<!-- Notification Content -->
|
|
<div class="flex-1 max-w-[1280px] mx-auto w-full px-container-padding py-8">
|
|
<!-- Filter Bar -->
|
|
<div class="flex items-center gap-3 mb-8 overflow-x-auto pb-2 scrollbar-hide">
|
|
<button class="px-6 py-2 bg-primary text-on-primary rounded-full font-label-md text-label-md shadow-sm">전체</button>
|
|
<button class="px-6 py-2 bg-surface-container-lowest border border-outline-variant text-on-surface-variant rounded-full font-label-md text-label-md hover:bg-surface-container transition-colors">마감</button>
|
|
<button class="px-6 py-2 bg-surface-container-lowest border border-outline-variant text-on-surface-variant rounded-full font-label-md text-label-md hover:bg-surface-container transition-colors">낙찰</button>
|
|
<button class="px-6 py-2 bg-surface-container-lowest border border-outline-variant text-on-surface-variant rounded-full font-label-md text-label-md hover:bg-surface-container transition-colors">승인</button>
|
|
<button class="px-6 py-2 bg-surface-container-lowest border border-outline-variant text-on-surface-variant rounded-full font-label-md text-label-md hover:bg-surface-container transition-colors">결제</button>
|
|
<button class="px-6 py-2 bg-surface-container-lowest border border-outline-variant text-on-surface-variant rounded-full font-label-md text-label-md hover:bg-surface-container transition-colors">시스템</button>
|
|
</div>
|
|
<!-- Notification List -->
|
|
<div class="flex flex-col gap-3">
|
|
<!-- Notification Item: Deadline (Urgent) -->
|
|
<div class="group relative flex items-start gap-4 p-5 bg-surface-container-lowest border border-outline-variant rounded-xl hover:shadow-md transition-all border-l-4 border-l-error">
|
|
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-error-container flex items-center justify-center">
|
|
<img class="w-6 h-6 object-contain" data-alt="A minimalist high-contrast vector icon of a classic analog clock with a subtle glowing aura, styled in deep red and pure white to signify urgency. The background is a soft, tinted red circle that fits perfectly into a modern corporate dashboard UI." src="https://lh3.googleusercontent.com/aida-public/AB6AXuAbPuhxMlaQOAHd2aVUY77WrEOsUHB4rFuGFUpKlccP-sIdjTnjW36OLipUKtSkAGRrKGGliB4OxhQnXL9D5RIYRcg2YafR81aVy6t1vrNkBQcp2lnASDquNiifliFTdCUYehIXYzauibmtCrIP3T40cqJZinjmKEdrJGlzbNq8IyXgwnmVTftzK7EQWgWdaquh1z7UwkJhqIphA-U73yRz2U-f92g4RTLfGJxRLzS9dEtthdy0DOf3VOYWSp3dPqAsejE_rXm1NJw"/>
|
|
</div>
|
|
<div class="flex-1 min-w-0">
|
|
<div class="flex items-center justify-between gap-2 mb-1">
|
|
<h3 class="font-title-sm text-title-sm text-on-surface truncate">전시 부스 신청 마감 임박</h3>
|
|
<span class="text-on-surface-variant font-label-md text-label-md whitespace-nowrap">방금 전</span>
|
|
</div>
|
|
<p class="font-body-base text-body-base text-on-surface-variant mb-3">
|
|
2026 하반기 KINTEX 통합 전시회 부스 신청이 3시간 뒤 마감됩니다. 아직 제출하지 않은 서류가 있는지 확인해 주세요.
|
|
</p>
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center gap-2">
|
|
<span class="px-2 py-0.5 rounded bg-error text-on-error font-label-xs text-label-xs">D-0</span>
|
|
<span class="w-2 h-2 rounded-full bg-[#0066B3]"></span>
|
|
</div>
|
|
<a class="text-primary font-label-md text-label-md hover:underline flex items-center gap-1" href="#">
|
|
신청하기 <span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Notification Item: Approval -->
|
|
<div class="group relative flex items-start gap-4 p-5 bg-surface-container-lowest border border-outline-variant rounded-xl hover:shadow-md transition-all border-l-4 border-l-tertiary">
|
|
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-tertiary-container flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-on-tertiary" style="font-variation-settings: 'FILL' 1;">check_circle</span>
|
|
</div>
|
|
<div class="flex-1 min-w-0">
|
|
<div class="flex items-center justify-between gap-2 mb-1">
|
|
<h3 class="font-title-sm text-title-sm text-on-surface truncate">부스 배치도 승인 완료</h3>
|
|
<span class="text-on-surface-variant font-label-md text-label-md whitespace-nowrap">2시간 전</span>
|
|
</div>
|
|
<p class="font-body-base text-body-base text-on-surface-variant mb-3">
|
|
제출하신 'A홀 스마트 가전관' 부스 배치도가 관리자에 의해 승인되었습니다. 상세 위치 및 설비 사양을 확인하시기 바랍니다.
|
|
</p>
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center gap-2">
|
|
<span class="px-2 py-0.5 rounded bg-tertiary-fixed text-on-tertiary-fixed font-label-xs text-label-xs">승인완료</span>
|
|
<span class="w-2 h-2 rounded-full bg-[#0066B3]"></span>
|
|
</div>
|
|
<a class="text-primary font-label-md text-label-md hover:underline flex items-center gap-1" href="#">
|
|
도면 보기 <span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Notification Item: Auction -->
|
|
<div class="group relative flex items-start gap-4 p-5 bg-surface-container-lowest border border-outline-variant rounded-xl hover:shadow-md transition-all border-l-4 border-l-secondary">
|
|
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-secondary-container flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-white">gavel</span>
|
|
</div>
|
|
<div class="flex-1 min-w-0">
|
|
<div class="flex items-center justify-between gap-2 mb-1">
|
|
<h3 class="font-title-sm text-title-sm text-on-surface truncate">입찰 결과 안내: 메인 라운지 광고 구좌</h3>
|
|
<span class="text-on-surface-variant font-label-md text-label-md whitespace-nowrap">5시간 전</span>
|
|
</div>
|
|
<p class="font-body-base text-body-base text-on-surface-variant mb-3">
|
|
축하드립니다! 제1전시장 중앙 로비 디지털 사이니지 광고 구좌 입찰에 최종 낙찰되셨습니다. 계약 절차를 진행해 주세요.
|
|
</p>
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center gap-2">
|
|
<span class="px-2 py-0.5 rounded bg-secondary-fixed text-on-secondary-fixed font-label-xs text-label-xs">낙찰</span>
|
|
</div>
|
|
<a class="text-primary font-label-md text-label-md hover:underline flex items-center gap-1" href="#">
|
|
계약서 확인 <span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Notification Item: Payment -->
|
|
<div class="group relative flex items-start gap-4 p-5 bg-surface-container-lowest border border-outline-variant rounded-xl hover:shadow-md transition-all border-l-4 border-l-primary">
|
|
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary-fixed flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-primary">credit_card</span>
|
|
</div>
|
|
<div class="flex-1 min-w-0">
|
|
<div class="flex items-center justify-between gap-2 mb-1">
|
|
<h3 class="font-title-sm text-title-sm text-on-surface truncate">전시 참가비 결제 확인</h3>
|
|
<span class="text-on-surface-variant font-label-md text-label-md whitespace-nowrap">어제</span>
|
|
</div>
|
|
<p class="font-body-base text-body-base text-on-surface-variant mb-3">
|
|
전시 참가 신청 비용 ₩3,500,000 입금이 확인되었습니다. 전자 세금계산서가 발행되었으니 확인 부탁드립니다.
|
|
</p>
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center gap-2">
|
|
<span class="px-2 py-0.5 rounded bg-primary-fixed text-on-primary-fixed-variant font-label-xs text-label-xs">결제완료</span>
|
|
</div>
|
|
<a class="text-primary font-label-md text-label-md hover:underline flex items-center gap-1" href="#">
|
|
영수증 출력 <span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Notification Item: System -->
|
|
<div class="group relative flex items-start gap-4 p-5 bg-surface-container-lowest border border-outline-variant rounded-xl hover:shadow-md transition-all border-l-4 border-l-outline">
|
|
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-surface-container-high flex items-center justify-center">
|
|
<img class="w-6 h-6 object-contain" data-alt="A sleek, tech-oriented vector graphic of a stylized computer gear or microchip, rendered in a professional grayscale and blue palette. It conveys system stability and technological infrastructure, set against a clean, circular light gray background suitable for a corporate notification system UI." src="https://lh3.googleusercontent.com/aida-public/AB6AXuDf5z3BL0IObrO6yK7zIzm2R0x1dPF4yIwv0fy4fMf9pr4xEPS9tVXehuQnkIjqcm2dx1ZuZGpe269TuVzXvIabNF9bPB8jCq05vMqftsLh7YtYnG7-WJKOgr5W3-l_f66fI3NRSP10V8uvll_BUdd-XkNUTnMN-OCl4ZBp0DCXvzE0XRhJt2K2E4bt4oAHShj20xxi-bx-zL4_34e61iam4jdfxlyL-WCabmxUj-pMgNEcJcA13j4x20rGyUMeu71VTka3ChVfVx8"/>
|
|
</div>
|
|
<div class="flex-1 min-w-0">
|
|
<div class="flex items-center justify-between gap-2 mb-1">
|
|
<h3 class="font-title-sm text-title-sm text-on-surface truncate">시스템 정기 점검 안내</h3>
|
|
<span class="text-on-surface-variant font-label-md text-label-md whitespace-nowrap">3일 전</span>
|
|
</div>
|
|
<p class="font-body-base text-body-base text-on-surface-variant mb-3">
|
|
서비스 안정화를 위한 정기 서버 점검이 10월 15일 새벽 2시부터 4시까지 진행됩니다. 해당 시간 동안 서비스 이용이 일시 중단됩니다.
|
|
</p>
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center gap-2">
|
|
<span class="px-2 py-0.5 rounded bg-surface-variant text-on-surface-variant font-label-xs text-label-xs">공지사항</span>
|
|
</div>
|
|
<a class="text-primary font-label-md text-label-md hover:underline flex items-center gap-1" href="#">
|
|
자세히 보기 <span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Empty State Illustration (Hidden by default, shown if no results) -->
|
|
<div class="hidden flex-col items-center justify-center py-24 text-center" id="empty-state">
|
|
<div class="w-48 h-48 mb-6 opacity-20">
|
|
<span class="material-symbols-outlined text-[120px] text-primary">notifications_off</span>
|
|
</div>
|
|
<h3 class="font-headline-md text-headline-md text-on-surface mb-2">새로운 알림이 없습니다</h3>
|
|
<p class="font-body-base text-body-base text-on-surface-variant">모든 소식을 확인하셨습니다. 평화로운 하루 되세요!</p>
|
|
</div>
|
|
</div>
|
|
<!-- Floating Action Interaction -->
|
|
<button class="fixed bottom-8 right-8 w-12 h-12 bg-primary text-on-primary rounded-full shadow-lg flex items-center justify-center opacity-0 transition-opacity duration-300 hover:scale-110 active:scale-95 z-50" id="scrollToTop">
|
|
<span class="material-symbols-outlined">arrow_upward</span>
|
|
</button>
|
|
</main>
|
|
<script>
|
|
// Scroll to top functionality
|
|
const scrollBtn = document.getElementById('scrollToTop');
|
|
window.addEventListener('scroll', () => {
|
|
if (window.scrollY > 300) {
|
|
scrollBtn.classList.remove('opacity-0');
|
|
scrollBtn.classList.add('opacity-100');
|
|
} else {
|
|
scrollBtn.classList.remove('opacity-100');
|
|
scrollBtn.classList.add('opacity-0');
|
|
}
|
|
});
|
|
scrollBtn.addEventListener('click', () => {
|
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
});
|
|
|
|
// Hover effect for notification items
|
|
document.querySelectorAll('.group').forEach(item => {
|
|
item.addEventListener('mouseenter', () => {
|
|
item.classList.add('scale-[1.005]');
|
|
});
|
|
item.addEventListener('mouseleave', () => {
|
|
item.classList.remove('scale-[1.005]');
|
|
});
|
|
});
|
|
</script>
|
|
</body></html> |