コンポーネント セッション タイムアウト アラート セッション タイムアウト警告コンポーネント

セッション タイムアウト警告コンポーネント

残忍なスタイルで設計されたセッションタイムアウトアラートコンポーネントは、生々しく大胆な美学、ハイコントラスト、応答性の高いエフェクトを備えています。このコンポーネントは、Tailwind CSS スタイルを使用したダークテーマをサポートし、picsum.photos と randomuser.me のプレースホルダー画像を利用します。

プレビュー

HTMLコード

<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
    <div class="bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-lg shadow-lg text-center p-6 max-w-md w-full">
        <img src="https://picsum.photos/200/100?random=1" alt="Session Timeout" class="w-full h-24 rounded-md object-cover mb-4">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-100 mb-2">Session Timeout Warning</h2>
        <p class="text-gray-600 dark:text-gray-400 mb-4">Your session is about to expire due to inactivity. Please save your work and log in again to continue.</p>
        <div class="flex justify-between mb-4">
            <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="rounded-full w-10 h-10 border-2 border-gray-400 dark:border-gray-600">
            <p class="text-base font-semibold text-gray-800 dark:text-gray-100">John Doe</p>
        </div>
        <div class="flex space-x-4">
            <button class="px-4 py-2 bg-blue-600 text-white font-bold rounded hover:bg-blue-700 transition duration-200">Stay Logged In</button>
            <button class="px-4 py-2 bg-red-600 text-white font-bold rounded hover:bg-red-700 transition duration-200">Log Out</button>
        </div>
    </div>
</div>

関連コンポーネント

セッション タイムアウト警告コンポーネント

魅力的なアニメーションをトリガーするセッションタイムアウトアラートコンポーネント。レスポンシブデザインが特徴で、パステルカラーの配色とダークテーマのサポートを備えたダッシュボードに適しています。これにはインタラクティブな要素が含まれており、ユーザーはセッションを延長したりログアウトしたりできます。

開ける

セッション タイムアウト アラート

TailwindCSSを使用してパステルカラーと応答性で設計された、eコマースサイト用のシンプルなダークモードセッションタイムアウトアラートコンポーネント。

開ける

セッション タイムアウト アラート

ダークテーマをサポートするレスポンシブセッションタイムアウトアラートコンポーネントで、パステルカラーを使用したミニマリスト/フラットな美学で設計されています。ダッシュボード環境に適した、明確なタイポグラフィとユーザーインタラクションのための微妙な視覚的な手がかりを備えたすっきりとしたレイアウトが特徴です。

開ける