15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
|
|
import React, { type FC, type PropsWithChildren } from 'react'
|
||
|
|
|
||
|
|
import { HeaderTop } from './header-top'
|
||
|
|
|
||
|
|
export const NewsPage: FC<PropsWithChildren> = ({ children }) => {
|
||
|
|
return (
|
||
|
|
<main className="min-h-dvh bg-[#ECECEC]">
|
||
|
|
<header>
|
||
|
|
<HeaderTop />
|
||
|
|
</header>
|
||
|
|
{children}
|
||
|
|
</main>
|
||
|
|
)
|
||
|
|
}
|