-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 项目迁移到 https://github.com/Yue-plus/astro-arknights
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
import Header from "@/app/_components/Header"; | ||
import React, {useState} from "react"; | ||
import {Menu} from "@/app/_components/NavMenu"; | ||
import ToolBox from "@/app/_components/ToolBox"; | ||
import PersonInfo from "@/app/_components/PersonInfo"; | ||
|
||
export default function DocsPage() { | ||
const viewIndex = 1 | ||
const navMenuState = useState(false) | ||
const socialToolState = useState(false) | ||
const personInfoState = useState(false) | ||
|
||
return <div className="relative w-full h-full m-auto max-w-[180rem]"> | ||
<Header {...{viewIndex, navMenuState, socialToolState, personInfoState}} /> | ||
<main id="main" className="w-full h-full relative select-none"> | ||
{/* TODO: 渲染 Markdown 文档 */} | ||
</main> | ||
<Menu state={navMenuState} {...{viewIndex}}/> | ||
<ToolBox state={socialToolState}/> | ||
<PersonInfo state={personInfoState}/> | ||
</div> | ||
} |