import type { ReactNode } from 'react';
import { BlogLayout } from '../layouts';

export interface BlogTemplateProps {
  header?: ReactNode;
  sidebar?: ReactNode;
  posts: ReactNode;
  footer?: ReactNode;
  sidebarPosition?: 'left' | 'right';
}

export function BlogTemplate({ 
  header, 
  sidebar, 
  posts,
  footer,
  sidebarPosition = 'right'
}: BlogTemplateProps) {
  return (
    <BlogLayout
      header={header}
      sidebar={sidebar}
      mainContent={posts}
      footer={footer}
      sidebarPosition={sidebarPosition}
    />
  );
}

