End to end encrypted attachment upload and streaming
This commit is contained in:
parent
575e9e2010
commit
64ad8498f5
74 changed files with 2368 additions and 151 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { createSignal, type Component, type JSXElement } from "solid-js";
|
||||
import { ISettingsModalViewProps } from "./types";
|
||||
import SettingsServersPage from "./pages/SettingsServersPage/SettingsServersPage";
|
||||
import SettingsProfilePage from "./pages/SettingsProfilePage/SettingsProfilePage";
|
||||
import SettingsCommunitiesPage from "./pages/SettingsCommunitiesPage/SettingsCommunitiesPage";
|
||||
import SettingsSessionPage from "./pages/SettingsSessionsPage/SettingsSessionsPage";
|
||||
import { SettingsItem } from "../../components/SettingsItem";
|
||||
import { Dynamic } from "solid-js/web";
|
||||
|
|
@ -13,8 +14,9 @@ const SettingsModalView: Component<ISettingsModalViewProps> = (
|
|||
);
|
||||
|
||||
const pages = new Map<string, Component>([
|
||||
["Servers", SettingsServersPage],
|
||||
["Profile", SettingsProfilePage],
|
||||
["Sessions", SettingsSessionPage],
|
||||
["Communities", SettingsCommunitiesPage],
|
||||
]);
|
||||
|
||||
const getCurrentPage = (): JSXElement => {
|
||||
|
|
@ -42,7 +44,7 @@ const SettingsModalView: Component<ISettingsModalViewProps> = (
|
|||
ref={props.dialogRef}
|
||||
class="modal outline-none bg-[#00000050]"
|
||||
>
|
||||
<div class="modal-box w-10/12 max-w-5xl h-8/12 bg-stone-950 rounded-3xl">
|
||||
<div class="modal-box w-10/12 max-w-5xl h-11/12 2xl:h-9/12 bg-stone-950 rounded-3xl">
|
||||
<h3 class="text-lg font-bold text-center">Settings</h3>
|
||||
<div class="divider"></div>
|
||||
<div class="flex flex-row gap-4 px-4">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue