Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 8e3e4f9

Browse files
author
Manuel Proß
committed
feat(web): replace placeholder heading with real heading from strapi page builder
1 parent a4f0317 commit 8e3e4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/components/Strapi/Sections/NewsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function NewsSection({ news }: NewsSectionProps) {
2323

2424
return (
2525
<div className="grid rounded py-6 bg-gray-4 drop-shadow">
26-
<h3 className="h3-prefix pl-16">News</h3>
26+
<h3 className="h3-prefix pl-16">{news.headline}</h3>
2727
<Swiper modules={[Navigation, A11y]} slidesPerView={1} navigation onActiveIndexChange={swiper => setCurrentIndex(swiper.realIndex + 1)}>
2828
{news.data.map(newsEntry => {
2929
return (

0 commit comments

Comments
 (0)