Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Yue-plus committed Jul 30, 2024
1 parent 68ef593 commit 18f51aa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# nextjs-starter-arknights

**The project is under development... / 项目开发中……**
**~~The project is under development... / 项目开发中……~~**

**Project migration to: / 项目迁移到:**
**[astro-arknights](https://github.com/Yue-plus/astro-arknights)**

[Live Demo / 在线演示](https://yue-plus.github.io/nextjs-starter-arknights/)

Arknights Next.js Theme Template Starter

Expand Down
23 changes: 23 additions & 0 deletions app/docs/page.tsx
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>
}

0 comments on commit 18f51aa

Please sign in to comment.