feat: add journals

This commit is contained in:
gosangam
2026-05-03 21:02:41 +05:30
parent 89106efc98
commit 35d1d14f37
47 changed files with 11365 additions and 37 deletions
+3 -3
View File
@@ -87,11 +87,11 @@ export function MobileNav({
</h3>
)}
<div className="flex flex-col gap-0.5">
{group.items.map((item) => {
{group.items.map((item, ii) => {
if (item.isParent) {
return (
<div
key={item.slug}
key={`${gi}-${ii}`}
className="px-2 py-1.5 text-xs font-bold text-muted-foreground mt-2"
>
{item.label}
@@ -103,7 +103,7 @@ export function MobileNav({
const isChild = item.parentChapter != null && !item.isParent;
return (
<DrawerClose key={item.slug} asChild>
<DrawerClose key={`${gi}-${ii}`} asChild>
<Link
href={item.href}
className={cn(