diff --git a/src/components/magicui/bento-grid.tsx b/src/components/magicui/bento-grid.tsx index bf18ebe..1a207ea 100644 --- a/src/components/magicui/bento-grid.tsx +++ b/src/components/magicui/bento-grid.tsx @@ -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", )} > - + + {cta} + + ); diff --git a/src/components/ui/Dropdown.tsx b/src/components/ui/Dropdown.tsx index de59db1..20e3f89 100644 --- a/src/components/ui/Dropdown.tsx +++ b/src/components/ui/Dropdown.tsx @@ -34,7 +34,7 @@ export function Dropdown({ buttonContent, items }: DropdownProps) {
{items.map((item) => ( - {({ active }) => ( + {({ active }: { active: boolean }) => ( ( diff --git a/vite.config.ts b/vite.config.ts index 3c5c58e..8d32a5f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,6 +5,9 @@ import path from 'node:path' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + server: { + allowedHosts: ['stale-adults-strive.loca.lt'], + }, resolve: { alias: { '@': path.resolve(__dirname, './src'),