use leptos::prelude::*;
use crate::components::layout::PageContent;
use crate::components::reviews_list::ReviewsList;

#[component]
pub fn ReviewsPage() -> impl IntoView {
    view! {
        <PageContent>
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" id="reviews-content">
                <ReviewsList 
                    class="w-full"
                    id="main-reviews-list"
                />
            </div>
        </PageContent>
    }
}