diff --git a/packages/website/src/components/NewsHeader/NewsHeader.js b/packages/website/src/components/NewsHeader/NewsHeader.js index 5d17cd0f..cdbbffb7 100644 --- a/packages/website/src/components/NewsHeader/NewsHeader.js +++ b/packages/website/src/components/NewsHeader/NewsHeader.js @@ -26,23 +26,19 @@ const NewsHeader = () => { if (!latestNews) return null; // no news - // hardcoded news for now - const CURRENT_NEWS_URL = - "https://blog.sia.tech/mysky-your-home-on-the-global-operating-system-of-the-future-5a288f89825c"; - const CURRENT_NEWS_TXT = "MySky: Your Home on the Global Operating System of the Future"; + const title = latestNews.node.frontmatter.title; + const link = { to: latestNews.node.fields.slug }; return (