add the search function to website

This commit is contained in:
PrinOrange
2024-01-06 11:47:18 +08:00
parent acdc77260f
commit 4fdba9d2b9
8 changed files with 1118 additions and 21 deletions

5
types/search-result.ts Normal file
View File

@@ -0,0 +1,5 @@
export type TSearchResultItem = {
id: string;
title: string;
tags: string[] | null;
};