WIP PWA for Grain
0
fork

Configure Feed

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

feat: add legal page links to settings

+21
+21
src/components/pages/grain-settings.js
··· 120 120 router.push('/'); 121 121 } 122 122 123 + #goToTerms() { 124 + router.push('/settings/terms'); 125 + } 126 + 127 + #goToPrivacy() { 128 + router.push('/settings/privacy'); 129 + } 130 + 131 + #goToCopyright() { 132 + router.push('/settings/copyright'); 133 + } 134 + 123 135 render() { 124 136 return html` 125 137 <div class="header"> ··· 148 160 <button class="settings-row" @click=${this.#signOut}> 149 161 <grain-icon name="logout" size="18"></grain-icon> 150 162 Sign Out 163 + </button> 164 + <button class="settings-row" @click=${this.#goToTerms}> 165 + Terms 166 + </button> 167 + <button class="settings-row" @click=${this.#goToPrivacy}> 168 + Privacy 169 + </button> 170 + <button class="settings-row" @click=${this.#goToCopyright}> 171 + Copyright 151 172 </button> 152 173 </div> 153 174 `;