feat: implement basic layout of landing page

This commit is contained in:
Li Xin
2025-04-28 10:07:36 +08:00
parent 899438eca0
commit 08de9e0cab
14 changed files with 737 additions and 30 deletions

View File

@@ -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>
);
}