123
This commit is contained in:
@@ -60,7 +60,11 @@ export function Sidebar({ sidebarData, currentSlug }: SidebarProps) {
|
||||
onClick={() => toggleSection(item.slug)}
|
||||
>
|
||||
{item.title}
|
||||
<span className={`sidebar-section-arrow ${isOpen ? 'open' : ''}`}>▶</span>
|
||||
<span className={`sidebar-section-arrow ${isOpen ? 'open' : ''}`}>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
||||
<path d="m9 18 6-6-6-6" />
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
{isOpen && (
|
||||
<div className="sidebar-section-children">
|
||||
|
||||
Reference in New Issue
Block a user