feat(tv): migrate login to white design with navigation modals

This commit is contained in:
Fredrik Burmester
2026-01-29 12:12:20 +01:00
parent 80136f1800
commit 2c0a9b6cd9
18 changed files with 757 additions and 438 deletions

View File

@@ -0,0 +1,14 @@
import { atom } from "jotai";
import type {
SavedServer,
SavedServerAccount,
} from "@/utils/secureCredentials";
export type TVAccountSelectModalState = {
server: SavedServer;
onAccountSelect: (account: SavedServerAccount) => void;
onAddAccount: () => void;
onDeleteAccount: (account: SavedServerAccount) => void;
} | null;
export const tvAccountSelectModalAtom = atom<TVAccountSelectModalState>(null);

View File

@@ -0,0 +1,10 @@
import { atom } from "jotai";
import type { SavedServer } from "@/utils/secureCredentials";
export type TVServerActionModalState = {
server: SavedServer;
onLogin: () => void;
onDelete: () => void;
} | null;
export const tvServerActionModalAtom = atom<TVServerActionModalState>(null);