// use crate::components::DaisyExample;
use leptos::prelude::*;

#[component]
pub fn DaisyUIPage() -> impl IntoView {
    eprintln!("DaisyUIPage rendering");
    view! {
        <div class="min-h-screen bg-base-200">
            <div class="hero bg-base-100 py-8">
                <div class="hero-content text-center">
                    <div class="max-w-md">
                        <h1 class="text-5xl font-bold text-primary">"DaisyUI + UnoCSS"</h1>
                        <p class="py-6 text-lg">"Beautiful UI components powered by DaisyUI preset for UnoCSS"</p>
                        <div class="flex justify-center gap-2">
                            <div class="badge badge-primary">"UnoCSS"</div>
                            <div class="badge badge-secondary">"DaisyUI"</div>
                            <div class="badge badge-accent">"Leptos"</div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="container mx-auto px-4 py-8">
                <div class="text-center">
                    <h2 class="text-2xl font-bold mb-4">"DaisyUI Examples"</h2>
                    <p>"This section will show DaisyUI components."</p>
                </div>
            </div>
        </div>
    }
}
