This commit is contained in:
2025-06-22 14:30:37 +02:00
parent 15afa15794
commit 309b5a47df
7 changed files with 306 additions and 42 deletions

View File

@@ -22,6 +22,7 @@ interface Folder {
name: string;
path: string;
children: (Folder | Post)[];
emoji?: string;
}
type Node = Folder | Post;
@@ -210,7 +211,7 @@ export default function Home() {
className="sm:border sm:border-gray-200 sm:rounded-lg p-4 sm:p-6 bg-gray-50 cursor-pointer hover:bg-gray-100 transition-colors"
onClick={() => setCurrentPath([...currentPath, folder.name])}
>
<span className="font-semibold text-base sm:text-lg">📁 {folder.name}</span>
<span className="font-semibold text-base sm:text-lg">{folder.emoji || '📁'} {folder.name}</span>
</div>
))}