mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-22 05:34:45 +08:00
21 lines
549 B
TypeScript
21 lines
549 B
TypeScript
|
|
import { useState } from "react";
|
||
|
|
|
||
|
|
import { Markdown } from "./markdown";
|
||
|
|
|
||
|
|
export function Logo() {
|
||
|
|
const [text, setText] = useState("🦌 Deer");
|
||
|
|
return (
|
||
|
|
<a
|
||
|
|
className="text-sm opacity-70 transition-opacity duration-300 hover:opacity-100"
|
||
|
|
target="_blank"
|
||
|
|
href="https://github.com/bytedance/deer"
|
||
|
|
onMouseEnter={() =>
|
||
|
|
setText("🦌 **D**eep **E**xploration and **E**fficient **R**esearch")
|
||
|
|
}
|
||
|
|
onMouseLeave={() => setText("🦌 Deer")}
|
||
|
|
>
|
||
|
|
<Markdown animate>{text}</Markdown>
|
||
|
|
</a>
|
||
|
|
);
|
||
|
|
}
|