diff --git a/src/View/Modals/legalModal.tsx b/src/View/Modals/legalModal.tsx
new file mode 100644
index 00000000..81fd2b3f
--- /dev/null
+++ b/src/View/Modals/legalModal.tsx
@@ -0,0 +1,87 @@
+import { SplitModal } from "./splitModal";
+import { languageNames } from "../translations";
+import { CommonKeys, getKeySymbol } from "../keystrokes";
+import { PlaceholderView } from "../Components/placeholderView";
+import { OptionButtonList } from "../Components/optionButtonList";
+import { NavigationButton } from "../Components/navigationButton";
+import { InfoTile } from "../Components/infoTile";
+import * as React from "../../react";
+import SettingsViewModel, {
+ SettingsModalPages,
+} from "../../ViewModel/Global/settingsViewModel";
+import CoreViewModel from "../../ViewModel/Global/coreViewModel";
+import { Languages, ThemeSettings } from "../../Model/Global/settingsModel";
+import HomeViewModel from "../../ViewModel/Pages/homeViewModel";
+
+export function LegalModal(
+ coreViewModel: CoreViewModel,
+ homeViewModel: HomeViewModel,
+) {
+ return (
+
+
+
+ {coreViewModel.translations.legal.legalHeadline}
+ {coreViewModel.translations.legal.legalDescription}
+
+
+
+
privacy_tip
+
+ {coreViewModel.translations.legal.privacyLabel}
+ {coreViewModel.translations.legal.privacyDescription}
+
+
+
+
cell_tower
+
+ {coreViewModel.translations.legal.udnLabel}
+ {coreViewModel.translations.legal.udnDescription}
+
+
+
+
balance
+
+ {coreViewModel.translations.legal.rightsLabel}
+ {coreViewModel.translations.legal.rightsDescription}
+
+
+
+
+
+
+
+
+
+
+ );
+}
diff --git a/src/View/homePage.tsx b/src/View/homePage.tsx
index d6a8a96b..dca5384a 100644
--- a/src/View/homePage.tsx
+++ b/src/View/homePage.tsx
@@ -10,9 +10,11 @@ import FileTransferViewModel from "../ViewModel/Global/fileTransferViewModel";
import CoreViewModel from "../ViewModel/Global/coreViewModel";
import ConnectionViewModel from "../ViewModel/Global/connectionViewModel";
import ChatListViewModel from "../ViewModel/Chat/chatListViewModel";
+import HomeViewModel from "../ViewModel/Pages/homeViewModel";
export function HomePage(
coreViewModel: CoreViewModel,
+ homeViewModel: HomeViewModel,
storageViewModel: StorageViewModel,
settingsViewModel: SettingsViewModel,
connectionViewModel: ConnectionViewModel,
@@ -119,6 +121,12 @@ export function HomePage(
"hard_drive",
"e",
)}
+ {HomePageButton(
+ homeViewModel.openLegalModal,
+ coreViewModel.translations.homePage.legalButton,
+ "gavel",
+ "i",
+ )}