세션 시간 초과 경고
Session Timeout Alert Component는 Microinteractions 스타일, 반응형 효과 및 어두운 테마를 지원합니다.
HTML 코드
<div class="fixed inset-0 z-50 flex items-center justify-center p-4">
<div class="relative w-full max-w-md p-6 bg-white rounded-lg shadow-lg dark:bg-gray-800">
<div class="flex items-center justify-between">
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Session Timeout</h3>
<button class="text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 focus:outline-none">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
</div>
<div class="mt-4">
<p class="text-sm text-gray-500 dark:text-gray-300">Your session is about to expire. You will be logged out automatically soon.</p>
<div class="mt-4 flex items-center justify-between">
<span class="text-sm font-semibold text-gray-900 dark:text-white">Time remaining:</span>
<span class="text-sm font-mono text-red-600 dark:text-red-400 animation-pulse">0:59</span>
</div>
</div>
<div class="mt-6 flex justify-end space-x-3">
<button class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-200 rounded-md hover:bg-gray-300 focus:outline-none dark:text-gray-200 dark:bg-gray-700 dark:hover:bg-gray-600">Cancel</button>
<button class="px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:outline-none">Extend Session</button>
</div>
</div>
</div>
관련 구성 요소
Session Timeout Alert 구성 요소
정부/공공 서비스 웹 사이트를 위한 복잡하고 반응이 빠른 세션 시간 초과 경고 구성 요소로, 멋진 뉴트럴 컬러와 함께 유기적/자연에서 영감을 받은 디자인이 특징입니다. 카운트다운 타이머, 확장 또는 로그아웃 옵션, 완전한 다크 모드 지원이 포함됩니다.
세션 시간 초과 경고 구성 요소 - 아르 데코 캔디 테마
밝은 사탕 색상을 사용하여 아르데코에서 영감을 받은 디자인의 간단하고 반응이 빠른 세션 시간 초과 경고 구성 요소입니다. 문서/위키 사이트에 최적화되어 있으며 다크 모드를 지원합니다.