File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ This project adheres to [Semantic Versioning](https://semver.org/).
66
77---
88
9+ ## v1.2.0 — 2026-03-30
10+
11+ ### ✨ Features
12+ - feat: add Gists navigation links to HomeLeftSidebar and AuthenticatedUserMenu (753074b)
13+
14+ ---
15+
916## v1.1.0 — 2026-03-29
1017
1118### ✨ Features
Original file line number Diff line number Diff line change 11{
22 "name" : " techdiary.dev-next" ,
3- "version" : " 1.1 .0" ,
3+ "version" : " 1.2 .0" ,
44 "private" : true ,
55 "scripts" : {
66 "dev" : " next dev --turbo" ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414 PlusIcon ,
1515 UserIcon ,
1616 HashIcon ,
17+ CodeIcon ,
1718} from "lucide-react" ;
1819import Link from "next/link" ;
1920
@@ -53,6 +54,7 @@ const Sidebar = () => {
5354 { /* Section 1 — Primary navigation */ }
5455 < div className = "flex flex-col gap-1" >
5556 < NavLink href = "/" icon = { < HomeIcon size = { 17 } /> } label = { _t ( "Home" ) } />
57+ < NavLink href = "/gists" icon = { < CodeIcon size = { 17 } /> } label = { _t ( "Gists" ) } />
5658 < Link
5759 href = "/dashboard/articles/new"
5860 className = "flex items-center gap-2.5 mt-1 px-2 py-1.5 rounded-md bg-primary text-primary-foreground text-sm font-medium hover:opacity-90 transition-opacity"
@@ -78,6 +80,11 @@ const Sidebar = () => {
7880 icon = { < PlusIcon size = { 17 } /> }
7981 label = { _t ( "My Articles" ) }
8082 />
83+ < NavLink
84+ href = { `/@${ session ! . user ! . username } /gists` }
85+ icon = { < CodeIcon size = { 17 } /> }
86+ label = { _t ( "My Gists" ) }
87+ />
8188 < NavLink
8289 href = "/dashboard/bookmarks"
8390 icon = { < BookmarkIcon size = { 17 } /> }
Original file line number Diff line number Diff line change @@ -53,6 +53,14 @@ const AuthenticatedUserMenu = () => {
5353 { _t ( "Dashboard" ) }
5454 </ Link >
5555 </ DropdownMenuItem >
56+ < DropdownMenuItem asChild >
57+ < Link
58+ className = "text-foreground cursor-pointer block"
59+ href = { `/@${ authSession ?. user ?. username } /gists` }
60+ >
61+ { _t ( "My Gists" ) }
62+ </ Link >
63+ </ DropdownMenuItem >
5664 < DropdownMenuItem asChild >
5765 < Link
5866 className = "text-foreground cursor-pointer"
Original file line number Diff line number Diff line change @@ -20,12 +20,7 @@ const Navbar: React.FC<NavbarProps> = ({ Trailing }) => {
2020 Techdiary
2121 </ span >
2222 </ Link >
23- < Link
24- href = "/gists"
25- className = "text-sm text-muted-foreground hover:text-foreground px-2"
26- >
27- Gists
28- </ Link >
23+
2924 </ div >
3025 < SearchInput />
3126 < NavbarActions />
You can’t perform that action at this time.
0 commit comments