mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 21:04:45 +08:00
chore: merge with web UI project
This commit is contained in:
20
web/src/app/_components/logo.tsx
Normal file
20
web/src/app/_components/logo.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user