WIP PWA for Grain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add search button to bottom nav

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+14
+14
src/components/organisms/grain-bottom-nav.js
··· 91 91 return this._user?.handle && window.location.pathname === `/profile/${this._user.handle}`; 92 92 } 93 93 94 + get #isExplore() { 95 + return window.location.pathname === '/explore'; 96 + } 97 + 94 98 #handleHome() { 95 99 router.push('/'); 96 100 } ··· 99 103 if (this._user?.handle) { 100 104 router.push(`/profile/${this._user.handle}`); 101 105 } 106 + } 107 + 108 + #handleExplore() { 109 + router.push('/explore'); 102 110 } 103 111 104 112 #handleCreate() { ··· 136 144 @click=${this.#handleHome} 137 145 > 138 146 <grain-icon name=${this.#isHome ? 'home' : 'homeLine'} size="20"></grain-icon> 147 + </button> 148 + <button 149 + class=${this.#isExplore ? 'active' : ''} 150 + @click=${this.#handleExplore} 151 + > 152 + <grain-icon name=${this.#isExplore ? 'search' : 'searchLine'} size="20"></grain-icon> 139 153 </button> 140 154 ${this._user ? html` 141 155 <button