import { Sun, Moon, Cloud, Trees, Stars, Bird } from 'lucide-react'; import { formatTime, formatDate } from '@/lib/formatters'; const DynamicScene = ({ hour }: { hour: number }) => { if (hour >= 5 && hour < 11) { return (
); } if (hour >= 11 && hour < 15) { return (
); } if (hour >= 15 && hour < 19) { return (
); } return (
); }; export interface WelcomeCardProps { user: { name: string }; time: Date; theme: { class: string; decoration: string; text: string; subtext: string; greeting: string; }; } export function WelcomeCard({ user, time, theme }: WelcomeCardProps) { const hour = time.getHours(); return (
{/* Decorative Elements */}

{theme.greeting}, {user.name}!

Senang melihat Anda kembali. Berikut adalah ringkasan bisnis Anda hari ini.

{formatTime(time)}
{formatDate(time)}
); }