fixed build errors

This commit is contained in:
Emre
2025-10-28 19:47:55 +03:00
parent 3c9823bf80
commit 6d6cbd115a
7 changed files with 14 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
import type { ReactNode } from "react";
import { Button } from "@/components/ui/button";
import { ArrowRightIcon } from "@radix-ui/react-icons";
import { ArrowRight } from "lucide-react";
import { cn } from "@/lib/utils";
const BentoGrid = ({
@@ -64,12 +63,13 @@ const BentoCard = ({
"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100",
)}
>
<Button variant="ghost" asChild size="sm" className="pointer-events-auto">
<a href={href}>
{cta}
<ArrowRightIcon className="ml-2 h-4 w-4" />
</a>
</Button>
<a
href={href}
className="pointer-events-auto inline-flex items-center gap-2 text-sm font-medium text-neutral-600 transition-colors hover:text-sky-700"
>
{cta}
<ArrowRight className="h-4 w-4" />
</a>
</div>
</div>
);

View File

@@ -34,7 +34,7 @@ export function Dropdown({ buttonContent, items }: DropdownProps) {
<div className="py-1">
{items.map((item) => (
<Menu.Item key={item.href}>
{({ active }) => (
{({ active }: { active: boolean }) => (
<Link
to={item.href}
className={`