"use client" import { Button } from "@/components/ui/button" import { Mail } from "lucide-react" import { useRouter } from "next/navigation" import { useTranslations, useLocale } from "next-intl" import { SignButton } from "../auth/sign-button" interface ActionButtonProps { isLoggedIn?: boolean } export function ActionButton({ isLoggedIn }: ActionButtonProps) { const router = useRouter() const locale = useLocale() const t = useTranslations("home") if (isLoggedIn) { return ( ) } return }