diff --git a/app/components/untils/Carousel.tsx b/app/components/untils/Carousel.tsx index e9eff99..6f8ea42 100755 --- a/app/components/untils/Carousel.tsx +++ b/app/components/untils/Carousel.tsx @@ -31,7 +31,7 @@ export function CarouselDemo() { }, [api]); return ( -
+
- + {Array.from({ length: totalSlides }).map((_, index) => ( - +
- - {index + 1} + +
+
+ +
+
diff --git a/app/routes/news.tsx b/app/routes/news.tsx index 15dc361..973aa4a 100755 --- a/app/routes/news.tsx +++ b/app/routes/news.tsx @@ -2,6 +2,7 @@ import { CarouselDemo } from "@/components/untils/Carousel"; import type { Route } from "./+types/news"; import { Header } from "@/components/header/Header"; import { TopNav } from "@/components/header/TopNav"; +import NewsList from "@/components/list/NewsList"; export function meta( ) { @@ -17,6 +18,7 @@ export default function Home() {
+
); }