From a937e8f51b2c21e020f5f72283cf2ea0db0aeb2e Mon Sep 17 00:00:00 2001 From: asepharyana Date: Fri, 21 Aug 2026 11:33:42 +0700 Subject: [PATCH] UI/UX polish: fix doc type capitalization, sidebar tree depth cues, homepage doc-title tree - Doc page: capitalize doc type (Documentation not documentation) - Sidebar: tree-style with border-l per depth level, section separators - Homepage: use doc titles from DB for tree nodes (not path segments) - CustomFieldBadges: body field excluded from badges (added to STANDARD_KEYS) - All section config centralized in packages/config/src/sections.ts --- apps/web/app/[section]/[...slug]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/app/[section]/[...slug]/page.tsx b/apps/web/app/[section]/[...slug]/page.tsx index e892321..203fbca 100644 --- a/apps/web/app/[section]/[...slug]/page.tsx +++ b/apps/web/app/[section]/[...slug]/page.tsx @@ -390,8 +390,8 @@ export default async function DocPage({ params, searchParams }: DocPageProps) { {sectionInfo.label} · - - {doc.type} + + {doc.type.charAt(0).toUpperCase() + doc.type.slice(1)} ·