mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 21:04:45 +08:00
feat: implement basic layout of landing page
This commit is contained in:
@@ -1,25 +1,14 @@
|
||||
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import { useState } from "react";
|
||||
|
||||
import { Markdown } from "./markdown";
|
||||
|
||||
export function Logo() {
|
||||
const [text, setText] = useState("🦌 DeerFlow");
|
||||
return (
|
||||
<a
|
||||
className="opacity-70 transition-opacity duration-300 hover:opacity-100"
|
||||
target="_blank"
|
||||
href="https://github.com/bytedance/deer-flow"
|
||||
onMouseEnter={() =>
|
||||
setText(
|
||||
"🦌 **D**eep **E**xploration and **E**fficient **R**esearch Flow",
|
||||
)
|
||||
}
|
||||
onMouseLeave={() => setText("🦌 DeerFlow")}
|
||||
>
|
||||
<Markdown animate>{text}</Markdown>
|
||||
🦌 DeerFlow
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user