import { NewsCard } from "@/components/news-card"; import { getPages } from "@/lib/pages/repository"; import { ArrowRightIcon } from "lucide-react"; import Link from "next/link"; export default async function Home() { const news = await getPages("NEWS", "PUBLISHED", 5); return (

Welcome to the European Federation!

Become a citizen

Learn more about the President

Acknowledge with the Federal Government

Regions of the Federation

Receive consular services abroad

Become a citizen

Learn more about the President

Acknowledge with the Federal Government

Regions of the Federation

Receive consular services abroad

Recent news

{ news.length > 0 ? news.map((n) => ( )) :

There are no news yet...

}

See all news

); }