'use client' import { useState } from 'react' import { Button } from '@/components/shared/Button' const categories = [ 'All Posts', 'Product Updates', 'Tutorials', 'Company News', 'Industry Insights', 'Case Studies', ] export function BlogLayout({ children }: { children: React.ReactNode }) { const [email, setEmail] = useState('') return (
{/* Main content */}
{children}
{/* Sidebar */}
{/* Categories */}

Categories

{/* Newsletter signup */}

Subscribe to our newsletter

Get the latest updates and insights delivered to your inbox

{ e.preventDefault() // Handle newsletter signup }} > setEmail(e.target.value)} placeholder="Enter your email" className="w-full rounded-md border px-3 py-2 text-sm" required />
) }