Files
deer-flow/web/src/app/_components/logo.tsx

26 lines
680 B
TypeScript
Raw Normal View History

2025-04-17 14:26:41 +08:00
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
// SPDX-License-Identifier: MIT
2025-04-17 12:02:23 +08:00
import { useState } from "react";
import { Markdown } from "./markdown";
export function Logo() {
2025-04-17 16:38:35 +08:00
const [text, setText] = useState("🦌 DeerFlow");
2025-04-17 12:02:23 +08:00
return (
<a
className="text-sm opacity-70 transition-opacity duration-300 hover:opacity-100"
target="_blank"
2025-04-17 16:38:35 +08:00
href="https://github.com/bytedance/deer-flow"
2025-04-17 12:02:23 +08:00
onMouseEnter={() =>
2025-04-17 16:38:35 +08:00
setText(
"🦌 **D**eep **E**xploration and **E**fficient **R**esearch Flow",
)
2025-04-17 12:02:23 +08:00
}
2025-04-17 16:38:35 +08:00
onMouseLeave={() => setText("🦌 DeerFlow")}
2025-04-17 12:02:23 +08:00
>
<Markdown animate>{text}</Markdown>
</a>
);
}