From e30fe602770a4de99c93c81aeed0bf535bb4982f Mon Sep 17 00:00:00 2001 From: tone Date: Mon, 15 Dec 2025 14:38:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96footer=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/components/Footer.tsx | 66 +++++++++++++++-------------- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/apps/frontend/components/Footer.tsx b/apps/frontend/components/Footer.tsx index 9c9d22f..c670e9d 100644 --- a/apps/frontend/components/Footer.tsx +++ b/apps/frontend/components/Footer.tsx @@ -1,47 +1,51 @@ -"use client"; - import { Popover, PopoverContent, PopoverTrigger, } from "@/components/ui/popover"; -import { Button } from "@/components/ui/button"; -import { toast } from "sonner"; +import { Mail } from "lucide-react"; +import { Button } from "./ui/button"; -async function handleCopy(text: string) { - try { - await navigator.clipboard.writeText(text); - toast.success("复制成功"); - } catch (error) { - if (error instanceof Error) { - toast.error(`复制失败 ${error.message}`); - } - } -} +const EMAIL = "tonesc.cn@gmail.com"; export default function Footer() { return ( -