feat: enhance NewsPage layout with banner image and improved styling

This commit is contained in:
Ardeman 2025-02-01 07:14:55 +08:00
parent 138fae69fc
commit 25f4fd85a6
2 changed files with 10 additions and 1 deletions

View File

@ -10,7 +10,16 @@ export const NewsPage: FC<PropsWithChildren> = ({ children }) => {
<HeaderTop />
<HeaderMenu />
</header>
<div className="mx-auto grid w-full max-w-[1340px] gap-y-[25px] bg-[#ECECEC] px-[50px] pt-[25px]">
<img
src="/images/banner.png"
alt="banner"
className="h-[100px] w-full object-contain"
/>
<div className="border-[.2px] border-black bg-white p-[30px]">
{children}
</div>
</div>
</main>
)
}

BIN
public/images/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB