Bookmarks in web app (#177)
* Bookmarks api * Lint fix * first pass * Lint fix * comment * bookmarks, loading feedSources, and pagination * comment * null check --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
58ce2d6396
commit
57fa1c5c3f
23 files changed
+510
-192
No files matched your search
@@ -3,6 +3,8 @@
|
||||
import InfoIcon from "../assets/info-icon.svg.svelte";
|
||||
import SearchIcon from "../assets/search-icon.svg.svelte";
|
||||
import SettingsIcon from "../assets/settings-icon.svg.svelte";
|
||||
import BookmarksIcon from "../assets/star-icon.svg.svelte";
|
||||
|
||||
import { appStateStore } from "lib/Stores";
|
||||
import type { AppState } from "lib/Types";
|
||||
|
||||
@@ -37,6 +39,14 @@
|
||||
<HomeIcon />
|
||||
</div>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("bookmarks")}
|
||||
class={$appStateStore.screen === "bookmarks" ? "active" : ""}
|
||||
>
|
||||
<div class="h-6">
|
||||
<BookmarksIcon />
|
||||
</div>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("settings")}
|
||||
class={$appStateStore.screen === "settings" ? "active" : ""}
|
||||
|
||||
Reference in new issue
Block a user