This commit is contained in:
parent
b50f2a5bf6
commit
65e97a3a24
|
|
@ -1,5 +1,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";
|
||||
|
||||
|
||||
export function meta({}: Route.MetaArgs) {
|
||||
|
|
@ -10,5 +12,11 @@ export function meta({}: Route.MetaArgs) {
|
|||
}
|
||||
|
||||
export default function Home() {
|
||||
return <CarouselDemo />;
|
||||
return (
|
||||
<div>
|
||||
<Header />
|
||||
<TopNav />
|
||||
<CarouselDemo />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import useEmblaCarousel, {
|
|||
import { ArrowLeft, ArrowRight } from "lucide-react"
|
||||
|
||||
import { cn } from "@/lib/utils"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { Button } from "@/ui/button"
|
||||
|
||||
type CarouselApi = UseEmblaCarouselType[1]
|
||||
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>
|
||||
|
|
|
|||
Loading…
Reference in New Issue