Files
avbeat-com/src/app/news/page.tsx

24 lines
801 B
TypeScript

import type { Metadata } from "next";
import { Suspense } from "react";
import NewsPageClient from "./NewsPageClient";
import { getLegacyArticlesBySection } from "@/lib/articles/legacy-source";
export const revalidate = 1800;
export const metadata: Metadata = {
title: "Industry News — Broadcast Beat",
description:
"Breaking news and industry updates from the world of broadcast engineering, IP/cloud workflows, streaming, AI, and live production.",
alternates: { canonical: "/news" },
};
export default async function NewsPage() {
const articles = await getLegacyArticlesBySection("news", 200);
// Suspense boundary required because NewsPageClient uses useSearchParams.
return (
<Suspense fallback={null}>
<NewsPageClient articles={articles} />
</Suspense>
);
}