refactor: migrate to rsc and app dir
This commit is contained in:
11
components/SectionContainer.tsx
Normal file
11
components/SectionContainer.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ReactNode } from 'react'
|
||||
|
||||
interface Props {
|
||||
children: ReactNode
|
||||
}
|
||||
|
||||
export default function SectionContainer({ children }: Props) {
|
||||
return (
|
||||
<section className="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0">{children}</section>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user