feat(blog): add /blog routes with dedicated editorial layout
This commit is contained in:
16
app/blog/layout.tsx
Normal file
16
app/blog/layout.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Header } from '@/components/layout/Header'
|
||||
import { Footer } from '@/components/layout/Footer'
|
||||
import { ScrollProgress } from '@/components/ui/ScrollProgress'
|
||||
|
||||
export default function BlogLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<>
|
||||
<ScrollProgress />
|
||||
<Header />
|
||||
<main className="mx-auto max-w-5xl px-6 py-12 sm:py-16">
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user