import NewsDetailsContent from "./NewsDetailsContent";
import Sidebar from "@/app/blog/components/Sidebar";
import type { BlogPost } from "@/types/blog";

interface NewsDetailsSectionProps {
    post: BlogPost;
}

export default function NewsDetailsSection({ post }: NewsDetailsSectionProps) {
    return (
        <section className="news-standard-section section-padding fix">
            <div className="container">
                <div className="news-details-wrapper">
                    <div className="row g-4">
                        <NewsDetailsContent post={post} />
                        <Sidebar />
                    </div>
                </div>
            </div>
        </section>
    );
}
