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
|
2025-04-20 22:30:00 +08:00
|
|
|
className="opacity-70 transition-opacity duration-300 hover:opacity-100"
|
2025-04-17 12:02:23 +08:00
|
|
|
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>
|
|
|
|
|
);
|
|
|
|
|
}
|