{children};
}
if (language === "mermaid") {
diff --git a/components/home-hero.tsx b/components/home-hero.tsx
index 135b831..dfc5f36 100644
--- a/components/home-hero.tsx
+++ b/components/home-hero.tsx
@@ -4,9 +4,19 @@ import Image from "next/image";
import { useRef, useState } from "react";
import { Card, Typography } from "poyraz-ui/atoms";
import { NewsCard } from "poyraz-ui/molecules";
-import { HOME_NEWS } from "@/lib/home-news";
-export function HomeHero() {
+type HomeHeroProps = {
+ news: {
+ id: string;
+ category: string;
+ title: string;
+ date: string;
+ image: string;
+ href: string;
+ }[];
+};
+
+export function HomeHero({ news }: HomeHeroProps) {
const [frame, setFrame] = useState<1 | 2>(1);
const intervalRef = useRef