From f4802f16e86fc6e2c936b0f702aef6130f091e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toprak=20Ko=C3=A7?= Date: Wed, 21 Aug 2024 12:42:42 +0300 Subject: [PATCH] Added summer sale banner --- components/news/newssection.js | 4 ++-- data/news.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/news/newssection.js b/components/news/newssection.js index d244a43f6a..d6068c043d 100644 --- a/components/news/newssection.js +++ b/components/news/newssection.js @@ -14,12 +14,12 @@ export default function NewsSection() { const item = JSON.parse(itemString); if (!item.hiddenNews || item.hiddenNews !== News.id) { - // showNews(News); + showNews(News); } else { hideNews(); } } else { - // showNews(News); + showNews(News); } }); diff --git a/data/news.json b/data/news.json index d75534541a..e063d5f26d 100644 --- a/data/news.json +++ b/data/news.json @@ -1,6 +1,6 @@ { - "id": 48, - "content": "Sakai | Free Admin Template.", - "linkText": "Learn More", - "linkHref": "https://sakai.primereact.org" + "id": 49, + "content": "Summer Sale: Up to 50% Off 🛍️", + "linkText": "Visit Store", + "linkHref": "https://primefaces.org/store/" }