import React, { useState } from 'react'; export default function LockScreen({ onUnlock }) { const [dismissed, setDismissed] = useState(false); return (
{/* ─── Premium Lock Screen Backdrop (Tree Silhouette + Starry Night Sky) ─── */}
{/* Starry Sky effect (Generated pure CSS/SVG stars) */}
{/* Faint Stars */}
{/* Tree Silhouette at the bottom */}
{/* Tree silhouette */}
{/* ─── Phone Frame / Lock Screen Content ─── */}
{/* Top Lock Indicator & Time */}
{/* Padlock Icon */}
{/* Time display */}

9:41

{/* Date display */}

Tuesday, 23 June

{/* Center: Push Notification Card */}
{!dismissed && (
{/* Notification Box */}
{/* Swiggy Logo inside notification */}
Swiggy
{/* Content */}
Make Your IPL Final Even Better! Missing Haldiram Chole Bhature with Lassi while watching IPL Final
{/* Action Buttons underneath */}
)} {dismissed && ( )}
{/* Bottom Lockscreen controls (Flashlight, Camera, Home Indicator) */}
{/* Flashlight button */} {/* Camera button */}
{/* Swipe Indicator bar */}
onUnlock(false)} className="w-36 h-1 bg-white/60 rounded-full cursor-pointer hover:bg-white/80 transition-colors" >
); }