diff --git a/frontend/src/images/max.svg b/frontend/src/images/max.svg
new file mode 100644
index 0000000..dece7a9
--- /dev/null
+++ b/frontend/src/images/max.svg
@@ -0,0 +1,3 @@
+
diff --git a/frontend/src/images/telegram.svg b/frontend/src/images/telegram.svg
new file mode 100644
index 0000000..df0915f
--- /dev/null
+++ b/frontend/src/images/telegram.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/frontend/src/pages/download-app/DownloadAppPage.tsx b/frontend/src/pages/download-app/DownloadAppPage.tsx
index 4598ba4..54944af 100644
--- a/frontend/src/pages/download-app/DownloadAppPage.tsx
+++ b/frontend/src/pages/download-app/DownloadAppPage.tsx
@@ -11,7 +11,7 @@ export default function DownloadAppPage() {
вам нужно скачать приложение мессенджера.
-
+ Скачать на GitHub
diff --git a/frontend/src/pages/home/HomePage.tsx b/frontend/src/pages/home/HomePage.tsx
index c4dff51..58658bc 100644
--- a/frontend/src/pages/home/HomePage.tsx
+++ b/frontend/src/pages/home/HomePage.tsx
@@ -1,21 +1,27 @@
-import { useNavigate } from "react-router-dom";
+import { Link, useNavigate } from "react-router-dom";
import { useUserStore } from "@/state/user";
import styles from "./home.module.scss";
import useDownloadAppScreen from "@/core/hooks/useDownloadAppScreen";
import { MaterialButton, MaterialIcon } from "@/utils/material";
import generalChatScreenshot from "../../images/screenshots/general-chat.png";
import dmScreenshot from "../../images/screenshots/dm.png";
+import telegramIcon from "../../images/telegram.svg";
+import maxIcon from "../../images/max.svg";
import type { ReactNode } from "react";
-function GitHubLink({ children }: { children: React.ReactNode }) {
+const GITHUB_WEB = "https://github.com/fromchat-messenger/web";
+const GITHUB_APP = "https://github.com/fromchat-messenger/app";
+const GITHUB_LICENSE = `${GITHUB_WEB}/blob/main/LICENSE`;
+
+function GitHubLink({ children, className }: { children: React.ReactNode; className?: string }) {
return (
- {children}
+ {children}
);
}
-function SupportLink({ children }: { children: React.ReactNode }) {
+function SupportLink({ children, className }: { children: React.ReactNode; className?: string }) {
return (
- {children}
+ {children}
);
}
@@ -99,7 +105,9 @@ export default function HomePage() {
FromChat
-
100% бесплатный и открытый мессенджер. Поддерживает self-hosted установку на своем сервере.
+
+ 100% бесплатный и открытый мессенджер. Поддерживает self-hosted установку на своём сервере.
+
navigate("/auth?mode=login")} icon="devices">Открыть веб-версию navigate("/download-app")} icon="download">Скачать приложение
@@ -112,12 +120,12 @@ export default function HomePage() {
screenshot={generalChatScreenshot}
right
>
- Общайтесь со всеми пользователями этого сервера FromChat.
+ Открытый форум для всех пользователей сервера. Пишите сообщения, делитесь файлами и общайтесь в реальном времени.
Личные сообщения>}
screenshot={dmScreenshot}>
- Общайтесь с одним человеком.
+ Общайтесь с одним человеком в личной переписке.
@@ -126,31 +134,65 @@ export default function HomePage() {
Скачайте приложение
- Для лучшего опыта используйте настольное приложение с поддержкой
- уведомлений и автономной работы.
+ Для лучшего опыта используйте настольное приложение с уведомлениями
+ и автономной работой или мобильное приложение для Android.
@@ -162,7 +204,8 @@ export default function HomePage() {
Готовы начать общение?
- Присоединяйтесь к FromChat и общайтесь безопасно с друзьями и коллегами.
+ Создайте аккаунт за минуту. Общайтесь в общем чате, ведите личную переписку
+ или звоните — всё бесплатно и с открытым кодом.