This commit is contained in:
expdsn 2025-02-18 18:36:06 +08:00
parent 35d61ebd6c
commit e1bf501c13
4 changed files with 9548 additions and 1 deletions

View File

@ -0,0 +1,10 @@
export default function ResultBox() {
return <div className="h-[40vh] w-full px-4">
<div className="font-bold">:</div>
<div className="pl-2 border-l-blue-400 border-0 border-l-2 my-2"></div>
<div className="w-full grid grid-rows-6">
</div>
</div>
}

View File

@ -1,5 +1,9 @@
import Search from "@/app/_ui/Search";
import ResultBox from "./ResultBox";
export default function Page() {
return <div>
home
<Search></Search>
<ResultBox />
</div>
}

View File

@ -0,0 +1,18 @@
"use server"
import { ArticleType } from "../data/article"
import { Link } from "../data/link"
export type SiteSearchType = {
articles: ArticleType[];
articleCount: number;
links: Link[];
linkCount: number;
}
export async function doSearch(wd: string) {
return {
}
}

9515
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff